Linear Operator<T>.Solve Transpose Method
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Solve | Solves the transposed system of linear equations for the specified right-hand side matrix. |
Solve | Solves the system of linear equations for the specified right-hand side vector. |
Solve | Solves the transposed system of linear equations for the specified right-hand side dense matrix and optionally overwrites the right-hand side with the solution. |
Solve | Solves the transposed system of linear equations for the specified right-hand side dense vector and optionally overwrites the right-hand side with the solution. |
SolveTranspose(Matrix<T>)
public Matrix<T> SolveTranspose(
Matrix<T> rightHandSide
)
Parameters
Return Value
Matrix<T>A DenseMatrix<T> containing the solution of the system of simultaneous linear equations.
Exceptions
Argument | rightHandSide is null. |
Dimension | The length of rightHandSide does not equal the number of rows of the matrix underlying this system of equations. -or- The matrix is not square. |
Matrix | The Matrix<T> underlying this system of equations is singular and does not have an inverse. |
Dimension | The number of rows of rightHandSide does not equal the number of rows of the matrix. |
SolveTranspose(Vector<T>)
public Vector<T> SolveTranspose(
Vector<T> rightHandSide
)
Parameters
Return Value
Vector<T>A DenseVector<T> containing the solution of the system of simultaneous linear equations.
Exceptions
Argument | rightHandSide is null. |
Dimension | The length of rightHandSide does not equal the number of rows in the matrix underlying this system of equations. |
Matrix | The Matrix<T> underlying this system of equations is singular and does not have an inverse. |
Dimension | The Matrix<T> underlying this system of equations is not square. |
SolveTranspose(DenseMatrix<T>, Boolean)
public Matrix<T> SolveTranspose(
DenseMatrix<T> rightHandSide,
bool overwrite
)
Parameters
- rightHandSide DenseMatrix<T>
- A DenseMatrix<T>.
- overwrite Boolean
- If false, a new DenseMatrix<T> instance containing the solution to the system of equations is returned. (This is the default.) If true, the matrix rightHandSide is overwritten by the solution.
Return Value
Matrix<T>A DenseMatrix<T> containing the solution of the system of simultaneous linear equations.
Remarks
Note that the first parameter must be a DenseMatrix<T>. This is because this is the only matrix type whose elements are guaranteed to be all writable.
Exceptions
Argument | rightHandSide is null. |
Dimension | The number of rows of rightHandSide does not equal the number of rows of the matrix underlying this system of equations. |
Matrix | The Matrix<T> underlying this system of equations is singular and does not have an inverse. |
Dimension | The Matrix<T> underlying this system of equations is not square. |
SolveTranspose(DenseVector<T>, Boolean)
public Vector<T> SolveTranspose(
DenseVector<T> rightHandSide,
bool overwrite
)
Parameters
- rightHandSide DenseVector<T>
- A Vector<T>.
- overwrite Boolean
- If false, a new Vector<T> instance containing the solution to the system of equations is returned. If false, the vector rightHandSide is overwritten by the solution.
Return Value
Vector<T>A DenseVector<T> containing the solution of the system of simultaneous linear equations.
Exceptions
Argument | rightHandSide is null. |
Dimension | The length of rightHandSide does not equal the number of rows of the matrix underlying this system of equations. |
Matrix | The Matrix<T> underlying this system of equations is singular and does not have an inverse. |
Dimension | The Matrix<T> underlying this system of equations is not square. |