Returns the angle between two vectors.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static T Angle<T>(
this Vector<T> left,
Vector<T> right
)
<ExtensionAttribute>
Public Shared Function Angle(Of T) (
left As Vector(Of T),
right As Vector(Of T)
) As T
public:
[ExtensionAttribute]
generic<typename T>
static T Angle(
Vector<T>^ left,
Vector<T>^ right
)
[<ExtensionAttribute>]
static member Angle :
left : Vector<'T> *
right : Vector<'T> -> 'T
Parameters
- left
- Type: Extreme.MathematicsVectorT
The first VectorT. - right
- Type: Extreme.MathematicsVectorT
The first VectorT.
Type Parameters
- T
Return Value
Type:
TThe angle between
left and
right.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. 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).
Reference