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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 iteration and constraints
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nbulcourt

USA
5 Posts

Posted - 02/12/2002 :  1:26:39 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
I've got a problem with the command nlsf.constr$ and nlsf.iterate(). It seems
Origin takes into account the constraint if the number of iteration is equal to 1. When I use a larger number of iteration the constraint is just taken into account for the first iteration and not for the others.
Someone can help me ? Thanks

nbulcourt

USA
5 Posts

Posted - 02/12/2002 :  1:29:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I use the command nlsf.tolerance.
Is there any conflict ?
Go to Top of Page

nbulcourt

USA
5 Posts

Posted - 02/13/2002 :  1:20:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No problem.
It is OK.
Go to Top of Page

Laurie

USA
404 Posts

Posted - 02/13/2002 :  3:43:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Remember to clear it before using.

Here's an example:

nlsf.init();
nlsf.begin();
nlsf.func$="boltzmann";
nlsf.y$="draw1_b";
A1=1;
A2=8;
x0=1;
dx=1;
nlsf.constr$="";
nlsf.constr$="A1>1;";
nlsf.iterate(1000);
nlsf.end();

OriginLab Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000