| DoubleTriDiagMatrixSubtraction(Double, DoubleTriDiagMatrix) Operator |
Subtracts the non-zero elements of a tridiagonal matrix from a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleTriDiagMatrix operator -(
double a,
DoubleTriDiagMatrix A
)
Public Shared Operator - (
a As Double,
A As DoubleTriDiagMatrix
) As DoubleTriDiagMatrix
public:
static DoubleTriDiagMatrix^ operator -(
double a,
DoubleTriDiagMatrix^ A
)
static let inline (-)
a : float *
A : DoubleTriDiagMatrix : DoubleTriDiagMatrix
Parameters
- a Double
- A scalar.
- A DoubleTriDiagMatrix
- A tridiagonal matrix.
Return Value
DoubleTriDiagMatrixA tridiagonal matrix,
B, with
B[i,j] = a - A[i,j] whenever
j - i is less than or equal to the
1, or
i - j is less than or equal to 1.
See Also