Searched refs:diagSize (Results 1 - 11 of 11) sorted by relevance

/external/eigen/unsupported/Eigen/src/Skyline/
H A DSkylineStorage.h57 resize(other.diagSize(), other.m_upperProfileSize, other.m_lowerProfileSize, other.upperSize(), other.lowerSize());
98 void resize(Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize, float reserveSizeFactor = 0) { argument
99 if (m_allocatedSize < diagSize + upperSize + lowerSize)
100 reallocate(diagSize, upperProfileSize, lowerProfileSize, upperSize + Index(reserveSizeFactor * upperSize), lowerSize + Index(reserveSizeFactor * lowerSize));
101 m_diagSize = diagSize;
108 inline Index diagSize() const { function in class:Eigen::SkylineStorage
203 inline void reallocate(Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize) { argument
205 Scalar* diag = new Scalar[diagSize];
211 Index copyDiagSize = (std::min)(diagSize, m_diagSize);
237 m_allocatedSize = diagSize
[all...]
H A DSkylineMatrix.h384 return m_data.diagSize() + m_data.upperSize() + m_data.lowerSize();
590 const Index diagSize = rows > cols ? cols : rows;
595 if (diagSize % 2) { // diagSize is odd
596 const Index k = (diagSize - 1) / 2;
598 m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
602 } else // diagSize is even
604 const Index k = diagSize / 2;
605 m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
616 m_outerSize = diagSize;
[all...]
/external/eigen/Eigen/src/Core/products/
H A DTriangularMatrixMatrix_MKL.h101 Index diagSize = (std::min)(_rows,_depth); \
102 Index rows = IsLower ? _rows : diagSize; \
103 Index depth = IsLower ? diagSize : _depth; \
114 if (((nthr==1) && (((std::max)(rows,depth)-diagSize)/(double)diagSize < 0.5))) { \
143 m = (MKL_INT)diagSize; \
215 Index diagSize = (std::min)(_cols,_depth); \
217 Index depth = IsLower ? _depth : diagSize; \
218 Index cols = IsLower ? diagSize : _cols; \
228 if ((nthr==1) && (((std::max)(cols,depth)-diagSize)/(doubl
[all...]
H A DTriangularMatrixVector.h107 Index diagSize = (std::min)(_rows,_cols); local
108 Index rows = IsLower ? _rows : diagSize;
109 Index cols = IsLower ? diagSize : _cols;
122 for (Index pi=0; pi<diagSize; pi+=PanelWidth)
124 Index actualPanelWidth = (std::min)(PanelWidth, diagSize-pi);
146 if(IsLower && rows>diagSize)
149 rows-diagSize, cols,
150 &lhs.coeffRef(diagSize,0), lhsStride,
152 &res.coeffRef(diagSize), resIncr, alpha);
H A DTriangularMatrixMatrix.h115 Index diagSize = (std::min)(_rows,_depth); local
116 Index rows = IsLower ? _rows : diagSize;
117 Index depth = IsLower ? diagSize : _depth;
256 Index diagSize = (std::min)(_cols,_depth); local
258 Index depth = IsLower ? _depth : diagSize;
259 Index cols = IsLower ? diagSize : _cols;
/external/eigen/Eigen/src/SparseCore/
H A DSparseColEtree.h66 Index diagSize = (std::min)(nc,m); local
76 firstRowElt.segment(0, diagSize).setLinSpaced(diagSize, 0, diagSize-1);
/external/eigen/unsupported/test/
H A Dsvd_common.h62 Index diagSize = (std::min)(rows, cols); local
70 VERIFY_IS_APPROX(svd.matrixU(), referenceSvd.matrixU().leftCols(diagSize));
74 VERIFY_IS_APPROX(svd.matrixV(), referenceSvd.matrixV().leftCols(diagSize));
133 Index diagSize = (std::min)(m.rows(), m.cols()); local
135 VERIFY_IS_APPROX(m, svd.matrixU().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV().leftCols(diagSize).adjoint());
/external/eigen/Eigen/src/SparseQR/
H A DSparseQR.h289 Index diagSize = (std::min)(m,n); local
302 m_Q.resize(m, diagSize);
307 m_hcoeffs.resize(diagSize);
327 Index diagSize = (std::min)(m,n); local
453 if(nonzeroCol < diagSize)
493 if(nonzeroCol < diagSize && abs(beta) >= pivotThreshold)
506 if(nonzeroCol<diagSize)
520 m_hcoeffs.tail(diagSize-nonzeroCol).setZero();
592 Index diagSize = (std::min)(m,n); local
599 for (Index k = 0; k < diagSize;
[all...]
/external/eigen/test/
H A Djacobisvd.cpp51 Index diagSize = (std::min)(rows, cols); local
59 VERIFY_IS_APPROX(svd.matrixU(), referenceSvd.matrixU().leftCols(diagSize));
63 VERIFY_IS_APPROX(svd.matrixV(), referenceSvd.matrixV().leftCols(diagSize));
204 Index diagSize = (std::min)(m.rows(), m.cols());
206 VERIFY_IS_APPROX(m, svd.matrixU().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV().leftCols(diagSize).adjoint());
219 Index diagSize = (std::min)(a.rows(), a.cols());
222 Matrix<RealScalar,Dynamic,1> d = Matrix<RealScalar,Dynamic,1>::Random(diagSize);
223 for(Index k=0; k<diagSize; ++k)
225 m = Matrix<Scalar,Dynamic,Dynamic>::Random(a.rows(),diagSize) *
[all...]
/external/eigen/unsupported/Eigen/src/SVD/
H A DBDCSVD.h714 Index diagSize = (std::min)(dec().rows(), dec().cols()); local
715 typename BDCSVDType::SingularValuesType invertedSingVals(diagSize);
718 invertedSingVals.tail(diagSize - nonzeroSingVals).setZero();
720 dst = dec().matrixV().leftCols(diagSize)
722 * dec().matrixU().leftCols(diagSize).adjoint()
H A DJacobiSVD.h751 Index diagSize = (std::min)(dec().rows(), dec().cols()); local
752 typename JacobiSVDType::SingularValuesType invertedSingVals(diagSize);
756 invertedSingVals.tail(diagSize - nonzeroSingVals).setZero();
758 dst = dec().matrixV().leftCols(diagSize)
760 * dec().matrixU().leftCols(diagSize).adjoint()

Completed in 751 milliseconds