The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Limitation on length of equations?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
a_user Posted - 08/19/1998 : 7:40:00 PM
When using the nonlinear curve fitter I have problems with very lonq equations.I
have used these equations in other programs. The equations are longer than 256
characters (one of them might even be longer than 512). Are they just too long
for Origin to handle correctly?

Thomsen

1   L A T E S T    R E P L I E S    (Newest First)
a_user Posted - 08/19/1998 : 7:42:00 PM
Response to "Limitation on length of equations"

Thomsen,

Actually, the limit has to do with the amount of script that can be entered
into
the "definition" text box when defining a function. The limit is roughly 250
characters. However, in terms of the ACTUAL length of the fitting function,
there is theoretically no limit. The reason why is this:

Suppose you define a fitting function as follows:

y = a + x * b;

Logically you would enter this directly into the "definition" text box since
it is so simple. However, this same function can be used in a fitting process
by creating a text file (filename.txt) that contains the function in a section
called [MyFunc]. This method would require that you enter a run.section in
"definition" text box of the fitter that will call [MyFunc] instead of
actually
defining the function in there. The "definition" text box would therefore have

the following appearance:

run.section(filename.txt, MyFunc);

Be sure to set the Form drop down list to Y-script to ensure that this works.

Along with this you would need to create the text file that contains the
fitting
function in a section such as the following:

[MyFunc]
y = a + x * b;

Save this text file (filename.txt) to your Origin directory so that Origin can

find it during the fitting session.

If this does not make sense please respond to my posting and I can try to
explain further.

Sincerely,
Ryan Toomey
Technical Services - techical support engineer
Microcal Software, Inc.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000