Home
last modified time | relevance | path

Searched refs:m_matrix (Results 1 – 25 of 66) sorted by relevance

123

/external/eigen/Eigen/src/SparseCore/
DSparseBlock.h32 : m_matrix(xpr), m_outerStart(convert_index(i)), m_outerSize(OuterSize) in EIGEN_SPARSE_PUBLIC_INTERFACE()
36 …: m_matrix(xpr), m_outerStart(convert_index(IsRowMajor ? startRow : startCol)), m_outerSize(conver… in BlockImpl()
39 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… in rows()
40 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()… in cols()
45 EvaluatorType matEval(m_matrix); in nonZeros()
56 …return m_matrix.coeff(row + (IsRowMajor ? m_outerStart : 0), col + (IsRowMajor ? 0 : m_outerStart… in coeff()
61 return m_matrix.coeff(IsRowMajor ? m_outerStart : index, IsRowMajor ? index : m_outerStart); in coeff()
64 inline const XprType& nestedExpression() const { return m_matrix; } in nestedExpression()
65 inline XprType& nestedExpression() { return m_matrix; } in nestedExpression()
68 Index blockRows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows(); } in blockRows()
[all …]
DSparseView.h56 : m_matrix(mat), m_reference(reference), m_epsilon(epsilon) {}
58 inline Index rows() const { return m_matrix.rows(); }
59 inline Index cols() const { return m_matrix.cols(); }
61 inline Index innerSize() const { return m_matrix.innerSize(); }
62 inline Index outerSize() const { return m_matrix.outerSize(); }
66 nestedExpression() const { return m_matrix; }
72 MatrixTypeNested m_matrix;
/external/eigen/Eigen/src/Core/
DVectorwiseOp.h66 : m_matrix(mat), m_functor(func) {}
69 Index rows() const EIGEN_NOEXCEPT { return (Direction==Vertical ? 1 : m_matrix.rows()); }
71 Index cols() const EIGEN_NOEXCEPT { return (Direction==Horizontal ? 1 : m_matrix.cols()); }
74 typename MatrixType::Nested nestedExpression() const { return m_matrix; }
80 typename MatrixType::Nested m_matrix;
239 isVertical ? 1 : m_matrix.rows(),
240 isHorizontal ? 1 : m_matrix.cols());
262 isHorizontal ? 1 : m_matrix.rows(),
263 isVertical ? 1 : m_matrix.cols());
268 explicit inline VectorwiseOp(ExpressionType& matrix) : m_matrix(matrix) {}
[all …]
DDiagonal.h73 …explicit inline Diagonal(MatrixType& matrix, Index a_index = DiagIndex) : m_matrix(matrix), m_inde…
75 eigen_assert( a_index <= m_matrix.cols() && -a_index <= m_matrix.rows() );
83 … return m_index.value()<0 ? numext::mini<Index>(m_matrix.cols(),m_matrix.rows()+m_index.value())
84 … : numext::mini<Index>(m_matrix.rows(),m_matrix.cols()-m_index.value());
92 return m_matrix.outerStride() + 1;
105 …inline ScalarWithConstIfNotLvalue* data() { return &(m_matrix.coeffRef(rowOffset(), colOffset()));…
107 inline const Scalar* data() const { return &(m_matrix.coeffRef(rowOffset(), colOffset())); }
113 return m_matrix.coeffRef(row+rowOffset(), row+colOffset());
119 return m_matrix.coeffRef(row+rowOffset(), row+colOffset());
125 return m_matrix.coeff(row+rowOffset(), row+colOffset());
[all …]
DSelfAdjointView.h74 explicit inline SelfAdjointView(MatrixType& matrix) : m_matrix(matrix)
80 inline Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); }
82 inline Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); }
84 inline Index outerStride() const EIGEN_NOEXCEPT { return m_matrix.outerStride(); }
86 inline Index innerStride() const EIGEN_NOEXCEPT { return m_matrix.innerStride(); }
95 return m_matrix.coeff(row, col);
106 return m_matrix.coeffRef(row, col);
111 const MatrixTypeNestedCleaned& _expression() const { return m_matrix; }
114 const MatrixTypeNestedCleaned& nestedExpression() const { return m_matrix; }
116 MatrixTypeNestedCleaned& nestedExpression() { return m_matrix; }
[all …]
DReplicate.h75 : m_matrix(matrix), m_rowFactor(RowFactor), m_colFactor(ColFactor)
85 : m_matrix(matrix), m_rowFactor(rowFactor), m_colFactor(colFactor)
92 inline Index rows() const { return m_matrix.rows() * m_rowFactor.value(); }
94 inline Index cols() const { return m_matrix.cols() * m_colFactor.value(); }
99 return m_matrix;
103 MatrixTypeNested m_matrix;
DReverse.h88 EIGEN_DEVICE_FUNC explicit inline Reverse(const MatrixType& matrix) : m_matrix(matrix) { }
93 inline Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); }
95 inline Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); }
99 return -m_matrix.innerStride();
105 return m_matrix;
109 typename MatrixType::Nested m_matrix;
212 internal::vectorwise_reverse_inplace_impl<Direction>::run(m_matrix);
DCwiseUnaryView.h68 : m_matrix(mat), m_functor(func) {}
73 Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); }
75 Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); }
82 nestedExpression() const { return m_matrix; }
86 nestedExpression() { return m_matrix; }
89 MatrixTypeNested m_matrix;
/external/pdfium/core/fxge/dib/
Dcfx_imagetransformer.cpp141 : m_pSrc(std::move(source)), m_matrix(matrix), m_ResampleOptions(options) { in CFX_ImageTransformer()
142 FX_RECT result_rect = m_matrix.GetUnitRect().GetClosestRect(); in CFX_ImageTransformer()
151 if (fabs(m_matrix.a) < fabs(m_matrix.b) / 20 && in CFX_ImageTransformer()
152 fabs(m_matrix.d) < fabs(m_matrix.c) / 20 && fabs(m_matrix.a) < 0.5f && in CFX_ImageTransformer()
153 fabs(m_matrix.d) < 0.5f) { in CFX_ImageTransformer()
158 m_matrix.c > 0, m_matrix.b < 0); in CFX_ImageTransformer()
166 if (fabs(m_matrix.b) < kFix16 && fabs(m_matrix.c) < kFix16) { in CFX_ImageTransformer()
168 static_cast<int>(m_matrix.a > 0 ? ceil(m_matrix.a) : floor(m_matrix.a)); in CFX_ImageTransformer()
169 int dest_height = static_cast<int>(m_matrix.d > 0 ? -ceil(m_matrix.d) in CFX_ImageTransformer()
170 : -floor(m_matrix.d)); in CFX_ImageTransformer()
[all …]
/external/eigen/unsupported/Eigen/src/SparseExtra/
DBlockOfDynamicSparseMatrix.h39 : MatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
48 : m_matrix(matrix), m_outerStart(outerStart), m_outerSize(outerSize)
54 : m_matrix(matrix), m_outerStart(outer), m_outerSize(Size)
75 m_matrix.const_cast_derived()._data()[m_outerStart+j].swap(aux._data());
90 count += m_matrix._data()[m_outerStart+j].size();
97 eigen_assert(m_matrix.data()[m_outerStart].size()>0);
98 return m_matrix.data()[m_outerStart].vale(m_matrix.data()[m_outerStart].size()-1);
107 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()…
108 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()…
112 const typename MatrixType::Nested m_matrix;
/external/eigen/Eigen/src/Eigenvalues/
DTridiagonalization.h115 : m_matrix(size,size),
132 : m_matrix(matrix.derived()),
136 internal::tridiagonalization_inplace(m_matrix, m_hCoeffs);
160 m_matrix = matrix.derived();
162 internal::tridiagonalization_inplace(m_matrix, m_hCoeffs);
223 return m_matrix;
244 return HouseholderSequenceType(m_matrix, m_hCoeffs.conjugate())
245 .setLength(m_matrix.rows() - 1)
269 return MatrixTReturnType(m_matrix.real());
301 MatrixType m_matrix;
[all …]
DHessenbergDecomposition.h101 : m_matrix(size,size),
120 : m_matrix(matrix.derived()),
130 _compute(m_matrix, m_hCoeffs, m_temp);
154 m_matrix = matrix.derived();
161 _compute(m_matrix, m_hCoeffs, m_temp);
217 return m_matrix;
237 return HouseholderSequenceType(m_matrix, m_hCoeffs.conjugate())
238 .setLength(m_matrix.rows() - 1)
275 MatrixType m_matrix;
/external/eigen/Eigen/src/PardisoSupport/
DPardisoSupport.h248 mutable SparseMatrixType m_matrix;
271m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
292m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
312m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
359m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
390 using Base::m_matrix;
416 m_matrix = matrix;
417 m_matrix.makeCompressed();
446 using Base::m_matrix;
476 m_matrix.resize(matrix.rows(), matrix.cols());
[all …]
/external/eigen/Eigen/src/Geometry/
DTransform.h253 MatrixType m_matrix;
262 …rm_make_affine<(int(Mode)==Affine || int(Mode)==Isometry) ? Affine : AffineCompact>::run(m_matrix);
311 m_matrix = other.matrix();
337 m_matrix.template block<Dim,Dim+1>(0,0) = other.matrix().template block<Dim,Dim+1>(0,0);
378 …s() const EIGEN_NOEXCEPT { return int(Mode)==int(Projective) ? m_matrix.cols() : (m_matrix.cols()-…
379 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); }
383 …EIGEN_DEVICE_FUNC inline Scalar operator() (Index row, Index col) const { return m_matrix(row,col)…
386 EIGEN_DEVICE_FUNC inline Scalar& operator() (Index row, Index col) { return m_matrix(row,col); }
389 EIGEN_DEVICE_FUNC inline const MatrixType& matrix() const { return m_matrix; }
391 EIGEN_DEVICE_FUNC inline MatrixType& matrix() { return m_matrix; }
[all …]
/external/eigen/Eigen/src/Cholesky/
DLLT.h93 LLT() : m_matrix(), m_isInitialized(false) {}
101 explicit LLT(Index size) : m_matrix(size, size),
106 : m_matrix(matrix.rows(), matrix.cols()),
121 : m_matrix(matrix.derived()),
131 return Traits::getU(m_matrix);
138 return Traits::getL(m_matrix);
180 return m_matrix;
204 inline EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); }
205 inline EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); }
229 MatrixType m_matrix;
[all …]
DLDLT.h86 : m_matrix(),
99 : m_matrix(size, size),
114 : m_matrix(matrix.rows(), matrix.cols()),
131 : m_matrix(matrix.derived()),
152 return Traits::getU(m_matrix);
159 return Traits::getL(m_matrix);
174 return m_matrix.diagonal();
237 return m_matrix;
249 …EIGEN_DEVICE_FUNC inline EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(…
250 …EIGEN_DEVICE_FUNC inline EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(…
[all …]
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoder.cpp64 return std::move(m_matrix); in TakeMatrix()
72 m_numTotalBytes == m_numDataBytes + m_numECBytes && m_matrix && in IsValid()
73 m_matrixWidth == pdfium::checked_cast<int32_t>(m_matrix->GetWidth()) && in IsValid()
74 m_matrix->GetWidth() == m_matrix->GetHeight(); in IsValid()
114 m_matrix = std::move(pMatrix); in SetMatrix()
/external/eigen/Eigen/src/SparseCholesky/
DSimplicialCholesky.h107 inline Index cols() const { return m_matrix.cols(); }
108 inline Index rows() const { return m_matrix.rows(); }
153 …s << " L: " << ((total+=(m_matrix.cols()+1) * sizeof(int) + m_matrix.nonZeros()*(sizeof(in…
167 eigen_assert(m_matrix.rows()==b.rows());
177 if(m_matrix.nonZeros()>0) // otherwise L==I
183 if (m_matrix.nonZeros()>0) // otherwise U==I
263 CholMatrixType m_matrix;
362 return Traits::getL(Base::m_matrix);
368 return Traits::getU(Base::m_matrix);
403 Scalar detL = Base::m_matrix.diagonal().prod();
[all …]
DSimplicialCholesky_impl.h29 m_matrix.resize(size, size); in analyzePattern_preordered()
60 StorageIndex* Lp = m_matrix.outerIndexPtr(); in analyzePattern_preordered()
65 m_matrix.resizeNonZeros(Lp[size]); in analyzePattern_preordered()
86 const StorageIndex* Lp = m_matrix.outerIndexPtr(); in factorize_preordered()
87 StorageIndex* Li = m_matrix.innerIndexPtr(); in factorize_preordered()
88 Scalar* Lx = m_matrix.valuePtr(); in factorize_preordered()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DScaling.h83 m_matrix = mat; in compute()
93 for (int k=0; k<m_matrix.outerSize(); ++k) in compute()
95 for (typename MatrixType::InnerIterator it(m_matrix, k); it; ++it) in compute()
123 for (int k=0; k<m_matrix.outerSize(); ++k) in compute()
125 for (typename MatrixType::InnerIterator it(m_matrix, k); it; ++it) in compute()
152 mat = m_matrix; in computeRef()
184 MatrixType m_matrix; variable
/external/pdfium/xfa/fwl/theme/
Dcfwl_listboxtp.cpp26 DrawBorder(pParams.GetGraphics(), pParams.m_PartRect, pParams.m_matrix); in DrawBackground()
31 pParams.m_PartRect, pParams.m_matrix); in DrawBackground()
34 *pParams.m_pRtData, pParams.m_matrix); in DrawBackground()
40 pParams.m_PartRect, pParams.m_pRtData, pParams.m_matrix); in DrawBackground()
51 pParams.m_matrix); in DrawBackground()
Dcfwl_edittp.cpp25 DrawBorder(pParams.GetGraphics(), pParams.m_PartRect, pParams.m_matrix); in DrawBackground()
36 pParams.m_matrix); in DrawBackground()
52 pParams.m_matrix); in DrawBackground()
66 pParams.GetGraphics()->StrokePath(*pParamsPath, pParams.m_matrix); in DrawBackground()
Dcfwl_monthcalendartp.cpp40 DrawBorder(pParams.GetGraphics(), pParams.m_PartRect, pParams.m_matrix); in DrawBackground()
44 DrawTotalBK(pParams, pParams.m_matrix); in DrawBackground()
48 DrawHeadBk(pParams, pParams.m_matrix); in DrawBackground()
54 pParams.m_matrix); in DrawBackground()
60 pParams.m_matrix); in DrawBackground()
64 DrawHSeparator(pParams, pParams.m_matrix); in DrawBackground()
68 DrawDatesInBK(pParams, pParams.m_matrix); in DrawBackground()
72 DrawTodayCircle(pParams, pParams.m_matrix); in DrawBackground()
76 DrawDatesInCircle(pParams, pParams.m_matrix); in DrawBackground()
80 DrawWeekNumSep(pParams, pParams.m_matrix); in DrawBackground()
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIterativeSolverBase.h64 : m_dummy(0,0), m_matrix(m_dummy) in generic_matrix_wrapper()
69 : m_matrix(mat) in generic_matrix_wrapper()
74 return m_matrix; in matrix()
80 m_matrix.~Ref<const MatrixType>(); in grab()
81 ::new (&m_matrix) Ref<const MatrixType>(mat.derived()); in grab()
86 if(&(mat.derived()) != &m_matrix) in grab()
88 m_matrix.~Ref<const MatrixType>(); in grab()
89 ::new (&m_matrix) Ref<const MatrixType>(mat); in grab()
95 ActualMatrixType m_matrix; variable
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp33 m_matrix.resize(m_height); in CBC_BarcodeMatrix()
35 m_matrix[i] = std::make_unique<CBC_BarcodeRow>(m_width); in CBC_BarcodeMatrix()
44 fxcrt::Copy(m_matrix[i]->GetRow(), bit_array_span.subspan(i * m_width)); in toBitArray()

123