Solves a system of linear equations
with a general N-by-N matrix A using the LU decomposition computed
by [!:Dgetrf].
Namespace: Extreme.Mathematics.LinearAlgebra.Providers
Assembly: Extreme.Numerics.SinglePrecision.Net40 (in Extreme.Numerics.SinglePrecision.Net40.dll) Version: 4.0.10170.0 (4.0.11003.0)
Syntax
| C# |
public abstract void Sgetrs(
TransposeOperation trans,
int n,
int nrhs,
float[] a,
int aOffset,
int lda,
int[] ipiv,
float[] b,
int bOffset,
int ldb,
out int info
)
|
| Visual Basic (Declaration) |
Public MustOverride Sub Sgetrs ( _
trans As TransposeOperation, _
n As Integer, _
nrhs As Integer, _
a As Single(), _
aOffset As Integer, _
lda As Integer, _
ipiv As Integer(), _
b As Single(), _
bOffset As Integer, _
ldb As Integer, _
<OutAttribute> ByRef info As Integer _
)
|
| Visual C++ |
public:
virtual void Sgetrs(
TransposeOperation trans,
int n,
int nrhs,
array<float>^ a,
int aOffset,
int lda,
array<int>^ ipiv,
array<float>^ b,
int bOffset,
int ldb,
[OutAttribute] int% info
) abstract
|
Parameters
-
trans
- Type: Extreme.Mathematics..::..TransposeOperation
A TransposeOperation value that specifies
whether the regular or the transposed system should be solved.
-
n
- Type: System..::..Int32
An integer specifying the number of
rows and columns of the matrix a. Must be
greater than or equal to zero.
-
nrhs
- Type: System..::..Int32
An integer specifying the number of
columns in the right-hand side matrix b. Must be
greater than or equal to zero.
-
a
- Type: array<System..::..Single>[]()[][]
Double array specifying the
n-by-n matrix
containing the lower and upper triangular factors as computed
by [!:Dgetrf].
-
aOffset
- Type: System..::..Int32
Offset into a
of the first element of the matrix.
-
lda
- Type: System..::..Int32
The leading dimension of the array
a. Must be greater than or
equal to Max(1,m).
-
ipiv
- Type: array<System..::..Int32>[]()[][]
Integer array containing the pivot indexes
computed by [!:Dgetrf].
-
b
- Type: array<System..::..Single>[]()[][]
Double array specifying the
nrhs-by-n matrix
containing the right-hand sides.
On exit, this matrix is overwritten with the solution.
-
bOffset
- Type: System..::..Int32
Offset into b
of the first element of the matrix.
-
ldb
- Type: System..::..Int32
The leading dimension of the array
b. Must be greater than or
equal to Max(1,n).
-
info
- Type: System..::..Int32%
Reference to an integer containing a
result code. Zero indicates success. Greater than zero
indicates U(i,i) is exactly zero. The decomposition
has been completed, but the factor U is exactly
singular, and division by zero will occur if it is used
to solve a system of equations.
See Also