HomeSort by relevance Sort by last modified time
    Searched refs:diagSize (Results 1 - 9 of 9) sorted by null

  /external/eigen/test/
svd_fill.h 27 Index diagSize = (std::min)(m.rows(), m.cols());
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)
    [all...]
svd_common.h 66 Index diagSize = (std::min)(rows, cols);
76 VERIFY_IS_APPROX( svd.matrixV().leftCols(diagSize) * svd.singularValues().asDiagonal() * svd.matrixV().leftCols(diagSize).adjoint(),
77 referenceSvd.matrixV().leftCols(diagSize) * referenceSvd.singularValues().asDiagonal() * referenceSvd.matrixV().leftCols(diagSize).adjoint());
83 VERIFY_IS_APPROX( svd.matrixU().leftCols(diagSize) * svd.singularValues().cwiseAbs2().asDiagonal() * svd.matrixU().leftCols(diagSize).adjoint(),
84 referenceSvd.matrixU().leftCols(diagSize) * referenceSvd.singularValues().cwiseAbs2().asDiagonal() * referenceSvd.matrixU().leftCols(diagSize).adjoint());
92 if(computationOptions & ComputeThinU) VERIFY_IS_APPROX(svd.matrixU(), referenceSvd.matrixU().leftCols(diagSize));
    [all...]
  /external/eigen/unsupported/Eigen/src/Skyline/
SkylineStorage.h 57 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) {
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 {
203 inline void reallocate(Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize) {
205 Scalar* diag = new Scalar[diagSize];
211 Index copyDiagSize = (std::min)(diagSize, m_diagSize);
237 m_allocatedSize = diagSize + upperSize + lowerSize
    [all...]
SkylineMatrix.h 384 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/
TriangularMatrixMatrix_BLAS.h 101 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)) {
    [all...]
TriangularMatrixVector.h 110 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);
TriangularMatrixMatrix.h 115 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/
SparseColEtree.h 66 StorageIndex diagSize = (std::min)(nc,m);
75 firstRowElt.segment(0, diagSize).setLinSpaced(diagSize, 0, diagSize-1);
  /external/eigen/Eigen/src/SparseQR/
SparseQR.h 317 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...]

Completed in 289 milliseconds