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