Library/ManagedCuda/CudaSolve/CudaSolveNativeMethods.cs
/// <summary>
/// generate unitary matrix Q from QR factorization
/// </summary>
/// <param name="handle">handle to the cuSolverDN library context.</param>
/// <param name="m">number of rows of matrix Q. m >= 0;</param>
/// <param name="n">number of columns of matrix Q. m >= n >= 0;</param>
/// <param name="k">number of elementary relfections whose product defines the matrix Q. n >= k >= 0;</param>
/// <param name="A">array of dimension lda * n with lda is not less than max(1,m).
/// i-th column of A contains elementary reflection vector.</param>
/// <param name="lda">leading dimension of two-dimensional array used to store matrix A. lda >= max(1,m).</param>
/// <param name="tau">array of dimension k. tau(i) is the scalar of i-th elementary reflection vector.</param>
/// <param name="work">working space, rray of size lwork.</param>
/// <param name="lwork">size of working array work.</param>
/// <param name="info">if info = 0, the orgqr is successful. if info = -i, the i-th parameter is wrong.</param>
generate unitary matrix Q from QR factorization
generate unitary matrix Q from QR factorization
[DllImport(CUSOLVE_API_DLL_NAME)]
			public static extern cusolverStatus cusolverDnDorgqr(
				cusolverDnHandle handle,
				int m,
				int n,
				int k,
				CUdeviceptr A,
				int lda,
				CUdeviceptr tau,
				CUdeviceptr work,
				int lwork,
				CUdeviceptr info);
[ DllImport ( CUSOLVE_API_DLL_NAME ) ] public static extern cusolverStatus cusolverDnDorgqr ( cusolverDnHandle handle , int m , int n , int k , CUdeviceptr A , int lda , CUdeviceptr tau , CUdeviceptr work , int lwork , CUdeviceptr info ) ;
generate unitary matrix Q from QR factorization
generate unitary matrix Q from QR factorization
handle
cusolverDnHandle
handle to the cuSolverDN library context.
handle to the cuSolverDN library context .
m
int
number of rows of matrix Q. m >= 0.
number of rows of matrix Q . m > = 0 .
n
int
number of columns of matrix Q.
number of columns of matrix Q .
k
int
number of elementary relfections whose product defines the matrix Q.
number of elementary relfections whose product defines the matrix Q .
A
CUdeviceptr
array of dimension lda * n with lda is not less than max(1,m).
i-th column of A contains elementary reflection vector.
array of dimension lda * n with lda is not less than max ( 1 m ) . i - th column of A contains elementary reflection vector .
lda
int
leading dimension of two-dimensional array used to store matrix A.
leading dimension of two - dimensional array used to store matrix A .
tau
CUdeviceptr
array of dimension k. tau(i) is the scalar of i-th elementary reflection vector.
array of dimension k . tau ( i ) is the scalar of i - th elementary reflection vector .
work
CUdeviceptr
working space, rray of size lwork.
working space rray of size lwork .
lwork
int
size of working array work.
size of working array work .
info
CUdeviceptr
if info = 0, the orgqr is successful. if info = -i, the i-th parameter is wrong.
if info = 0 the orgqr is successful . if info = - i the i - th parameter is wrong .