| DoubleComplexTriDiagMatrixSubtract(DoubleComplexTriDiagMatrix, DoubleComplex) Method |
Subtracts a scalar from the non-zero elements of a tridiagonal matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleComplexTriDiagMatrix Subtract(
DoubleComplexTriDiagMatrix A,
DoubleComplex a
)
Public Shared Function Subtract (
A As DoubleComplexTriDiagMatrix,
a As DoubleComplex
) As DoubleComplexTriDiagMatrix
public:
static DoubleComplexTriDiagMatrix^ Subtract(
DoubleComplexTriDiagMatrix^ A,
DoubleComplex a
)
static member Subtract :
A : DoubleComplexTriDiagMatrix *
a : DoubleComplex -> DoubleComplexTriDiagMatrix
Parameters
- A DoubleComplexTriDiagMatrix
- A tridiagonal matrix.
- a DoubleComplex
- A scalar.
Return Value
DoubleComplexTriDiagMatrixA tridiagonal matrix,
B, with the same dimensions as
A,
and
B[i,j] = A[i,j] - a whenever
j - i is less than or equal to 1, or
i - j is less than or equal to 1.
See Also