ManagedLinearAlgebraOperationsOfSingle.RankUpdate Method

Definition

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

Overload List

RankUpdate(Int32, Int32, T, ArraySlice<T>, ArraySlice<T>, Array2D<T>)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.

RankUpdate(Int32, Int32, Complex<T>, ArraySlice<Complex<T>>, ArraySlice<Complex<T>>, Array2D<Complex<T>>)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.

RankUpdate(Int32, Int32, Complex<T>, ReadOnlySpanSlice<Complex<T>>, ReadOnlySpanSlice<Complex<T>>, Span2D<Complex<T>>)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.

RankUpdate(Int32, Int32, Complex<Single>, ReadOnlySpan<Complex<Single>>, Int32, ReadOnlySpan<Complex<Single>>, Int32, Span<Complex<Single>>, Int32)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x, incx is an m element vector, y, incy is an n element vector and A is an m by n matrix.

RankUpdate(Int32, Int32, Single, ReadOnlySpan<Single>, Int32, ReadOnlySpan<Single>, Int32, Span<Single>, Int32)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.

RankUpdate(Int32, Int32, Complex<Single>, ReadOnlySpan<Complex<Single>>, Int32, ReadOnlySpan<Complex<Single>>, Int32, Span<Complex<Single>>, Int32)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x, incx is an m element vector, y, incy is an n element vector and A is an m by n matrix.

C#
public override void RankUpdate(
	int m,
	int n,
	Complex<float> alpha,
	ReadOnlySpan<Complex<float>> x,
	int incx,
	ReadOnlySpan<Complex<float>> y,
	int incy,
	Span<Complex<float>> a,
	int lda
)

Parameters

m  Int32
             On entry, M specifies the number of rows of the matrix A.
             M must be at least zero.
            
n  Int32
             On entry, N specifies the number of columns of the matrix A.
             N must be at least zero.
            
alpha  Complex<Single>
             On entry, ALPHA specifies the scalar alpha.
            
x  ReadOnlySpan<Complex<Single>>
            X is complex array of dimension at least
             ( 1 + ( m - 1 )*abs( INCX ) ).
             Before entry, the incremented array X must contain the m
             element vector x.
            
incx  Int32
             On entry, INCX specifies the increment for the elements of
             X. INCX must not be zero.
            
y  ReadOnlySpan<Complex<Single>>
            Y is complex array of dimension at least
             ( 1 + ( n - 1 )*abs( INCY ) ).
             Before entry, the incremented array Y must contain the n
             element vector y.
            
incy  Int32
             On entry, INCY specifies the increment for the elements of
             Y. INCY must not be zero.
            
a  Span<Complex<Single>>
            A is complex array of DIMENSION ( LDA, n ).
             Before entry, the leading m by n part of the array A must
             contain the matrix of coefficients. On exit, A is
             overwritten by the updated matrix.
            
lda  Int32
             On entry, LDA specifies the first dimension of A as declared
             in the calling (sub) program. LDA must be at least
             max( 1, m ).
            

Implements

ILinearAlgebraOperations<T>.RankUpdate(Int32, Int32, T, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Remarks

Further Details:

            Level 2 LinearAlgebra routine.
            -- Written on 22-October-1986.
               Jack Dongarra, Argonne National Lab.
               Jeremy Du Croz, Nag Central Office.
               Sven Hammarling, Nag Central Office.
               Richard Hanson, Sandia National Labs.
            

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

Date: November 2011

RankUpdate(Int32, Int32, Single, ReadOnlySpan<Single>, Int32, ReadOnlySpan<Single>, Int32, Span<Single>, Int32)

Performs the rank 1 operation A := alpha*x*y**T + A, where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix.

C#
public override void RankUpdate(
	int m,
	int n,
	float alpha,
	ReadOnlySpan<float> x,
	int incx,
	ReadOnlySpan<float> y,
	int incy,
	Span<float> a,
	int lda
)

Parameters

m  Int32
             On entry, M specifies the number of rows of the matrix A.
             M must be at least zero.
            
n  Int32
             On entry, N specifies the number of columns of the matrix A.
             N must be at least zero.
            
alpha  Single
            ALPHA is DOUBLE PRECISION.
             On entry, ALPHA specifies the scalar alpha.
            
x  ReadOnlySpan<Single>
            X is DOUBLE PRECISION array of dimension at least
             ( 1 + ( m - 1 )*abs( INCX ) ).
             Before entry, the incremented array X must contain the m
             element vector x.
            
incx  Int32
             On entry, INCX specifies the increment for the elements of
             X. INCX must not be zero.
            
y  ReadOnlySpan<Single>
            Y is DOUBLE PRECISION array of dimension at least
             ( 1 + ( n - 1 )*abs( INCY ) ).
             Before entry, the incremented array Y must contain the n
             element vector y.
            
incy  Int32
             On entry, INCY specifies the increment for the elements of
             Y. INCY must not be zero.
            
a  Span<Single>
            A is DOUBLE PRECISION array of DIMENSION ( LDA, n ).
             Before entry, the leading m by n part of the array A must
             contain the matrix of coefficients. On exit, A is
             overwritten by the updated matrix.
            
lda  Int32
             On entry, LDA specifies the first dimension of A as declared
             in the calling (sub) program. LDA must be at least
             max( 1, m ).
            

Implements

ILinearAlgebraOperations<T>.RankUpdate(Int32, Int32, T, ReadOnlySpan<T>, Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Remarks

Further Details:

            Level 2 LinearAlgebra routine.
            -- Written on 22-October-1986.
               Jack Dongarra, Argonne National Lab.
               Jeremy Du Croz, Nag Central Office.
               Sven Hammarling, Nag Central Office.
               Richard Hanson, Sandia National Labs.
            

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

Date: November 2011

See Also