Multidimensional Integration with ScalaLab

40 views
Skip to first unread message

Assad Akhlaq

unread,
Jun 2, 2013, 4:13:17 AM6/2/13
to scalalab-...@googlegroups.com
Hi everyone!

I just came to know about ScalaLab few minutes ago while searching for integration and differentiation in Scala. Can anyone tell me that multidimensional integration and differentiation is possible in ScalaLab? Also do we have Taylor series expansion function in ScalaLab like we have in Sage and MATLAB. I am using Sage and MATLAB and both are very slow when I try to implement multidimensional Taylor series or even use their built in formula. 

And also tell me the best place to learn ScalaLab (any tutorials etc.)

Thanks
Assad

sp

unread,
Jun 2, 2013, 8:49:35 AM6/2/13
to scalalab-...@googlegroups.com

Hi Assad!


.. multidimensional integration seems more difficult a problem than I
was thought!


There exists a tricub routine in the NUMAL library included in ScalaLab
(you can take the sources from NUMAL library sources download)
but I do not think,
evaluates the double integral
I(g; Ω) = \int \int _{Ω} g(x,y) dxdy

But, I do not think is what is required.

However, I found an interested research work that includes Java code,
is the Diploma Thesis, of Torstn Nahm,
"Error Estimation and Index Refinement for Dimension-Adaptive Sparse
Grid Quadrature with Applications to the Computation of Path Integrals"

I integrated that Java code within ScalaLab211June02 version.

However, I didn't study if that software works well yet.
I intent to make that soon.

Please, report any experiences with such routines,
it will be very useful to learn and improve also ScalaLab!!


I have written a .pdf manual documentation for ScalaLab available in
Downloads.

Thank you!!

Stergios
> --
> You received this message because you are subscribed to the Google
> Groups "ScalaLab Scientific Programming Development group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to scalalab-dev-gr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


Assad Akhlaq

unread,
Jun 2, 2013, 7:12:51 PM6/2/13
to scalalab-...@googlegroups.com
Hi Stergios,

Thank you for your reply. I will try if I can use the Java routines your are talking about. Actually I am new to Java and Scala languages. I even don't know how to write a code in ScalaLab. I am learning and will let you know if I have any good experience using that routine.

Regards
Assad
> an email to scalalab-dev-group+unsub...@googlegroups.com.

sp

unread,
Jun 3, 2013, 10:15:02 AM6/3/13
to scalalab-...@googlegroups.com

Hi Assad,

the Numerical Recipes Java code included in ScalaLab sources,

i.e. file Proposal.java in package com.nr.model

has an implementation of Markov Chain Monte Carlo integration,
perhaps it can help, I didn't yet study it.


Regards
Stergios



On Sun, 2013-06-02 at 16:12 -0700, Assad Akhlaq wrote:
> Hi Stergios,
> an email to scalalab-dev-gr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages