| FloatSymBandMatrixAddition(Single, FloatSymBandMatrix) Operator |
Adds a scalar to the non-zero elements of a banded matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatSymBandMatrix operator +(
float a,
FloatSymBandMatrix A
)
Public Shared Operator + (
a As Single,
A As FloatSymBandMatrix
) As FloatSymBandMatrix
public:
static FloatSymBandMatrix^ operator +(
float a,
FloatSymBandMatrix^ A
)
static let inline (+)
a : float32 *
A : FloatSymBandMatrix : FloatSymBandMatrix
Parameters
- a Single
- A scalar.
- A FloatSymBandMatrix
- A banded matrix.
Return Value
FloatSymBandMatrixA 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