DenseVector<T>.AddScaledAsLeftCore Method

Adds two vectors.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected override Vector<T> AddScaledAsLeftCore(
	T factor,
	Vector<T> right,
	Vector<T> result
)

Parameters

factor  T
The scale factor for right.
right  Vector<T>
The right operand.
result  Vector<T>
The vector that is to hold the result. May be null.

Return Value

Vector<T>
A vector whose elements are the sum of the corresponding elements of this vector and factor times right.

Exceptions

DimensionMismatchException This vector and right do not have the same length.

See Also