T O P I C R E V I E W |
emmaf |
Posted - 06/27/2007 : 2:36:46 PM I have some y(x) data that I want to fit using a function that is a Sum(n=0 -> 10) f(x,n) So, I basically need to sum over a few values of n. Is there a way to do it? |
1 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 06/27/2007 : 3:00:37 PM This will work but make sure Use Origin C is checked at the bottom.
y = 0; for(int n=0; n<11; n++) { y += f(x,n); };
Mike Buess Origin WebRing Member |
|
|