MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: pass to a C program

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24155] Re: pass to a C program
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 28 Jun 2000 22:50:39 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8iv185$mt2@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

a) take a look at the MathLink chapter in "The Mathematica Book"
b) look in the online Help | Add Ons | MathLink
c) find out *what* you pass to the C-program some (numerical) 
   parameter or a Mathematica expression ?
d) you can call back from the C program to the kernel when the
   call to the C function is evaluated and that seems too be better
   than coding a expression evaluation in C. This can be very slow
   and eat up all the speed gain of the C function

Regards
  Jens

Vishwambhar_rathi wrote:
> 
>   hi,
>     i'm a student of indian institute of technology.i'm coding in
> mathematica as a part of myproject work.i'm reading a function in
> mathematica environment and then i want to pass to some c program
> so that it is treated as an function not as a string.can you please
> tell me how to do it.
>  thanking you in advance.
>                   VISHWAMBHAR RATHI
>                   DEPT. OF ELEC. ENG.(B.TECH)
>                   H-6 ROOM NO.170
>                   IIT POWAI
>                   MUMBAI
>                   PHONE 5721023
>                   EMAIL  n8007004 at ccs.iitb.ernet.in
>                          vishi_r123 at yahoo.com
>


  • Prev by Date: Re: Output cell linebreaks
  • Next by Date: Re: Multiplication by 0.0
  • Previous by thread: Re: pass to a C program
  • Next by thread: Output cell linebreaks