GenericLinearAlgebraOperations<T>.Rotate Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.0

Overload List

Rotate(Int32, ArraySlice<Complex<T>>, ArraySlice<Complex<T>>, T, T) 
Rotate(Int32, ArraySlice<Complex<T>>, ArraySlice<Complex<T>>, T, T)

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

Rotate(Int32, SpanSlice<Complex<T>>, SpanSlice<Complex<T>>, T, T)

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

Rotate(Int32, Span<T>, Int32, Span<T>, Int32, T, T)

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

Rotate(Int32, Span<Complex<T>>, Int32, Span<Complex<T>>, Int32, T, T)

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

Rotate(Int32, Span<T>, Int32, Span<T>, Int32, T, T)

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

C#
public override void Rotate(
	int n,
	Span<T> dx,
	int incx,
	Span<T> dy,
	int incy,
	T c,
	T s
)

Parameters

n  Int32
             On entry, N specifies the order of the vectors cx and cy.
             N must be at least zero.
            
dx  Span<T>
 
incx  Int32
             On entry, INCX specifies the increment for the elements of
             CX. INCX must not be zero.
            
dy  Span<T>
 
incy  Int32
             On entry, INCY specifies the increment for the elements of
             CY. INCY must not be zero.
            
c  T
             On entry, C specifies the cosine, cos.
            
s  T
             On entry, S specifies the sine, sin.
            

Implements

ILinearAlgebraOperations<T>.Rotate(Int32, Span<T>, Int32, Span<T>, Int32, T, T)

Remarks

            jack dongarra, linpack, 3/11/78.
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

Rotate(Int32, Span<Complex<T>>, Int32, Span<Complex<T>>, Int32, T, T)

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

C#
public override void Rotate(
	int n,
	Span<Complex<T>> zx,
	int incx,
	Span<Complex<T>> zy,
	int incy,
	T c,
	T s
)

Parameters

n  Int32
             On entry, N specifies the order of the vectors cx and cy.
             N must be at least zero.
            
zx  Span<Complex<T>>
 
incx  Int32
             On entry, INCX specifies the increment for the elements of
             CX. INCX must not be zero.
            
zy  Span<Complex<T>>
 
incy  Int32
             On entry, INCY specifies the increment for the elements of
             CY. INCY must not be zero.
            
c  T
             On entry, C specifies the cosine, cos.
            
s  T
             On entry, S specifies the sine, sin.
            

Remarks

            jack dongarra, linpack, 3/11/78.
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

See Also