LinearAlgebraOperationsExtensions.BandHermitianMultiplyAndAddInPlace Method

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0

Overload List

BandHermitianMultiplyAndAddInPlace<T>(ILinearAlgebraOperations<T>, MatrixTriangle, Int32, Int32, T, ReadOnlySpan2D<T>, ReadOnlySpanSlice<T>, T, SpanSlice<T>)

Computes a scaled Hermitian band matrix-vector product and adds it to a scaled result vector.
C#
public static void BandHermitianMultiplyAndAddInPlace<T>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle uplo,
	int n,
	int k,
	T alpha,
	ReadOnlySpan2D<T> a,
	ReadOnlySpanSlice<T> x,
	T beta,
	SpanSlice<T> y
)

Parameters

operations  ILinearAlgebraOperations<T>
 
uplo  MatrixTriangle
 
n  Int32
 
k  Int32
 
alpha  T
 
a  ReadOnlySpan2D<T>
 
x  ReadOnlySpanSlice<T>
 
beta  T
 
y  SpanSlice<T>
 

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

BandHermitianMultiplyAndAddInPlace<T, TStorage, TStorage2D>(ILinearAlgebraOperations<T>, MatrixTriangle, Int32, Int32, T, TStorage2D, TStorage, T, TStorage)

Computes a scaled Hermitian band matrix-vector product and adds it to a scaled result vector.
C#
public static void BandHermitianMultiplyAndAddInPlace<T, TStorage, TStorage2D>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle storedTriangle,
	int n,
	int k,
	T alpha,
	TStorage2D a,
	TStorage x,
	T beta,
	TStorage y
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>

Parameters

operations  ILinearAlgebraOperations<T>
 
storedTriangle  MatrixTriangle
 
n  Int32
 
k  Int32
 
alpha  T
 
a  TStorage2D
 
x  TStorage
 
beta  T
 
y  TStorage
 

Type Parameters

T
TStorage
TStorage2D

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also