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