Home | History | Annotate | Download | only in SVD

Lines Matching full:rows

79     if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols())
81 m_qr = FullPivHouseholderQR<MatrixType>(svd.rows(), svd.cols());
83 if (svd.m_computeFullU) m_workspace.resize(svd.rows());
88 if(matrix.rows() > matrix.cols())
122 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols())
124 m_qr = FullPivHouseholderQR<TransposeTypeWithSameStorageOrder>(svd.cols(), svd.rows());
126 m_adjoint.resize(svd.cols(), svd.rows());
132 if(matrix.cols() > matrix.rows())
136 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.rows(),matrix.rows()).template triangularView<Upper>().adjoint();
159 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols())
161 m_qr = ColPivHouseholderQR<MatrixType>(svd.rows(), svd.cols());
163 if (svd.m_computeFullU) m_workspace.resize(svd.rows());
169 if(matrix.rows() > matrix.cols())
176 svd.m_matrixU.setIdentity(matrix.rows(), matrix.cols());
210 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols())
212 m_qr = ColPivHouseholderQR<TransposeTypeWithSameStorageOrder>(svd.cols(), svd.rows());
215 else if (svd.m_computeThinV) m_workspace.resize(svd.rows());
216 m_adjoint.resize(svd.cols(), svd.rows());
221 if(matrix.cols() > matrix.rows())
226 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.rows(),matrix.rows()).template triangularView<Upper>().adjoint();
230 svd.m_matrixV.setIdentity(matrix.cols(), matrix.rows());
255 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols())
257 m_qr = HouseholderQR<MatrixType>(svd.rows(), svd.cols());
259 if (svd.m_computeFullU) m_workspace.resize(svd.rows());
265 if(matrix.rows() > matrix.cols())
272 svd.m_matrixU.setIdentity(matrix.rows(), matrix.cols());
305 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols())
307 m_qr = HouseholderQR<TransposeTypeWithSameStorageOrder>(svd.cols(), svd.rows());
310 else if (svd.m_computeThinV) m_workspace.resize(svd.rows());
311 m_adjoint.resize(svd.cols(), svd.rows());
316 if(matrix.cols() > matrix.rows())
321 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.rows(),matrix.rows()).template triangularView<Upper>().adjoint();
325 svd.m_matrixV.setIdentity(matrix.cols(), matrix.rows());
328 if(svd.computeU()) svd.m_matrixU.setIdentity(matrix.rows(), matrix.rows());
528 JacobiSVD(Index rows, Index cols, unsigned int computationOptions = 0)
534 allocate(rows, cols, computationOptions);
652 inline Index rows() const { return m_rows; }
656 void allocate(Index rows, Index cols, unsigned int computationOptions);
679 void JacobiSVD<MatrixType, QRPreconditioner>::allocate(Index rows, Index cols, unsigned int computationOptions)
681 eigen_assert(rows >= 0 && cols >= 0);
684 rows == m_rows &&
691 m_rows = rows;
728 allocate(matrix.rows(), matrix.cols(), computationOptions);
831 eigen_assert(rhs().rows() == dec().rows());
836 Index diagSize = (std::min)(dec().rows(), dec().cols());