| Vector4DMultiply Method (Double, Vector4D) |
Multiplies a vector by a scalar.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector4D Multiply(
double scalar,
Vector4D vector
)
Public Shared Function Multiply (
scalar As Double,
vector As Vector4D
) As Vector4D
public:
static Vector4D Multiply(
double scalar,
Vector4D vector
)
static member Multiply :
scalar : float *
vector : Vector4D -> Vector4D
Parameters
- scalar
- Type: SystemDouble
The scalar. - vector
- Type: DigitalRune.Mathematics.AlgebraVector4D
The vector.
Return Value
Type:
Vector4DThe vector with each component multiplied by
scalar.
See Also