Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: ProductLog ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 5693 of 5734
Post > Topic >>

Re: ProductLog function

by Jeremy Bailin <astroconst@[EMAIL PROTECTED] > May 2, 2008 at 07:46 AM

If you're desperate, you can always get IDL to externally call
Mathematica... or even better, if you know that you'll be calling it
with a fairly restricted range of y values, get Mathmetica to pump out
a densely sampled array of x,y pairs to a file and then interpolate
within IDL.

That said, I'd probably just go the route Paolo suggests and solve it
numerically within IDL.

-Jeremy.

On May 1, 7:32 am, emitch...@[EMAIL PROTECTED]
 wrote:
> Hi all, I've used Wolfrang Mathmatica to solve an equation for x, and
> have been given a solution involving the function ProductLog. I was
> wondering if anyone knew if there was any inbuilt capacity in IDL to
> evaluate this. It's definitely different to PRODUCT(ALOG(x)), as I've
> tried this but results were wrong.
>
> I'm trying to convert a matrix of y's to x's, but the equation I need
> to use is:
>
> y = 0.0015x + a(1-exp(-bx))
>
> Mathmatica gave me (to 6sf):
>
> 0.333333(-2000.a + 2000.y +
> (3.ProductLog(666.667(a.b.exp(666.667b(1.a-1.y)))))/b
>
> I tried this in IDL, but no joy:
>
> (1D/3D)*(-2000D*a + 2000D*y + (3*(PRODUCT(ALOG((2000D/
> 3D)*a*b*exp((2000D/3D)*b*((a-1D)*(y))))))/b))
>
> Cheers,
>
> Ed




 5 Posts in Topic:
ProductLog function
emitchard@[EMAIL PROTECTE  2008-05-01 04:32:07 
Re: ProductLog function
pgrigis@[EMAIL PROTECTED]  2008-05-01 06:26:39 
Re: ProductLog function
Vince Hradil <hradilv@  2008-05-01 06:35:13 
Re: ProductLog function
Allan Whiteford <allan  2008-05-01 14:36:02 
Re: ProductLog function
Jeremy Bailin <astroco  2008-05-02 07:46:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 2:04:40 CDT 2008.