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
lengthFields inherited from class org.scictrl.mp.orbitcorrect.math.DoubleMatrix
columns, matrix, rows -
Constructor Summary
ConstructorsConstructorDescriptionBetaMatrix(double betaX, double betaZ, double alphaX, double alphaZ) DriftMatrix constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionbooleancanJoin(DoubleMatrix matrix) Test if can be joined with this matrix.doubleGetter for the fieldalphaX.doubleGetter for the fieldalphaZ.doublegetBetaX()Getter for the fieldbetaX.doublegetBetaZ()Getter for the fieldbetaZ.doublegetGamaX()getGamaX.doublegetGamaZ()getGamaZ.join(DoubleMatrix matrix) Multipliesmatrixfrom right with this matrix and stores result in this matrix.voidset(double betaX, double betaZ, double alphaX, double alphaZ) DriftMatrix constructor comment.voidsetAlphaX(double newAlphaX) Setter for the fieldalphaX.voidsetAlphaZ(double newAlphaZ) Setter for the fieldalphaZ.voidsetBetaX(double newBetaX) Setter for the fieldbetaX.voidsetBetaZ(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, transportMethods 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:
canJoinin 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
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
-
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
-