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 packed 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="AP">array with A stored in packed format.</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 packed 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 packed format x is a vector and alpha is a scalar . n is given by x . Size .
public void Hpr(FillMode uplo, CudaDeviceVariable<double> alpha, CudaDeviceVariable<cuDoubleComplex> x, int incx, CudaDeviceVariable<cuDoubleComplex> AP)
		{
			_status = CudaBlasNativeMethods.cublasZhpr_v2(_blasHandle, uplo, x.Size, alpha.DevicePointer, x.DevicePointer, incx, AP.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasZhpr_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Hpr ( FillMode uplo , CudaDeviceVariable < double > alpha , CudaDeviceVariable < cuDoubleComplex > x , int incx , CudaDeviceVariable < cuDoubleComplex > AP ) { _status = CudaBlasNativeMethods . cublasZhpr_v2 ( _blasHandle , uplo , x . Size , alpha . DevicePointer , x . DevicePointer , incx , AP . DevicePointer ) ; 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 packed 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 packed 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
CudaDeviceVariable<double>
scalar used for multiplication.
scalar used for multiplication .
x
CudaDeviceVariable<cuDoubleComplex>
vector with n elements.
vector with n elements .
incx
int
stride between consecutive elements of x.
stride between consecutive elements of x .
AP
CudaDeviceVariable<cuDoubleComplex>
array with A stored in packed format.
array with A stored in packed format .