Adds a scalar to a matrix in-place.
Namespace: Extreme.Mathematics.DistributedAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
protected override Matrix<T> AddCore(
T value,
Matrix<T> result
)
Protected Overrides Function AddCore (
value As T,
result As Matrix(Of T)
) As Matrix(Of T)
protected:
virtual Matrix<T>^ AddCore(
T value,
Matrix<T>^ result
) override
abstract AddCore :
value : 'T *
result : Matrix<'T> -> Matrix<'T>
override AddCore :
value : 'T *
result : Matrix<'T> -> Matrix<'T>
Parameters
- value
- Type: T
The constant. - result
- Type: Extreme.Mathematics.GenericMatrixT
The matrix that is to hold the result. May be .
Return Value
Type:
MatrixTA matrix whose elements are
the sum of the corresponding elements of
this matrix and
value.
Numerical Libraries
Supported in: 5.x
Reference