org.ddogleg.fitting.modelset
Class DoubleArrayManager
- java.lang.Object
-
- org.ddogleg.fitting.modelset.DoubleArrayManager
-
- All Implemented Interfaces:
- ModelManager<double[]>
public class DoubleArrayManager extends java.lang.Object implements ModelManager<double[]>
-
-
Constructor Summary
Constructors Constructor and Description DoubleArrayManager(int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcopyModel(double[] src, double[] dst)Turns 'dst' into an exact copy of 'src'.double[]createModelInstance()Creates a new instance of the model
-
-
-
Method Detail
-
createModelInstance
public double[] createModelInstance()
Description copied from interface:ModelManagerCreates a new instance of the model- Specified by:
createModelInstancein interfaceModelManager<double[]>- Returns:
- New model instance
-
copyModel
public void copyModel(double[] src, double[] dst)Description copied from interface:ModelManagerTurns 'dst' into an exact copy of 'src'. If the model has a variable structure then it is assumed that the two models have the same structure.- Specified by:
copyModelin interfaceModelManager<double[]>- Parameters:
src- Original model. Not modified.dst- Where the copy is written to. Modified.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG