| FloatBandMatrixSubtract(Single, FloatBandMatrix) Method |
Subtracts the non-zero elements of a banded matrix from a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatBandMatrix Subtract(
float a,
FloatBandMatrix A
)
Public Shared Function Subtract (
a As Single,
A As FloatBandMatrix
) As FloatBandMatrix
public:
static FloatBandMatrix^ Subtract(
float a,
FloatBandMatrix^ A
)
static member Subtract :
a : float32 *
A : FloatBandMatrix -> FloatBandMatrix
Parameters
- a Single
- A scalar.
- A FloatBandMatrix
- A banded matrix.
Return Value
FloatBandMatrixA banded matrix,
B, with the same upper and lower bandwidths as
A,
and
B[i,j] = a - A[i,j] 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