Home
last modified time | relevance | path

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

/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineStorage.h57 …resize(other.diagSize(), other.m_upperProfileSize, other.m_lowerProfileSize, other.upperSize(), ot…
98 …void resize(Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index…
99 if (m_allocatedSize < diagSize + upperSize + lowerSize)
100 …reallocate(diagSize, upperProfileSize, lowerProfileSize, upperSize + Index(reserveSizeFactor * upp…
101 m_diagSize = diagSize;
108 inline Index diagSize() const { in diagSize() function
203 …inline void reallocate(Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upper… in reallocate() argument
205 Scalar* diag = new Scalar[diagSize]; in reallocate()
211 Index copyDiagSize = (std::min)(diagSize, m_diagSize); in reallocate()
237 m_allocatedSize = diagSize + upperSize + lowerSize; in reallocate()
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,
604 const Index k = diagSize / 2;
605 m_data.resize(diagSize, IsRowMajor ? cols : rows, IsRowMajor ? rows : cols,
616 m_outerSize = diagSize;
621 m_outerSize = diagSize;
/external/eigen/Eigen/src/Core/products/
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)/(double)diagSize < 0.5)) { \
258 n = (MKL_INT)diagSize; \
DTriangularMatrixVector.h107 Index diagSize = (std::min)(_rows,_cols);
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);
DTriangularMatrixMatrix.h115 Index diagSize = (std::min)(_rows,_depth);
116 Index rows = IsLower ? _rows : diagSize;
117 Index depth = IsLower ? diagSize : _depth;
256 Index diagSize = (std::min)(_cols,_depth);
258 Index depth = IsLower ? _depth : diagSize;
259 Index cols = IsLower ? diagSize : _cols;
/external/eigen/test/
Djacobisvd.cpp51 Index diagSize = (std::min)(rows, cols); in jacobisvd_compare_to_full() local
59 VERIFY_IS_APPROX(svd.matrixU(), referenceSvd.matrixU().leftCols(diagSize)); in jacobisvd_compare_to_full()
63 VERIFY_IS_APPROX(svd.matrixV(), referenceSvd.matrixV().leftCols(diagSize)); in jacobisvd_compare_to_full()
204 Index diagSize = (std::min)(m.rows(), m.cols()); in jacobisvd_test_all_computation_options() local
206 …_IS_APPROX(m, svd.matrixU().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV()… in jacobisvd_test_all_computation_options()
219 Index diagSize = (std::min)(a.rows(), a.cols()); in jacobisvd() local
222 Matrix<RealScalar,Dynamic,1> d = Matrix<RealScalar,Dynamic,1>::Random(diagSize); in jacobisvd()
223 for(Index k=0; k<diagSize; ++k) in jacobisvd()
225 …lar,Dynamic,Dynamic>::Random(a.rows(),diagSize) * d.asDiagonal() * Matrix<Scalar,Dynamic,Dynamic>:… in jacobisvd()
/external/eigen/Eigen/src/SparseCore/
DSparseColEtree.h66 Index diagSize = (std::min)(nc,m); variable
76 firstRowElt.segment(0, diagSize).setLinSpaced(diagSize, 0, diagSize-1);
/external/eigen/Eigen/src/SparseQR/
DSparseQR.h292 Index diagSize = (std::min)(m,n);
306 m_Q.resize(m, diagSize);
311 m_hcoeffs.resize(diagSize);
331 Index diagSize = (std::min)(m,n);
482 if(nonzeroCol < diagSize)
521 if(nonzeroCol < diagSize && abs(beta) >= pivotThreshold)
534 if(nonzeroCol<diagSize)
549 m_hcoeffs.tail(diagSize-nonzeroCol).setZero();
621 Index diagSize = (std::min)(m,n);
628 for (Index k = 0; k < diagSize; k++)
[all …]
/external/eigen/unsupported/test/
Dsvd_common.h62 Index diagSize = (std::min)(rows, cols); in svd_compare_to_full() local
70 VERIFY_IS_APPROX(svd.matrixU(), referenceSvd.matrixU().leftCols(diagSize)); in svd_compare_to_full()
74 VERIFY_IS_APPROX(svd.matrixV(), referenceSvd.matrixV().leftCols(diagSize)); in svd_compare_to_full()
133 Index diagSize = (std::min)(m.rows(), m.cols()); in svd_test_computation_options_2() local
135 …_IS_APPROX(m, svd.matrixU().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV()… in svd_test_computation_options_2()
/external/eigen/unsupported/Eigen/src/SVD/
DJacobiSVD.h751 Index diagSize = (std::min)(dec().rows(), dec().cols());
752 typename JacobiSVDType::SingularValuesType invertedSingVals(diagSize);
756 invertedSingVals.tail(diagSize - nonzeroSingVals).setZero();
758 dst = dec().matrixV().leftCols(diagSize)
760 * dec().matrixU().leftCols(diagSize).adjoint()
DBDCSVD.h714 Index diagSize = (std::min)(dec().rows(), dec().cols());
715 typename BDCSVDType::SingularValuesType invertedSingVals(diagSize);
718 invertedSingVals.tail(diagSize - nonzeroSingVals).setZero();
720 dst = dec().matrixV().leftCols(diagSize)
722 * dec().matrixU().leftCols(diagSize).adjoint()