Home
last modified time | relevance | path

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

/external/eigen/test/
Dsvd_fill.h27 Index diagSize = (std::min)(m.rows(), m.cols()); variable
30 Matrix<RealScalar,Dynamic,1> d = Matrix<RealScalar,Dynamic,1>::Random(diagSize);
31 for(Index k=0; k<diagSize; ++k)
45 Matrix<Scalar,Dynamic,Dynamic> U(m.rows(),diagSize);
46 Matrix<Scalar,Dynamic,Dynamic> VT(diagSize,m.cols());
57 createRandomPIMatrixOfRank(diagSize,U.rows(), U.cols(), U);
58 createRandomPIMatrixOfRank(diagSize,VT.rows(), VT.cols(), VT);
77 Index count = internal::random<Index>(-diagSize,diagSize);
80 Index i = internal::random<Index>(0,diagSize-1);
Dsvd_common.h66 Index diagSize = (std::min)(rows, cols); in svd_compare_to_full() local
76 …FY_IS_APPROX( svd.matrixV().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV()… in svd_compare_to_full()
77 …renceSvd.matrixV().leftCols(diagSize) * referenceSvd.singularValues().asDiagonal() * referenceSvd.… in svd_compare_to_full()
83 …APPROX( svd.matrixU().leftCols(diagSize) * svd.singularValues().cwiseAbs2().asDiagonal() * svd.mat… in svd_compare_to_full()
84 …vd.matrixU().leftCols(diagSize) * referenceSvd.singularValues().cwiseAbs2().asDiagonal() * referen… in svd_compare_to_full()
92 …ptions & ComputeThinU) VERIFY_IS_APPROX(svd.matrixU(), referenceSvd.matrixU().leftCols(diagSize)); in svd_compare_to_full()
94 …ptions & ComputeThinV) VERIFY_IS_APPROX(svd.matrixV(), referenceSvd.matrixV().leftCols(diagSize)); in svd_compare_to_full()
265 Index diagSize = (std::min)(m.rows(), m.cols()); in svd_test_all_computation_options() local
267 …_IS_APPROX(m, svd.matrixU().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV()… in svd_test_all_computation_options()
/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_BLAS.h101 Index diagSize = (std::min)(_rows,_depth); \
102 Index rows = IsLower ? _rows : diagSize; \
103 Index depth = IsLower ? diagSize : _depth; \
115 if (((nthr==1) && (((std::max)(rows,depth)-diagSize)/(double)diagSize < 0.5))) { \
140 m = convert_index<BlasIndex>(diagSize); \
212 Index diagSize = (std::min)(_cols,_depth); \
214 Index depth = IsLower ? _depth : diagSize; \
215 Index cols = IsLower ? diagSize : _cols; \
225 if ((nthr==1) && (((std::max)(cols,depth)-diagSize)/(double)diagSize < 0.5)) { \
251 n = convert_index<BlasIndex>(diagSize); \
DTriangularMatrixVector.h110 Index diagSize = (std::min)(_rows,_cols);
111 Index rows = IsLower ? _rows : diagSize;
112 Index cols = IsLower ? diagSize : _cols;
128 for (Index pi=0; pi<diagSize; pi+=PanelWidth)
130 Index actualPanelWidth = (std::min)(PanelWidth, diagSize-pi);
152 if(IsLower && rows>diagSize)
155 rows-diagSize, cols,
156 LhsMapper(&lhs.coeffRef(diagSize,0), lhsStride),
158 &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;
266 Index diagSize = (std::min)(_cols,_depth);
268 Index depth = IsLower ? _depth : diagSize;
269 Index cols = IsLower ? diagSize : _cols;
/external/eigen/Eigen/src/SparseCore/
DSparseColEtree.h66 StorageIndex diagSize = (std::min)(nc,m); variable
75 firstRowElt.segment(0, diagSize).setLinSpaced(diagSize, 0, diagSize-1);
/external/eigen/Eigen/src/SparseQR/
DSparseQR.h317 Index diagSize = (std::min)(m,n);
331 m_Q.resize(m, diagSize);
336 m_hcoeffs.resize(diagSize);
355 StorageIndex diagSize = (std::min)(m,n);
506 if(nonzeroCol < diagSize)
545 if(nonzeroCol < diagSize && abs(beta) >= pivotThreshold)
558 if(nonzeroCol<diagSize)
573 m_hcoeffs.tail(diagSize-nonzeroCol).setZero();
616 Index diagSize = (std::min)(m,n);
623 for (Index k = 0; k < diagSize; k++)
[all …]