#NEWLINE# def culaDeviceDgels( trans , m , n , nrhs , a , lda , b , ldb ) : #NEWLINE# #INDENT# '\n        Solve linear system with QR or LQ factorization.\n\n        ' #NEWLINE# trans = trans . encode ( 'ascii' ) #NEWLINE# status = _libcula . culaDeviceDgels ( trans , m , n , nrhs , int ( a ) , lda , int ( b ) , ldb ) #NEWLINE# culaCheckStatus ( status )