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>(
Matrix<T> matrix,
T value,
Matrix<T> result
)
Public Shared Function AddInto(Of T) (
matrix As Matrix(Of T),
value As T,
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ AddInto(
Matrix<T>^ matrix,
T value,
Matrix<T>^ result
)
static member AddInto :
matrix : Matrix<'T> *
value : 'T *
result : Matrix<'T> -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A matrix. - value
- Type: T
The constant. - 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