Vector<T>.Normalize Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
Overload List
| Normalize() | Scales the vector in-place to make its two-norm equal to one. |
| Normalize( | Scales the vector in-place to make the specified norm equal to one. |
Normalize
Scales the vector in-place to make its two-norm equal to one.
Exceptions
| Not | T is an integer type. |
Normalize(VectorNorm)
Scales the vector in-place to make the specified norm equal to one.
public Vector<T> Normalize(
VectorNorm norm
)Parameters
- norm VectorNorm
- The norm used to normalize the vector.
Return Value
Vector<T>A reference to this Vector<T>.
Exceptions
| Not | T is an integer type. |