Package org.scictrl.mp.orbitcorrect.math
Class SDipoleMatrix
java.lang.Object
org.scictrl.mp.orbitcorrect.math.DoubleMatrix
org.scictrl.mp.orbitcorrect.math.TransferMatrix
org.scictrl.mp.orbitcorrect.math.DipoleMatrix
org.scictrl.mp.orbitcorrect.math.SDipoleMatrix
- All Implemented Interfaces:
Cloneable
SDipoleMatrix class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.mp.orbitcorrect.math.DipoleMatrix
k, radiusFields inherited from class org.scictrl.mp.orbitcorrect.math.TransferMatrix
lengthFields inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
columns, matrix, rows -
Constructor Summary
ConstructorsConstructorDescriptionSDipoleMatrix(double newLength, double newK, double newRadius) SDipoleMatrix constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanJoin(DoubleMatrix matrix) Test if can be joined with this matrix.join(DoubleMatrix matrix) Multipliesmatrixfrom right with this matrix and stores result in this matrix.protected double[][]makeMatrix.multiplay(TransferMatrix matrix) multiplay.toString()Returns a String that represents the value of this object.Methods inherited from class org.scictrl.mp.orbitcorrect.math.DipoleMatrix
getK, getRadius, set, setK, setLength, setRadius, transportMethods inherited from class org.scictrl.mp.orbitcorrect.math.TransferMatrix
getLength, identity, matrixPhaseX, matrixPhaseZ, multiplay, setIdentity, transport, transport, transportMethods inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
canMulitplay, clone, columns, dimensionEquals, get, identity, rows
-
Constructor Details
-
SDipoleMatrix
public SDipoleMatrix(double newLength, double newK, double newRadius) SDipoleMatrix constructor comment.- Parameters:
newLength- doublenewK- doublenewRadius- double
-
-
Method Details
-
canJoin
Test if can be joined with this matrix.- Overrides:
canJoinin classDoubleMatrix- Parameters:
matrix- DoubleMatrix- Returns:
- boolean
-
join
Multipliesmatrixfrom right with this matrix and stores result in this matrix. Return Matrix is stih matrix. Multipliesmatrixfrom right with this matrix and stores result in this matrix. Return Matrix is stih matrix.- Overrides:
joinin classDoubleMatrix- Parameters:
matrix- DoubleMatrix- Returns:
- DoubleMatrix this matrix =
matrixtimes this matrix
-
makeMatrix
protected double[][] makeMatrix()makeMatrix.
- Specified by:
makeMatrixin classDipoleMatrix- Returns:
- an array of
objects
invalid reference
double
-
multiplay
multiplay.
Multipliesmatrixfrom right with this matrix and returns result as new matrix- Overrides:
multiplayin classTransferMatrix- Parameters:
matrix- aTransferMatrixobject- Returns:
- a
TransferMatrixobject
-
toString
Returns a String that represents the value of this object.- Overrides:
toStringin classDoubleMatrix
-