MathGroup Archive 2002

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

Search the Archive

Re: executing 'ProductLog' from an external program (C code or shell)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38337] Re: executing 'ProductLog' from an external program (C code or shell)
  • From: Matt Flax <flatmax at ieee.org>
  • Date: Thu, 12 Dec 2002 01:36:24 -0500 (EST)
  • References: <20021211035217.GB11986@ee.unsw.edu.au>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
I have found the example 'factor.c'.

Unfortunatly there are problems with running the program ... something 
to do with 'MLOpenArgv' ... when the program is run  it requests :
'Create link:'

thanks
MAtt

On Wed, Dec 11, 2002 at 02:52:17PM +1100, flatmax wrote:
> Hello,
> I have the following in mathematica :
> x[z_]:=1000Log[10]-ProductLog[z]
> 
> I would like to be able to execute this from a shell or C code. CForm 
> just outputs :
> CForm[1000Log[10] - ProductLog[z]]
> 1000*Log(10) - ProductLog(z)
> 
> Is it possible to compile 'ProductLog' to a C library or even an 
> executable which I can then use in C code ?
> 
> thanks
> Matt
> -- 
> http://mffm.darktech.org
> 
> WSOLA TimeScale Audio Mod  : http://mffmtimescale.sourceforge.net/
> FFTw C++                   : http://mffmfftwrapper.sourceforge.net/
> Vector Bass                : http://mffmvectorbass.sourceforge.net/
> Multimedia Time Code       : http://mffmtimecode.sourceforge.net/

-- 
http://mffm.darktech.org

WSOLA TimeScale Audio Mod  : http://mffmtimescale.sourceforge.net/
FFTw C++                   : http://mffmfftwrapper.sourceforge.net/
Vector Bass                : http://mffmvectorbass.sourceforge.net/
Multimedia Time Code       : http://mffmtimecode.sourceforge.net/


  • Prev by Date: Re: Plot[x Sin[x],{-100,100}] Bad {-100,99} Good?
  • Next by Date: Re: FITS Format
  • Previous by thread: executing 'ProductLog' from an external program (C code or shell)
  • Next by thread: Re: executing 'ProductLog' from an external program (C code or shell)