ILinearAlgebraOperations<T, TVector, TMatrix>.Rotate Method

Applies a Givens plane rotation.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
void Rotate(
	int n,
	TVector x,
	TVector y,
	T c,
	T s
)

Parameters

n  Int32
The number of elements in the vectors x and y.
x  TVector
A reference to a one-dimensional array containing the elements of the vector x.
y  TVector
A reference to a one-dimensional array containing the elements of the vector y.
c  T
The first rotation element, the cosine of the rotation angle.
s  T
The second rotation element, the sine of the rotation angle.

See Also