Vector.Project<T> Method

Returns the projection of one vector onto another.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Vector<T> Project<T>(
	this Vector<T> source,
	Vector<T> target
)

Parameters

source  Vector<T>
The Vector<T> to project.
target  Vector<T>
The Vector<T> to project source onto.

Type Parameters

T

Return Value

Vector<T>
A Vector<T> that is the projection of source onto target.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also