ManagedLinearAlgebraOperationsOfSingle.Rotate Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.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<Complex<Single>>, Int32, Span<Complex<Single>>, Int32, Single, Single)

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

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

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<Single>>, Int32, Span<Complex<Single>>, Int32, Single, Single)

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<float>> cx,
	int incx,
	Span<Complex<float>> cy,
	int incy,
	float c,
	float 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<Single>>
            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<Single>>
            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  Single
             On entry, C specifies the cosine, cos.
            
s  Single
             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<Single>, Int32, Span<Single>, Int32, Single, Single)

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<float> x,
	int incx,
	Span<float> y,
	int incy,
	float c,
	float s
)

Parameters

n  Int32
             On entry, N specifies the order of the vectors cx and cy.
             N must be at least zero.
            
x  Span<Single>
A span containing the elements of the vector x.
incx  Int32
             On entry, INCX specifies the increment for the elements of
             CX. INCX must not be zero.
            
y  Span<Single>
A span containing the elements of the vector y.
incy  Int32
             On entry, INCY specifies the increment for the elements of
             CY. INCY must not be zero.
            
c  Single
             On entry, C specifies the cosine, cos.
            
s  Single
             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

See Also