Interface LinearMatrixSolver<T extends MatrixMixin<T,?,U,?>,U extends VectorMixin<U,T,?,?>>
- Type Parameters:
T
- The type of matrices in the linear system, extendingMatrixMixin
.U
- The type of vectors in the linear system, extendingVectorMixin
.
- All Superinterfaces:
LinearSolver<T>
- All Known Implementing Classes:
BackSolver
,ComplexBackSolver
,ComplexExactSolver
,ComplexForwardSolver
,ComplexLstsqSolver
,ExactSolver
,ForwardSolver
,LstsqSolver
,RealBackSolver
,RealExactSolver
,RealForwardSolver
,RealLstsqSolver
public interface LinearMatrixSolver<T extends MatrixMixin<T,?,U,?>,U extends VectorMixin<U,T,?,?>>
extends LinearSolver<T>
Interface representing a solver for linear systems involving matrices and vectors. Implementations of this interface provide methods to solve equations such as Ax=b and AX=B, where A, B, and X are matrices, and x and b are vectors.
Solvers may compute exact solutions or approximate solutions in a least squares sense, depending on the properties of the system.
-
Method Summary
-
Method Details
-
solve
-
solve
Solves the linear matrix equation AX=B for the matrix X.- Specified by:
solve
in interfaceLinearSolver<T extends MatrixMixin<T,
?, U, ?>> - Parameters:
A
- The coefficient matrix in the linear system.B
- The constant matrix in the linear system.- Returns:
- The solution matrix X satisfying AX=B.
-