comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Passing more than an initial guess to a function used by NEWTON
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Passing more than an initial guess to a function used by NEWTON [message #75351 is a reply to message #75350] Thu, 24 February 2011 12:42 Go to previous messageGo to previous message
fgg is currently offline  fgg
Messages: 67
Registered: April 2010
Member
Btw, the solution I came up with was to write an external "my_function.pro" file from within "my_procedure", before calling NEWTON. Something like this:

openw, outunit, '/.../my_function.pro', /get_lun
printf, outunit, 'function my_function, x'
printf, outunit, 'c1 = ', c1
printf, outunit, 'return, x^2 + 5*x - c1'
printf, outunit, 'end
close, outunit & free_lun, outunit'

But this just doesn't feel right... and I run into another problem, as you can see from my previous post:

https://groups.google.com/forum/?fromgroups#!topic/comp.lang .idl-pvwave/iuPqWCO_usI

Thanks again,
fgg
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scripted object graphics question
Next Topic: Re: License manager troubles

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 20:20:13 PST 2025

Total time taken to generate the page: 1.04361 seconds