Possible bug in xLASCL in checking parameters?
Hello,
The leading dimension for a band matrix with KL subdiagonals an KU super diagonals must be ldab=max(1,KL+KU+1) as it is explained in http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/index.jsp?topic=/com.ibm.cluster.essl43.guideref.doc/am501_upbsm.html and checked in, for example, http://www.netlib.org/lapack/double/dgbbrd.f.
But in soubrutines xLASCL (http://www.netlib.org/lapack/double/dlascl.f, for example) we can see a test of band matrix as LDA.LT.2*KL+KU+1. What's the meaning of the '2*KL'? I think that the correct way must be LDA.LT.KL+KU+1. Am I wrong or is a real bug?
Thanks.
The leading dimension for a band matrix with KL subdiagonals an KU super diagonals must be ldab=max(1,KL+KU+1) as it is explained in http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/index.jsp?topic=/com.ibm.cluster.essl43.guideref.doc/am501_upbsm.html and checked in, for example, http://www.netlib.org/lapack/double/dgbbrd.f.
But in soubrutines xLASCL (http://www.netlib.org/lapack/double/dlascl.f, for example) we can see a test of band matrix as LDA.LT.2*KL+KU+1. What's the meaning of the '2*KL'? I think that the correct way must be LDA.LT.KL+KU+1. Am I wrong or is a real bug?
Thanks.