Adds a matrix and a scalar.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> AddInto<T>(
T value,
Matrix<T> matrix,
Matrix<T> result
)
Public Shared Function AddInto(Of T) (
value As T,
matrix As Matrix(Of T),
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ AddInto(
T value,
Matrix<T>^ matrix,
Matrix<T>^ result
)
static member AddInto :
value : 'T *
matrix : Matrix<'T> *
result : Matrix<'T> -> Matrix<'T>
Parameters
- value
- Type: T
The constant. - matrix
- Type: Extreme.MathematicsMatrixT
A matrix. - result
- Type: Extreme.MathematicsMatrixT
The matrix that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
MatrixTA matrix whose elements are
the sum of the corresponding elements of
matrix and
value.
Reference