using dgetrf on a matrix of size m xn when n >m

조회 수: 2 (최근 30일)
Adrianna
Adrianna 2011년 6월 22일
I would like to use the lapack LU factorization with pivoting ie. dgetrf. I need the pivoting to be wrt to the rows of a matrix A that is size m x n where m<n.
If I could call lapack directly from matlab this would work. However when I try to call the command from matlab. Matlab crashes.
I have a stupid fix which is to fill the expand the matrix A to a square matrix Atil which has A as the upper block and zeros below. This works but sets off a warning inside of dgetrf and it prints this warning each time. Is either possible to turn off the warning or is there are smarter fix for this problem?
Thanks in advance for your help.
  댓글 수: 1
Jan
Jan 2011년 6월 23일
How do you call dgetrf directly from Matlab? And which warning appears?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by