| Vector3DMultiply Method (Double, Vector3D) |
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 Vector3D Multiply(
double scalar,
Vector3D vector
)
Public Shared Function Multiply (
scalar As Double,
vector As Vector3D
) As Vector3D
public:
static Vector3D Multiply(
double scalar,
Vector3D vector
)
static member Multiply :
scalar : float *
vector : Vector3D -> Vector3D
Parameters
- scalar
- Type: SystemDouble
The scalar. - vector
- Type: DigitalRune.Mathematics.AlgebraVector3D
The vector.
Return Value
Type:
Vector3DThe vector with each component multiplied by
scalar.
See Also