Package org.scictrl.mp.orbitcorrect.math
Class DispersionVector
java.lang.Object
org.scictrl.mp.orbitcorrect.math.DoubleMatrix
org.scictrl.mp.orbitcorrect.math.DispersionVector
- All Implemented Interfaces:
Cloneable
DispersionVector class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
columns, matrix, rows -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanJoin(DoubleMatrix matrix) Test if can be joined with this matrix.doublegetDispersion.doublegetDispersionPrime.voidset(double newDispersion, double newDispersionPrime) set.voidsetDispersion(double newDispersion) setDispersion.voidsetDispersionPrime(double newDispersionPrime) setDispersionPrime.toString()Returns a String that represents the value of this object.Methods inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
canMulitplay, clone, columns, dimensionEquals, get, identity, join, multiplay, rows
-
Constructor Details
-
DispersionVector
public DispersionVector(double d, double dp) DispersionVector constructor comment.- Parameters:
d- a doubledp- a double
-
-
Method Details
-
canJoin
Test if can be joined with this matrix. Test if can be joined with this matrix.- Overrides:
canJoinin classDoubleMatrix- Parameters:
matrix- DoubleMatrix- Returns:
- boolean
-
getDispersion
public double getDispersion()getDispersion.
- Returns:
- double
-
getDispersionPrime
public double getDispersionPrime()getDispersionPrime.
- Returns:
- double
-
set
public void set(double newDispersion, double newDispersionPrime) set.
- Parameters:
newDispersion- doublenewDispersionPrime- a double
-
setDispersion
public void setDispersion(double newDispersion) setDispersion.
- Parameters:
newDispersion- double
-
setDispersionPrime
public void setDispersionPrime(double newDispersionPrime) setDispersionPrime.
- Parameters:
newDispersionPrime- double
-
toString
Returns a String that represents the value of this object.- Overrides:
toStringin classDoubleMatrix
-