Multiplies a matrix by a scalar.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Matrix Multiply(
double factor,
Matrix matrix
)
Public Shared Function Multiply (
factor As Double,
matrix As Matrix
) As Matrix
public:
static Matrix^ Multiply(
double factor,
Matrix^ matrix
)
static member Multiply :
factor : float *
matrix : Matrix -> Matrix
Parameters
- factor
- Type: SystemDouble
A real number. - matrix
- Type: Extreme.MathematicsMatrix
A Matrix.
Return Value
Type:
MatrixA
Matrix that is the matrix
matrix
multiplied by
factor.
This method returns a new matrix whose components are the
elements of the matrix matrix multiplied by factor.
Numerical Libraries
Supported in: 5.x, 4.x
Reference