Linear Algebra Types
The types module provides data structures and enums for linear algebra operations.
Enums
- class hiten.algorithms.linalg.types._ProblemType[source]
Bases:
Enum
Problem type for eigenvalue decomposition.
- Parameters:
- EIGENVALUE_DECOMPOSITION = 0
- STABILITY_INDICES = 1
- ALL = 2
Result Classes
- class hiten.algorithms.linalg.types.EigenDecompositionResults[source]
Bases:
object
Stable/unstable/center spectra and bases.
- Parameters:
stable (np.ndarray) – Stable eigenvalues.
unstable (np.ndarray) – Unstable eigenvalues.
center (np.ndarray) – Center eigenvalues.
Ws (np.ndarray) – Stable eigenvectors.
Wu (np.ndarray) – Unstable eigenvectors.
Wc (np.ndarray) – Center eigenvectors.
nu (np.ndarray) – Floquet stability indices.
eigvals (np.ndarray) – Eigenvalues.
eigvecs (np.ndarray) – Eigenvectors.
Problem Classes
- class hiten.algorithms.linalg.types._EigenDecompositionProblem[source]
Bases:
object
Problem definition for classifying the eigen-structure of a matrix.
- Parameters:
A (np.ndarray) – Matrix to decompose.
problem_type (
_ProblemType
) – Problem type for the eigenvalue decomposition.system_type (
_SystemType
) – Classification mode: 0 for continuous-time (sign of real parts), 1 for discrete-time (modulus relative to unity).delta (float) – Tolerance used in eigenvalue classification.
tol (float) – Tolerance used in stability index calculation.
- problem_type: _ProblemType
- system_type: _SystemType
- class hiten.algorithms.linalg.types._LibrationPointStabilityProblem[source]
Bases:
_EigenDecompositionProblem
Problem definition for computing linear stability at a CR3BP position.
- Parameters:
mu (float) – Mass parameter of the CR3BP.
position (np.ndarray) – Position in the CR3BP.
A (ndarray)
problem_type (_ProblemType)
system_type (_SystemType)
delta (float)
tol (float)