Linear Algebra Operations.Create Givens Rotation<T> Method
Generates the elements for a Givens plane rotation.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static void CreateGivensRotation<T>(
ref T a,
ref T b,
out T c,
out T s
)
Parameters
- a T
- The first element of the input vector. On exit, this value is overwritten with the rotated element r.
- b T
- The second element of the input vector. On exit, this value is overwritten with the reconstruction value z.
- c T
- On exit, this value is overwritten with the first rotation element, the cosine of the rotation angle.
- s T
- On exit, this value is overwritten with the second rotation element, the sine of the rotation angle.
Type Parameters
- T