ILinearAlgebraOperations<T, TVector, TMatrix>.Rotate Method

Applies a Givens plane rotation.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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