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
length
Fields inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
columns, matrix, rows
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canJoin
(DoubleMatrix matrix) Test if can be joined with this matrix.join
(DoubleMatrix matrix) Multipliesmatrix
from right with this matrix and stores result in this matrix.multiplay
(TransferMatrix matrix) multiplay.void
setLength
(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, transport
Methods 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:
canJoin
in classDoubleMatrix
- Parameters:
matrix
- DoubleMatrix- Returns:
- boolean
-
join
Multipliesmatrix
from right with this matrix and stores result in this matrix. Return Matrix is stih matrix. Multipliesmatrix
from right with this matrix and stores result in this matrix. Return Matrix is stih matrix.- Overrides:
join
in classDoubleMatrix
- Parameters:
matrix
- DoubleMatrix- Returns:
- DoubleMatrix this matrix =
matrix
times this matrix
-
multiplay
multiplay.
Multipliesmatrix
from right with this matrix and returns result as new matrix- Overrides:
multiplay
in classTransferMatrix
- Parameters:
matrix
- aTransferMatrix
object- Returns:
- a
TransferMatrix
object
-
setLength
public void setLength(double length) setLength.
- Parameters:
length
- double
-
transport
transport.
- Overrides:
transport
in classTransferMatrix
- Parameters:
beta
- BetaMatrix- Returns:
- BetaMatrix
-
transport
transport.
- Parameters:
beta
- BetaMatrixlength
- a double- Returns:
- BetaMatrix
-