Multiplies a matrix by a scalar.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> MultiplyInto<T>(
Matrix<T> matrix,
T factor,
Matrix<T> result
)
Public Shared Function MultiplyInto(Of T) (
matrix As Matrix(Of T),
factor As T,
result As Matrix(Of T)
) As Matrix(Of T)
public:
generic<typename T>
static Matrix<T>^ MultiplyInto(
Matrix<T>^ matrix,
T factor,
Matrix<T>^ result
)
static member MultiplyInto :
matrix : Matrix<'T> *
factor : 'T *
result : Matrix<'T> -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A matrix. - factor
- Type: T
A number. - 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 corresponding elements of
matrix
multiplied by
factor.
Reference