Re: Mathlink speed
- To: mathgroup at smc.vnet.net
- Subject: [mg22486] Re: Mathlink speed
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 8 Mar 2000 02:22:26 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <89qj69$ar2@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, no one can decide it. It depends on your operating system (and the default protocol) and on the expressions that you have to fill in. Regards Jens Kurt Taretto wrote: > > Hi, > > I'm using some algorithms which deal with matrices of about 20000 > elements. Since filling the matrices in Mathematica using "For" loops > is too slow, I was wondering if an implementation with Mathlink and a C > program could help (apparently the matrix filling cannot be done using > the Map function, because the rules to fill the elements are complicated > (Jacobi matrix coefficients in finite differences, 2D)). Surely the > C-program will do the task faster, but the question is if the time > needed to pass the matrix from Mathematica to C and receiving it with > its modifications will not be greater than doing everything within > Mathematica like I'm doing now. > > Thanks in advance!! > > Kurt Taretto