Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-12 Thread Jens Axel Søgaard
Hi Marc,

Take a look at:

https://github.com/soegaard/racket-cas

Start with the readme and play with a few examples.

Skim (later parts) of:


https://github.com/soegaard/racket-cas/blob/master/racket-cas/racket-cas.rkt

to see what's implemented.

Any bug reports and comments are welcome.

/Jens Axel



2015-11-12 17:26 GMT+01:00 Marc Kaufmann :

> Since you mention symbolic computations: is there anything that does
> symbolic differentiation in Racket - I know Maxima is written in Common
> Lisp. I would I would be happy with only differentiation and little of the
> other stuff, if only to check my own computations (in economics) as I have
> perform a sign-error in 25% of the cases...
>
> On Tuesday, November 10, 2015 at 10:34:50 PM UTC-5, John Kitchin wrote:
> > Those are great resources! Thanks!
> >
> > Jens Axel Søgaard writes:
> >
> > > A few useful resources:
> > >
> > > Matrices
> > > http://docs.racket-lang.org/math/matrices.html?q=matrix
> > >
> > > GNU Scientific Library
> > >
> > >
> http://planet.racket-lang.org/package-source/wmfarr/mzgsl.plt/3/0/planet-docs/mzgsl/index.html
> > >
> > > Science Collection
> > >
> > >
> http://planet.racket-lang.org/package-source/williams/science.plt/4/8/planet-docs/science/index.html
> > >
> > > Math library
> > > http://docs.racket-lang.org/math/index.html?q=matrix
> > >
> > > Also: If you are looking for concrete algorithms - just ask. Chances
> are
> > > that
> > > someone has a Racket and/or Scheme implementation lying around.
> > >
> > > If you are interested in symbolic computations I have a few ideas.
> > >
> > > /Jens Axel
> > >
> > >
> > > 2015-11-03 2:15 GMT+01:00 John Kitchin:
> > >
> > >> Hi all,
> > >>
> > >> I am exploring whether Racket could be a Lisp replacement for Python
> in
> > >> scientific and engineering calculations. I currently use Python
> extensively
> > >> in teaching chemical engineering courses (
> > >> http://kitchingroup.cheme.cmu.edu/pycse/) and in running molecular
> > >> simulations (http://kitchingroup.cheme.cmu.edu/dft-book/), but I am
> > >> interested in transitioning these to a Lisp.
> > >>
> > >> Why? Because I really like writing Lisp code, and some interesting
> things
> > >> I can do with it. My current experience is all with emacs-lisp, which
> at
> > >> the moment has no hope for replacing Python as it lacks a real ffi.
> > >>
> > >> Python works for scientific/engineering calculations because of
> > >> numpy/scipy/matplotlib which provide the majority of our needs, and
> largely
> > >> they just wrap C/Fortran numerical libraries. It is also distributed
> with
> > >> batteries included that make it trivial to install these days. It
> seems
> > >> like Racket can do this too.
> > >>
> > >> How feasible would it be to use Racket to solve the problems described
> > >> here: http://kitchingroup.cheme.cmu.edu/pycse/pycse.pdf
> > >>
> > >> I am trying to gauge how difficult it would be to start using Racket
> for
> > >> these problems. Does anyone know of any similar kinds of projects as
> my
> > >> Python project above in Racket?
> > >>
> > >> Thanks!
> > >>
> > >> --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "Racket Users" group.
> > >> To unsubscribe from this group and stop receiving emails from it,
> send an
> > >> email to racket-users+unsubscr...@googlegroups.com.
> > >> For more options, visit https://groups.google.com/d/optout.
> > >>
> > >
> > >
> > >
> > > --
> >
> > --
> > Professor John Kitchin
> > Doherty Hall A207F
> > Department of Chemical Engineering
> > Carnegie Mellon University
> > Pittsburgh, PA 15213
> > 412-268-7803
> > @johnkitchin
> > http://kitchingroup.cheme.cmu.edu
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-12 Thread Marc Kaufmann
Since you mention symbolic computations: is there anything that does symbolic 
differentiation in Racket - I know Maxima is written in Common Lisp. I would I 
would be happy with only differentiation and little of the other stuff, if only 
to check my own computations (in economics) as I have perform a sign-error in 
25% of the cases... 

On Tuesday, November 10, 2015 at 10:34:50 PM UTC-5, John Kitchin wrote:
> Those are great resources! Thanks!
> 
> Jens Axel Søgaard writes:
> 
> > A few useful resources:
> >
> > Matrices
> > http://docs.racket-lang.org/math/matrices.html?q=matrix
> >
> > GNU Scientific Library
> >
> > http://planet.racket-lang.org/package-source/wmfarr/mzgsl.plt/3/0/planet-docs/mzgsl/index.html
> >
> > Science Collection
> >
> > http://planet.racket-lang.org/package-source/williams/science.plt/4/8/planet-docs/science/index.html
> >
> > Math library
> > http://docs.racket-lang.org/math/index.html?q=matrix
> >
> > Also: If you are looking for concrete algorithms - just ask. Chances are
> > that
> > someone has a Racket and/or Scheme implementation lying around.
> >
> > If you are interested in symbolic computations I have a few ideas.
> >
> > /Jens Axel
> >
> >
> > 2015-11-03 2:15 GMT+01:00 John Kitchin:
> >
> >> Hi all,
> >>
> >> I am exploring whether Racket could be a Lisp replacement for Python in
> >> scientific and engineering calculations. I currently use Python extensively
> >> in teaching chemical engineering courses (
> >> http://kitchingroup.cheme.cmu.edu/pycse/) and in running molecular
> >> simulations (http://kitchingroup.cheme.cmu.edu/dft-book/), but I am
> >> interested in transitioning these to a Lisp.
> >>
> >> Why? Because I really like writing Lisp code, and some interesting things
> >> I can do with it. My current experience is all with emacs-lisp, which at
> >> the moment has no hope for replacing Python as it lacks a real ffi.
> >>
> >> Python works for scientific/engineering calculations because of
> >> numpy/scipy/matplotlib which provide the majority of our needs, and largely
> >> they just wrap C/Fortran numerical libraries. It is also distributed with
> >> batteries included that make it trivial to install these days. It seems
> >> like Racket can do this too.
> >>
> >> How feasible would it be to use Racket to solve the problems described
> >> here: http://kitchingroup.cheme.cmu.edu/pycse/pycse.pdf
> >>
> >> I am trying to gauge how difficult it would be to start using Racket for
> >> these problems. Does anyone know of any similar kinds of projects as my
> >> Python project above in Racket?
> >>
> >> Thanks!
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Racket Users" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to racket-users+unsubscr...@googlegroups.com.
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >
> >
> >
> > --
> 
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-10 Thread Jens Axel Søgaard
A few useful resources:

Matrices
http://docs.racket-lang.org/math/matrices.html?q=matrix

GNU Scientific Library

http://planet.racket-lang.org/package-source/wmfarr/mzgsl.plt/3/0/planet-docs/mzgsl/index.html

Science Collection

http://planet.racket-lang.org/package-source/williams/science.plt/4/8/planet-docs/science/index.html

Math library
http://docs.racket-lang.org/math/index.html?q=matrix

Also: If you are looking for concrete algorithms - just ask. Chances are
that
someone has a Racket and/or Scheme implementation lying around.

If you are interested in symbolic computations I have a few ideas.

/Jens Axel


2015-11-03 2:15 GMT+01:00 John Kitchin :

> Hi all,
>
> I am exploring whether Racket could be a Lisp replacement for Python in
> scientific and engineering calculations. I currently use Python extensively
> in teaching chemical engineering courses (
> http://kitchingroup.cheme.cmu.edu/pycse/) and in running molecular
> simulations (http://kitchingroup.cheme.cmu.edu/dft-book/), but I am
> interested in transitioning these to a Lisp.
>
> Why? Because I really like writing Lisp code, and some interesting things
> I can do with it. My current experience is all with emacs-lisp, which at
> the moment has no hope for replacing Python as it lacks a real ffi.
>
> Python works for scientific/engineering calculations because of
> numpy/scipy/matplotlib which provide the majority of our needs, and largely
> they just wrap C/Fortran numerical libraries. It is also distributed with
> batteries included that make it trivial to install these days. It seems
> like Racket can do this too.
>
> How feasible would it be to use Racket to solve the problems described
> here: http://kitchingroup.cheme.cmu.edu/pycse/pycse.pdf
>
> I am trying to gauge how difficult it would be to start using Racket for
> these problems. Does anyone know of any similar kinds of projects as my
> Python project above in Racket?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-10 Thread John Kitchin
Those are great resources! Thanks!

Jens Axel Søgaard writes:

> A few useful resources:
>
> Matrices
> http://docs.racket-lang.org/math/matrices.html?q=matrix
>
> GNU Scientific Library
>
> http://planet.racket-lang.org/package-source/wmfarr/mzgsl.plt/3/0/planet-docs/mzgsl/index.html
>
> Science Collection
>
> http://planet.racket-lang.org/package-source/williams/science.plt/4/8/planet-docs/science/index.html
>
> Math library
> http://docs.racket-lang.org/math/index.html?q=matrix
>
> Also: If you are looking for concrete algorithms - just ask. Chances are
> that
> someone has a Racket and/or Scheme implementation lying around.
>
> If you are interested in symbolic computations I have a few ideas.
>
> /Jens Axel
>
>
> 2015-11-03 2:15 GMT+01:00 John Kitchin :
>
>> Hi all,
>>
>> I am exploring whether Racket could be a Lisp replacement for Python in
>> scientific and engineering calculations. I currently use Python extensively
>> in teaching chemical engineering courses (
>> http://kitchingroup.cheme.cmu.edu/pycse/) and in running molecular
>> simulations (http://kitchingroup.cheme.cmu.edu/dft-book/), but I am
>> interested in transitioning these to a Lisp.
>>
>> Why? Because I really like writing Lisp code, and some interesting things
>> I can do with it. My current experience is all with emacs-lisp, which at
>> the moment has no hope for replacing Python as it lacks a real ffi.
>>
>> Python works for scientific/engineering calculations because of
>> numpy/scipy/matplotlib which provide the majority of our needs, and largely
>> they just wrap C/Fortran numerical libraries. It is also distributed with
>> batteries included that make it trivial to install these days. It seems
>> like Racket can do this too.
>>
>> How feasible would it be to use Racket to solve the problems described
>> here: http://kitchingroup.cheme.cmu.edu/pycse/pycse.pdf
>>
>> I am trying to gauge how difficult it would be to start using Racket for
>> these problems. Does anyone know of any similar kinds of projects as my
>> Python project above in Racket?
>>
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-02 Thread John Kitchin
Hi all,

I am exploring whether Racket could be a Lisp replacement for Python in 
scientific and engineering calculations. I currently use Python extensively in 
teaching chemical engineering courses 
(http://kitchingroup.cheme.cmu.edu/pycse/) and in running molecular simulations 
(http://kitchingroup.cheme.cmu.edu/dft-book/), but I am interested in 
transitioning these to a Lisp.

Why? Because I really like writing Lisp code, and some interesting things I can 
do with it. My current experience is all with emacs-lisp, which at the moment 
has no hope for replacing Python as it lacks a real ffi.

Python works for scientific/engineering calculations because of 
numpy/scipy/matplotlib which provide the majority of our needs, and largely 
they just wrap C/Fortran numerical libraries. It is also distributed with 
batteries included that make it trivial to install these days. It seems like 
Racket can do this too.

How feasible would it be to use Racket to solve the problems described here: 
http://kitchingroup.cheme.cmu.edu/pycse/pycse.pdf

I am trying to gauge how difficult it would be to start using Racket for these 
problems. Does anyone know of any similar kinds of projects as my Python 
project above in Racket?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.