LinearAlgebraOperations<T>.Rotate Method

Definition

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

Overload List

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

Applies a plane rotation.

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)

Applies a plane rotation.

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, ArraySlice<T>, ArraySlice<T>, T, T)

Applies a plane rotation.

C#
public void Rotate(
	int n,
	ArraySlice<T> x,
	ArraySlice<T> y,
	T c,
	T s
)

Parameters

n  Int32
 
x  ArraySlice<T>
 
y  ArraySlice<T>
 
c  T
 
s  T
 

Remarks

Further Details:

            jack dongarra, linpack, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)
            

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

Date: November 2011

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.

C#
public void Rotate(
	int n,
	ArraySlice<Complex<T>> cx,
	ArraySlice<Complex<T>> cy,
	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.
            
cx  ArraySlice<Complex<T>>
            CX is complex array, dimension at least
             ( 1 + ( N - 1 )*abs( INCX ) ).
             Before entry, the incremented array CX must contain the n
             element vector cx. On exit, CX is overwritten by the updated
             vector cx.
            
             On entry, INCX specifies the increment for the elements of
             CX. INCX must not be zero.
            
cy  ArraySlice<Complex<T>>
            CY is complex array, dimension at least
             ( 1 + ( N - 1 )*abs( INCY ) ).
             Before entry, the incremented array CY must contain the n
             element vector cy. On exit, CY is overwritten by the updated
             vector cy.
            
             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

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.

C#
public void Rotate(
	int n,
	SpanSlice<Complex<T>> cx,
	SpanSlice<Complex<T>> cy,
	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.
            
cx  SpanSlice<Complex<T>>
            CX is complex array, dimension at least
             ( 1 + ( N - 1 )*abs( INCX ) ).
             Before entry, the incremented array CX must contain the n
             element vector cx. On exit, CX is overwritten by the updated
             vector cx.
            
             On entry, INCX specifies the increment for the elements of
             CX. INCX must not be zero.
            
cy  SpanSlice<Complex<T>>
            CY is complex array, dimension at least
             ( 1 + ( N - 1 )*abs( INCY ) ).
             Before entry, the incremented array CY must contain the n
             element vector cy. On exit, CY is overwritten by the updated
             vector cy.
            
             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

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

Applies a plane rotation.

C#
public abstract void Rotate(
	int n,
	Span<T> x,
	int incx,
	Span<T> y,
	int incy,
	T c,
	T s
)

Parameters

n  Int32
 
x  Span<T>
 
incx  Int32
 
y  Span<T>
 
incy  Int32
 
c  T
 
s  T
 

Implements

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

Remarks

Further Details:

            jack dongarra, linpack, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)
            

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 abstract void Rotate(
	int n,
	Span<Complex<T>> cx,
	int incx,
	Span<Complex<T>> cy,
	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.
            
cx  Span<Complex<T>>
            CX is complex array, dimension at least
             ( 1 + ( N - 1 )*abs( INCX ) ).
             Before entry, the incremented array CX must contain the n
             element vector cx. On exit, CX is overwritten by the updated
             vector cx.
            
incx  Int32
             On entry, INCX specifies the increment for the elements of
             CX. INCX must not be zero.
            
cy  Span<Complex<T>>
            CY is complex array, dimension at least
             ( 1 + ( N - 1 )*abs( INCY ) ).
             Before entry, the incremented array CY must contain the n
             element vector cy. On exit, CY is overwritten by the updated
             vector cy.
            
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