Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function performs the Hermitian rank-1 update A = alpha * x * x^H + A where A is a n*n Hermitian Matrix stored in column-major format,
/// x is a vector, and alpha is a scalar. n is given by x.Size.
/// </summary>
/// <param name="uplo">indicates if matrix A lower or upper part, is stored, the other symmetric part is not referenced and is inferred from the stored elements.</param>
/// <param name="alpha">scalar used for multiplication.</param>
/// <param name="x">vector with n elements.</param>
/// <param name="incx">stride between consecutive elements of x.</param>
/// <param name="A">array of dimensions lda * n, with lda >= max(1,n).</param>
/// <param name="lda">leading dimension of two-dimensional array used to store matrix A.</param>
This function performs the Hermitian rank-1 update A = alpha * x * x^H + A where A is a n*n Hermitian Matrix stored in column-major format,
x is a vector, and alpha is a scalar. n is given by x.Size.
This function performs the Hermitian rank - 1 update A = alpha * x * x^H + A where A is a n * n Hermitian Matrix stored in column - major format x is a vector and alpha is a scalar . n is given by x . Size .
public void Her(FillMode uplo, float alpha, CudaDeviceVariable<cuFloatComplex> x, int incx, CudaDeviceVariable<cuFloatComplex> A, int lda)
		{
			_status = CudaBlasNativeMethods.cublasCher_v2(_blasHandle, uplo, x.Size, ref alpha, x.DevicePointer, incx, A.DevicePointer, lda);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasCher_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Her ( FillMode uplo , float alpha , CudaDeviceVariable < cuFloatComplex > x , int incx , CudaDeviceVariable < cuFloatComplex > A , int lda ) { _status = CudaBlasNativeMethods . cublasCher_v2 ( _blasHandle , uplo , x . Size , ref alpha , x . DevicePointer , incx , A . DevicePointer , lda ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function performs the Hermitian rank-1 update A = alpha * x * x^H + A where A is a n*n Hermitian Matrix stored in column-major format,
x is a vector, and alpha is a scalar.
This function performs the Hermitian rank - 1 update A = alpha * x * x^H + A where A is a n * n Hermitian Matrix stored in column - major format x is a vector and alpha is a scalar .
uplo
FillMode
indicates if matrix A lower or upper part, is stored, the other symmetric part is not referenced and is inferred from the stored elements.
indicates if matrix A lower or upper part is stored the other symmetric part is not referenced and is inferred from the stored elements .
alpha
float
scalar used for multiplication.
scalar used for multiplication .
x
CudaDeviceVariable<cuFloatComplex>
vector with n elements.
vector with n elements .
incx
int
stride between consecutive elements of x.
stride between consecutive elements of x .
A
CudaDeviceVariable<cuFloatComplex>
array of dimensions lda * n, with lda >= max(1,n).
array of dimensions lda * n with lda > = max ( 1 n ) .
lda
int
leading dimension of two-dimensional array used to store matrix A.
leading dimension of two - dimensional array used to store matrix A .