/external/eigen/Eigen/src/SparseCore/ |
D | SparseBlock.h | 32 : 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 …]
|
D | SparseCompressedBase.h | 282 evaluator() : m_matrix(0), m_zero(0) 286 explicit evaluator(const Derived &mat) : m_matrix(&mat), m_zero(0) 292 return m_matrix->nonZeros(); 295 operator Derived&() { return m_matrix->const_cast_derived(); } 296 operator const Derived&() const { return *m_matrix; } 306 return m_matrix->const_cast_derived().valuePtr()[p]; 313 return m_matrix->const_cast_derived().valuePtr()[p]; 320 eigen_internal_assert(row>=0 && row<m_matrix->rows() && col>=0 && col<m_matrix->cols()); 325 Index start = m_matrix->outerIndexPtr()[outer]; 326 …Index end = m_matrix->isCompressed() ? m_matrix->outerIndexPtr()[outer+1] : m_matrix->outerIndexPt… [all …]
|
D | SparseView.h | 56 : 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/ |
D | Diagonal.h | 73 …explicit inline Diagonal(MatrixType& matrix, Index a_index = DiagIndex) : m_matrix(matrix), m_inde… 80 … return m_index.value()<0 ? numext::mini<Index>(m_matrix.cols(),m_matrix.rows()+m_index.value()) 81 … : numext::mini<Index>(m_matrix.rows(),m_matrix.cols()-m_index.value()); 90 return m_matrix.outerStride() + 1; 106 …inline ScalarWithConstIfNotLvalue* data() { return &(m_matrix.coeffRef(rowOffset(), colOffset()));… 108 inline const Scalar* data() const { return &(m_matrix.coeffRef(rowOffset(), colOffset())); } 114 return m_matrix.coeffRef(row+rowOffset(), row+colOffset()); 120 return m_matrix.coeffRef(row+rowOffset(), row+colOffset()); 126 return m_matrix.coeff(row+rowOffset(), row+colOffset()); 133 return m_matrix.coeffRef(idx+rowOffset(), idx+colOffset()); [all …]
|
D | SelfAdjointView.h | 73 explicit inline SelfAdjointView(MatrixType& matrix) : m_matrix(matrix) 77 inline Index rows() const { return m_matrix.rows(); } 79 inline Index cols() const { return m_matrix.cols(); } 81 inline Index outerStride() const { return m_matrix.outerStride(); } 83 inline Index innerStride() const { return m_matrix.innerStride(); } 92 return m_matrix.coeff(row, col); 103 return m_matrix.coeffRef(row, col); 108 const MatrixTypeNestedCleaned& _expression() const { return m_matrix; } 111 const MatrixTypeNestedCleaned& nestedExpression() const { return m_matrix; } 113 MatrixTypeNestedCleaned& nestedExpression() { return m_matrix; } [all …]
|
D | VectorwiseOp.h | 66 : m_matrix(mat), m_functor(func) {} 69 Index rows() const { return (Direction==Vertical ? 1 : m_matrix.rows()); } 71 Index cols() const { return (Direction==Horizontal ? 1 : m_matrix.cols()); } 74 typename MatrixType::Nested nestedExpression() const { return m_matrix; } 80 typename MatrixType::Nested m_matrix; 198 return SubVector(m_matrix.derived(),i); 205 { return isVertical?m_matrix.cols():m_matrix.rows(); } 226 isVertical ? 1 : m_matrix.rows(), 227 isHorizontal ? 1 : m_matrix.cols()); 249 isHorizontal ? 1 : m_matrix.rows(), [all …]
|
D | Replicate.h | 75 : 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;
|
D | CwiseUnaryView.h | 68 : m_matrix(mat), m_functor(func) {} 72 EIGEN_STRONG_INLINE Index rows() const { return m_matrix.rows(); } 73 EIGEN_STRONG_INLINE Index cols() const { return m_matrix.cols(); } 80 nestedExpression() const { return m_matrix; } 84 nestedExpression() { return m_matrix.const_cast_derived(); } 87 MatrixTypeNested m_matrix;
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | BlockOfDynamicSparseMatrix.h | 39 : 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/ |
D | Tridiagonalization.h | 114 : m_matrix(size,size), 131 : m_matrix(matrix.derived()), 135 internal::tridiagonalization_inplace(m_matrix, m_hCoeffs); 159 m_matrix = matrix.derived(); 161 internal::tridiagonalization_inplace(m_matrix, m_hCoeffs); 222 return m_matrix; 243 return HouseholderSequenceType(m_matrix, m_hCoeffs.conjugate()) 244 .setLength(m_matrix.rows() - 1) 268 return MatrixTReturnType(m_matrix.real()); 300 MatrixType m_matrix; [all …]
|
D | HessenbergDecomposition.h | 101 : 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/ |
D | PardisoSupport.h | 247 mutable SparseMatrixType m_matrix; 270 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 291 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 311 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 358 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 391 using Base::m_matrix; 414 m_matrix = matrix; 415 m_matrix.makeCompressed(); 446 using Base::m_matrix; 474 m_matrix.resize(matrix.rows(), matrix.cols()); [all …]
|
/external/eigen/Eigen/src/Geometry/ |
D | Transform.h | 250 MatrixType m_matrix; 259 internal::transform_make_affine<(int(Mode)==Affine) ? Affine : AffineCompact>::run(m_matrix); 265 m_matrix = other.m_matrix; 286 { m_matrix = other.m_matrix; return *this; } 317 m_matrix = other.matrix(); 343 m_matrix.template block<Dim,Dim+1>(0,0) = other.matrix().template block<Dim,Dim+1>(0,0); 384 …_FUNC Index rows() const { return int(Mode)==int(Projective) ? m_matrix.cols() : (m_matrix.cols()-… 385 EIGEN_DEVICE_FUNC Index cols() const { return m_matrix.cols(); } 389 …EIGEN_DEVICE_FUNC inline Scalar operator() (Index row, Index col) const { return m_matrix(row,col)… 392 EIGEN_DEVICE_FUNC inline Scalar& operator() (Index row, Index col) { return m_matrix(row,col); } [all …]
|
/external/eigen/Eigen/src/Cholesky/ |
D | LLT.h | 80 LLT() : m_matrix(), m_isInitialized(false) {} in LLT() 88 explicit LLT(Index size) : m_matrix(size, size), in LLT() 93 : m_matrix(matrix.rows(), matrix.cols()), in LLT() 108 : m_matrix(matrix.derived()), in LLT() 118 return Traits::getU(m_matrix); in matrixU() 125 return Traits::getL(m_matrix); in matrixL() 143 eigen_assert(m_matrix.rows()==b.rows() in solve() 171 return m_matrix; in matrixLLT() 195 inline Index rows() const { return m_matrix.rows(); } in rows() 196 inline Index cols() const { return m_matrix.cols(); } in cols() [all …]
|
D | LDLT.h | 78 : m_matrix(), in LDLT() 91 : m_matrix(size, size), in LDLT() 106 : m_matrix(matrix.rows(), matrix.cols()), in LDLT() 123 : m_matrix(matrix.derived()), in LDLT() 144 return Traits::getU(m_matrix); in matrixU() 151 return Traits::getL(m_matrix); in matrixL() 166 return m_matrix.diagonal(); in vectorD() 203 eigen_assert(m_matrix.rows()==b.rows() in solve() 233 return m_matrix; in matrixLDLT() 245 inline Index rows() const { return m_matrix.rows(); } in rows() [all …]
|
/external/eigen/Eigen/src/SparseCholesky/ |
D | SimplicialCholesky.h | 99 inline Index cols() const { return m_matrix.cols(); } 100 inline Index rows() const { return m_matrix.rows(); } 145 …s << " L: " << ((total+=(m_matrix.cols()+1) * sizeof(int) + m_matrix.nonZeros()*(sizeof(in… 159 eigen_assert(m_matrix.rows()==b.rows()); 169 if(m_matrix.nonZeros()>0) // otherwise L==I 175 if (m_matrix.nonZeros()>0) // otherwise U==I 255 CholMatrixType m_matrix; 354 return Traits::getL(Base::m_matrix); 360 return Traits::getU(Base::m_matrix); 395 Scalar detL = Base::m_matrix.diagonal().prod(); [all …]
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoder.cpp | 81 return m_matrix.get(); in GetMatrix() 85 int32_t value = m_matrix->Get(x, y); in At() 98 m_numTotalBytes == m_numDataBytes + m_numECBytes && m_matrix && in IsValid() 99 m_matrixWidth == m_matrix->GetWidth() && in IsValid() 100 m_matrix->GetWidth() == m_matrix->GetHeight(); in IsValid() 144 m_matrix = std::move(pMatrix); in SetMatrix()
|
/external/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417BarcodeMatrix.cpp | 28 m_matrix.resize(height + 2); in CBC_BarcodeMatrix() 29 for (size_t i = 0; i < m_matrix.size(); ++i) in CBC_BarcodeMatrix() 30 m_matrix[i] = pdfium::MakeUnique<CBC_BarcodeRow>((width + 4) * 17 + 1); in CBC_BarcodeMatrix() 42 m_matrix[y]->set(x, value); in set() 59 std::vector<uint8_t> bytearray = m_matrix[0]->getScaledRow(xScale); in getScaledMatrix() 67 bytearray = m_matrix[i / yScale]->getScaledRow(xScale); in getScaledMatrix()
|
/external/pdfium/xfa/fwl/theme/ |
D | cfwl_comboboxtp.cpp | 26 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground() 46 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix); in DrawBackground() 51 DrawDropDownButton(pParams, pParams->m_dwStates, &pParams->m_matrix); in DrawBackground() 55 DrawStrethHandler(pParams, 0, &pParams->m_matrix); in DrawBackground() 71 pParams->m_pGraphics->FillPath(&path, FXFILL_WINDING, &pParams->m_matrix); in DrawStrethHandler() 99 FWLTHEME_DIRECTION_Down, eState, &pParams->m_matrix); in DrawDropDownButton()
|
D | cfwl_listboxtp.cpp | 25 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground() 30 &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground() 33 (CFX_RectF*)pParams->m_pData, &pParams->m_matrix); in DrawBackground() 39 &pParams->m_rtPart, pParams->m_pData, &pParams->m_matrix); in DrawBackground() 50 &pParams->m_matrix); in DrawBackground()
|
D | cfwl_edittp.cpp | 38 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); in DrawBackground() 44 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground() 53 &pParams->m_matrix); in DrawBackground() 71 &pParams->m_matrix); in DrawBackground() 79 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); in DrawBackground()
|
D | cfwl_monthcalendartp.cpp | 40 DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); in DrawBackground() 44 DrawTotalBK(pParams, &pParams->m_matrix); in DrawBackground() 48 DrawHeadBk(pParams, &pParams->m_matrix); in DrawBackground() 54 FWLTHEME_DIRECTION_Left, eState, &pParams->m_matrix); in DrawBackground() 60 FWLTHEME_DIRECTION_Right, eState, &pParams->m_matrix); in DrawBackground() 64 DrawHSeperator(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/unsupported/Eigen/src/IterativeSolvers/ |
D | Scaling.h | 83 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() 117 for (int k=0; k<m_matrix.outerSize(); ++k) in compute() 119 for (typename MatrixType::InnerIterator it(m_matrix, k); it; ++it) in compute() 146 mat = m_matrix; in computeRef() 178 MatrixType m_matrix; variable
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
D | IterativeSolverBase.h | 64 : 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/tensorflow/tensorflow/contrib/opt/python/training/ |
D | ggt_test.py | 47 m_matrix = np.transpose(grad_buffer / np.sqrt(np.minimum(t, window))) 48 mm = np.dot(np.transpose(m_matrix), m_matrix) 54 m_matrix, u, 57 np.transpose(m_matrix), m_t 64 m_matrix, u, 67 np.transpose(m_matrix), m_t
|