Multiplies a vector by a constant.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> MultiplyInto<T>(
T factor,
Vector<T> vector,
Vector<T> result
)
Public Shared Function MultiplyInto(Of T) (
factor As T,
vector As Vector(Of T),
result As Vector(Of T)
) As Vector(Of T)
public:
generic<typename T>
static Vector<T>^ MultiplyInto(
T factor,
Vector<T>^ vector,
Vector<T>^ result
)
static member MultiplyInto :
factor : 'T *
vector : Vector<'T> *
result : Vector<'T> -> Vector<'T>
Parameters
- factor
- Type: T
A number. - vector
- Type: Extreme.MathematicsVectorT
A vector. - result
- Type: Extreme.MathematicsVectorT
The vector that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
VectorTA vector whose elements are
the corresponding elements of
vector
multiplied by
factor.
Reference