ILinearAlgebraOperations<T>.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,
	ArraySlice<T> x,
	ArraySlice<T> y,
	T c,
	T s
)

Parameters

n  Int32
The number of elements in the vectors x and y.
x  ArraySlice<T>
A reference to a one-dimensional array containing the elements of the vector x.
y  ArraySlice<T>
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