DistributedVector<T>.AddScaledAsRightCore Method

Adds two vectors.

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
protected override Vector<T> AddScaledAsRightCore(
	Vector<T> left,
	T factor,
	Vector<T>? result
)

Parameters

left  Vector<T>
The left operand.
factor  T
The scale factor for this vector.
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 left and factor times the corresponding elements of this vector.

Exceptions

DimensionMismatchException

This vector and left do not have the same length.

See Also