Vector<T>.AddCore(Vector<T>, Vector<T>) Method

Adds two vectors.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
protected virtual Vector<T> AddCore(
	Vector<T> other,
	Vector<T> result
)

Parameters

other  Vector<T>
The second 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 this vector and other.

Exceptions

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

See Also