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