Lines Matching refs:cols
78 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols())
81 ::new (&m_qr) QRType(svd.rows(), svd.cols());
88 if(matrix.rows() > matrix.cols())
91 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.cols(),matrix.cols()).template triangularView<Upper>();
124 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols())
127 ::new (&m_qr) QRType(svd.cols(), svd.rows());
129 m_adjoint.resize(svd.cols(), svd.rows());
130 if (svd.m_computeFullV) m_workspace.resize(svd.cols());
135 if(matrix.cols() > matrix.rows())
161 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols())
164 ::new (&m_qr) QRType(svd.rows(), svd.cols());
167 else if (svd.m_computeThinU) m_workspace.resize(svd.cols());
172 if(matrix.rows() > matrix.cols())
175 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.cols(),matrix.cols()).template triangularView<Upper>();
179 svd.m_matrixU.setIdentity(matrix.rows(), matrix.cols());
215 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols())
218 ::new (&m_qr) QRType(svd.cols(), svd.rows());
220 if (svd.m_computeFullV) m_workspace.resize(svd.cols());
222 m_adjoint.resize(svd.cols(), svd.rows());
227 if(matrix.cols() > matrix.rows())
236 svd.m_matrixV.setIdentity(matrix.cols(), matrix.rows());
260 if (svd.rows() != m_qr.rows() || svd.cols() != m_qr.cols())
263 ::new (&m_qr) QRType(svd.rows(), svd.cols());
266 else if (svd.m_computeThinU) m_workspace.resize(svd.cols());
271 if(matrix.rows() > matrix.cols())
274 svd.m_workMatrix = m_qr.matrixQR().block(0,0,matrix.cols(),matrix.cols()).template triangularView<Upper>();
278 svd.m_matrixU.setIdentity(matrix.rows(), matrix.cols());
281 if(svd.computeV()) svd.m_matrixV.setIdentity(matrix.cols(), matrix.cols());
311 if (svd.cols() != m_qr.rows() || svd.rows() != m_qr.cols())
314 ::new (&m_qr) QRType(svd.cols(), svd.rows());
316 if (svd.m_computeFullV) m_workspace.resize(svd.cols());
318 m_adjoint.resize(svd.cols(), svd.rows());
323 if(matrix.cols() > matrix.rows())
332 svd.m_matrixV.setIdentity(matrix.cols(), matrix.rows());
531 JacobiSVD(Index rows, Index cols, unsigned int computationOptions = 0)
533 allocate(rows, cols, computationOptions);
577 using Base::cols;
581 void allocate(Index rows, Index cols, unsigned int computationOptions);
613 void JacobiSVD<MatrixType, QRPreconditioner>::allocate(Index rows, Index cols, unsigned int computationOptions)
615 eigen_assert(rows >= 0 && cols >= 0);
619 cols == m_cols &&
626 m_cols = cols;
658 if(m_rows!=m_cols) m_scaledMatrix.resize(rows,cols);
666 allocate(matrix.rows(), matrix.cols(), computationOptions);