LinearAlgebraOperationsExtensions.MultiplyAndAddInPlace Method

Overload List

MultiplyAndAddInPlace<T>(ILinearAlgebraOperations<T>, Int32, T, ReadOnlySpanSlice<T>, SpanSlice<T>)

Constant times a vector plus a vector.

MultiplyAndAddInPlace<T>(ILinearAlgebraOperations<T>, TransposeOperation, Int32, Int32, T, ReadOnlySpan2D<T>, ReadOnlySpanSlice<T>, T, SpanSlice<T>)

Performs one of the matrix-vector operations y := alpha*A*x + beta*y, or y := alpha*AT*x + beta*y, where alpha and beta are scalars, x and y are vectors and A is an m by n matrix.

MultiplyAndAddInPlace<T>(ILinearAlgebraOperations<T>, TransposeOperation, TransposeOperation, Int32, Int32, Int32, T, ReadOnlySpan2D<T>, ReadOnlySpan2D<T>, T, Span2D<T>)

Performs one of the matrix-matrix operations C := alpha*op( A )*op( B ) + beta*C, where op( X ) is one of op( X ) = X or op( X ) = XT, alpha and beta are scalars, and A, B and C are matrices, with op( A ) an m by k matrix, op( B ) a k by n matrix and C an m by n matrix.

MultiplyAndAddInPlace<T, TStorage>(ILinearAlgebraOperations<T>, Int32, T, TStorage, TStorage) Evaluates a vector plus the product of a scalar and a vector
MultiplyAndAddInPlace<T, TStorage2D>(ILinearAlgebraOperations<T>, TransposeOperation, TransposeOperation, Int32, Int32, Int32, T, TStorage2D, TStorage2D, T, TStorage2D) Sum of the product of two general matrices and a scaled matrix.
MultiplyAndAddInPlace<T, TStorage, TStorage2D>(ILinearAlgebraOperations<T>, TransposeOperation, Int32, Int32, T, TStorage2D, TStorage, T, TStorage) Sum of the product of a general matrix and vector and a scaled vector.

See Also