Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function performs the conversion from the triangular format to the triangular
/// packed format.<para/>
/// If uplo == CUBLAS_FILL_MODE_LOWER then the lower triangular part of the triangular
/// matrix A is copied into the array AP. <para/>If uplo == CUBLAS_FILL_MODE_UPPER then then
/// the upper triangular part of the triangular matrix A is copied into the array AP
/// </summary>
/// <param name="uplo">indicates which matrix A lower or upper part is referenced</param>
/// <param name="n">number of rows and columns of matrix A.</param>
/// <param name="A">array of dimensions lda x n , with lda&gt;=max(1,n).</param>
/// <param name="lda">leading dimension of two-dimensional array used to store matrix A.</param>
/// <param name="AP">array with A stored in packed format.</param>
This function performs the conversion from the triangular format to the triangular
packed format.
If uplo == CUBLAS_FILL_MODE_LOWER then the lower triangular part of the triangular
matrix A is copied into the array AP. If uplo == CUBLAS_FILL_MODE_UPPER then then
the upper triangular part of the triangular matrix A is copied into the array AP
This function performs the conversion from the triangular format to the triangular packed format . If uplo == CUBLAS_FILL_MODE_LOWER then the lower triangular part of the triangular matrix A is copied into the array AP . If uplo == CUBLAS_FILL_MODE_UPPER then then the upper triangular part of the triangular matrix A is copied into the array AP
public void Ctrttp(FillMode uplo, int n, CudaDeviceVariable<cuFloatComplex> A, int lda, CudaDeviceVariable<cuFloatComplex> AP)
		{
			_status = CudaBlasNativeMethods.cublasCtrttp(_blasHandle, uplo, n, A.DevicePointer, lda, AP.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasCtrttp", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Ctrttp ( FillMode uplo , int n , CudaDeviceVariable < cuFloatComplex > A , int lda , CudaDeviceVariable < cuFloatComplex > AP ) { _status = CudaBlasNativeMethods . cublasCtrttp ( _blasHandle , uplo , n , A . DevicePointer , lda , AP . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function performs the conversion from the triangular format to the triangular
packed format.
This function performs the conversion from the triangular format to the triangular packed format .
uplo
FillMode
indicates which matrix A lower or upper part is referenced
indicates which matrix A lower or upper part is referenced
n
int
number of rows and columns of matrix A.
number of rows and columns of matrix A .
A
CudaDeviceVariable<cuFloatComplex>
array of dimensions lda x n , with lda>=max(1,n).
array of dimensions lda x 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 .
AP
CudaDeviceVariable<cuFloatComplex>
array with A stored in packed format.
array with A stored in packed format .