Package org.scictrl.mp.orbitcorrect.math
Class BetaMatrix
java.lang.Object
org.scictrl.mp.orbitcorrect.math.DoubleMatrix
org.scictrl.mp.orbitcorrect.math.TransferMatrix
org.scictrl.mp.orbitcorrect.math.BetaMatrix
- All Implemented Interfaces:
Cloneable
BetaMatrix 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
ConstructorDescriptionBetaMatrix
(double betaX, double betaZ, double alphaX, double alphaZ) DriftMatrix constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canJoin
(DoubleMatrix matrix) Test if can be joined with this matrix.double
Getter for the fieldalphaX
.double
Getter for the fieldalphaZ
.double
getBetaX()
Getter for the fieldbetaX
.double
getBetaZ()
Getter for the fieldbetaZ
.double
getGamaX()
getGamaX.double
getGamaZ()
getGamaZ.join
(DoubleMatrix matrix) Multipliesmatrix
from right with this matrix and stores result in this matrix.void
set
(double betaX, double betaZ, double alphaX, double alphaZ) DriftMatrix constructor comment.void
setAlphaX
(double newAlphaX) Setter for the fieldalphaX
.void
setAlphaZ
(double newAlphaZ) Setter for the fieldalphaZ
.void
setBetaX
(double newBetaX) Setter for the fieldbetaX
.void
setBetaZ
(double newBetaZ) Setter for the fieldbetaZ
.Methods inherited from class org.scictrl.mp.orbitcorrect.math.TransferMatrix
getLength, identity, matrixPhaseX, matrixPhaseZ, multiplay, multiplay, setIdentity, transport, transport, transport, transport
Methods inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
canMulitplay, clone, columns, dimensionEquals, get, identity, rows, toString
-
Constructor Details
-
BetaMatrix
public BetaMatrix(double betaX, double betaZ, double alphaX, double alphaZ) DriftMatrix constructor comment.- Parameters:
betaX
- a doublebetaZ
- a doublealphaX
- a doublealphaZ
- a double
-
-
Method Details
-
canJoin
Test if can be joined with this matrix.- Overrides:
canJoin
in classDoubleMatrix
- Parameters:
matrix
- DoubleMatrix- Returns:
- boolean
-
getAlphaX
public double getAlphaX()Getter for the field
alphaX
.- Returns:
- double
-
getAlphaZ
public double getAlphaZ()Getter for the field
alphaZ
.- Returns:
- double
-
getBetaX
public double getBetaX()Getter for the field
betaX
.- Returns:
- double
-
getBetaZ
public double getBetaZ()Getter for the field
betaZ
.- Returns:
- double
-
getGamaX
public double getGamaX()getGamaX.
- Returns:
- double
-
getGamaZ
public double getGamaZ()getGamaZ.
- Returns:
- double
-
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
-
set
public void set(double betaX, double betaZ, double alphaX, double alphaZ) DriftMatrix constructor comment.- Parameters:
betaX
- a doublebetaZ
- a doublealphaX
- a doublealphaZ
- a double
-
setAlphaX
public void setAlphaX(double newAlphaX) Setter for the field
alphaX
.- Parameters:
newAlphaX
- double
-
setAlphaZ
public void setAlphaZ(double newAlphaZ) Setter for the field
alphaZ
.- Parameters:
newAlphaZ
- double
-
setBetaX
public void setBetaX(double newBetaX) Setter for the field
betaX
.- Parameters:
newBetaX
- double
-
setBetaZ
public void setBetaZ(double newBetaZ) Setter for the field
betaZ
.- Parameters:
newBetaZ
- double
-