| FloatComplexBandMatrixAdd(FloatComplex, FloatComplexBandMatrix) Method |
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 FloatComplexBandMatrix Add(
FloatComplex a,
FloatComplexBandMatrix A
)
Public Shared Function Add (
a As FloatComplex,
A As FloatComplexBandMatrix
) As FloatComplexBandMatrix
public:
static FloatComplexBandMatrix^ Add(
FloatComplex a,
FloatComplexBandMatrix^ A
)
static member Add :
a : FloatComplex *
A : FloatComplexBandMatrix -> FloatComplexBandMatrix
Parameters
- a FloatComplex
- A scalar.
- A FloatComplexBandMatrix
- A banded matrix.
Return Value
FloatComplexBandMatrixA 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