Package org.scictrl.mp.orbitcorrect.math
Class DriftMatrix
java.lang.Object
org.scictrl.mp.orbitcorrect.math.DoubleMatrix
org.scictrl.mp.orbitcorrect.math.TransferMatrix
org.scictrl.mp.orbitcorrect.math.DriftMatrix
- All Implemented Interfaces:
Cloneable
DriftMatrix class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.mp.orbitcorrect.math.TransferMatrix
lengthFields 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.join(DoubleMatrix matrix) Multipliesmatrixfrom right with this matrix and stores result in this matrix.multiplay(TransferMatrix matrix) multiplay.voidsetLength(double length) setLength.transport(BetaMatrix beta) transport.transport(BetaMatrix beta, double length) transport.Methods 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, toString
-
Constructor Details
-
DriftMatrix
public DriftMatrix(double length) DriftMatrix constructor comment.- Parameters:
length- 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
-
multiplay
multiplay.
Multipliesmatrixfrom right with this matrix and returns result as new matrix- Overrides:
multiplayin classTransferMatrix- Parameters:
matrix- aTransferMatrixobject- Returns:
- a
TransferMatrixobject
-
setLength
public void setLength(double length) setLength.
- Parameters:
length- double
-
transport
transport.
- Overrides:
transportin classTransferMatrix- Parameters:
beta- BetaMatrix- Returns:
- BetaMatrix
-
transport
transport.
- Parameters:
beta- BetaMatrixlength- a double- Returns:
- BetaMatrix
-