Changeset 6897
- Timestamp:
- 09/07/10 23:20:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/maven/projects/slim-plotter/src/main/java/loci/slim/fit/LMCurveFitter.java
r5093 r6897 27 27 import jaolho.data.lma.LMA; 28 28 import jaolho.data.lma.LMAFunction; 29 import jaolho.data.lma.implementations.JAMAMatrix;30 29 31 30 import java.io.OutputStream; … … 48 47 protected static final ExpFunction[] EXP_FUNCTIONS = { 49 48 new ExpFunction(1), new ExpFunction(2) 50 };51 52 protected static final JAMAMatrix[] EXP_MATRICES = {53 new JAMAMatrix(3, 3),54 new JAMAMatrix(5, 5)55 49 }; 56 50 … … 126 120 127 121 lma = new LMA(EXP_FUNCTIONS[components - 1], params, 128 new double[][] {xVals, yVals}, weights, 129 EXP_MATRICES[components - 1]); 122 new double[][] {xVals, yVals}, weights); 130 123 lma.maxIterations = 1; 131 124 }
Note: See TracChangeset
for help on using the changeset viewer.