/external/webkit/Source/WebCore/platform/graphics/transforms/ |
D | TransformationMatrix.h | 85 m_matrix[0][0] = a; m_matrix[0][1] = b; m_matrix[0][2] = 0; m_matrix[0][3] = 0; in setMatrix() 86 m_matrix[1][0] = c; m_matrix[1][1] = d; m_matrix[1][2] = 0; m_matrix[1][3] = 0; in setMatrix() 87 m_matrix[2][0] = 0; m_matrix[2][1] = 0; m_matrix[2][2] = 1; m_matrix[2][3] = 0; in setMatrix() 88 m_matrix[3][0] = e; m_matrix[3][1] = f; m_matrix[3][2] = 0; m_matrix[3][3] = 1; in setMatrix() 96 m_matrix[0][0] = m11; m_matrix[0][1] = m12; m_matrix[0][2] = m13; m_matrix[0][3] = m14; in setMatrix() 97 m_matrix[1][0] = m21; m_matrix[1][1] = m22; m_matrix[1][2] = m23; m_matrix[1][3] = m24; in setMatrix() 98 m_matrix[2][0] = m31; m_matrix[2][1] = m32; m_matrix[2][2] = m33; m_matrix[2][3] = m34; in setMatrix() 99 m_matrix[3][0] = m41; m_matrix[3][1] = m42; m_matrix[3][2] = m43; m_matrix[3][3] = m44; in setMatrix() 104 setMatrix(t.m_matrix); 116 … return m_matrix[0][0] == 1 && m_matrix[0][1] == 0 && m_matrix[0][2] == 0 && m_matrix[0][3] == 0 && in isIdentity() [all …]
|
D | TransformationMatrix.cpp | 575 …return FloatPoint(p.x() + static_cast<float>(m_matrix[3][0]), p.y() + static_cast<float>(m_matrix[… in mapPoint() 585 return FloatPoint3D(p.x() + static_cast<float>(m_matrix[3][0]), in mapPoint() 586 p.y() + static_cast<float>(m_matrix[3][1]), in mapPoint() 587 p.z() + static_cast<float>(m_matrix[3][2])); in mapPoint() 603 mappedRect.move(static_cast<float>(m_matrix[3][0]), static_cast<float>(m_matrix[3][1])); in mapRect() 615 mappedQuad.move(static_cast<float>(m_matrix[3][0]), static_cast<float>(m_matrix[3][1])); in mapQuad() 630 mat.m_matrix[0][0] = sx; in scaleNonUniform() 631 mat.m_matrix[1][1] = sy; in scaleNonUniform() 640 mat.m_matrix[0][0] = sx; in scale3d() 641 mat.m_matrix[1][1] = sy; in scale3d() [all …]
|
D | Matrix3DTransformOperation.h | 40 TransformationMatrix matrix() const {return m_matrix; } in matrix() 43 virtual bool isIdentity() const { return m_matrix.isIdentity(); } in isIdentity() 53 return m_matrix == m->m_matrix; 58 transform.multiply(TransformationMatrix(m_matrix)); in apply() 66 m_matrix = mat; in Matrix3DTransformOperation() 69 TransformationMatrix m_matrix; variable
|
/external/webkit/Source/WebCore/css/ |
D | WebKitCSSMatrix.h | 49 double a() const { return m_matrix.a(); } in a() 50 double b() const { return m_matrix.b(); } in b() 51 double c() const { return m_matrix.c(); } in c() 52 double d() const { return m_matrix.d(); } in d() 53 double e() const { return m_matrix.e(); } in e() 54 double f() const { return m_matrix.f(); } in f() 56 void setA(double f) { m_matrix.setA(f); } in setA() 57 void setB(double f) { m_matrix.setB(f); } in setB() 58 void setC(double f) { m_matrix.setC(f); } in setC() 59 void setD(double f) { m_matrix.setD(f); } in setD() [all …]
|
D | WebKitCSSMatrix.cpp | 40 : m_matrix(m) in WebKitCSSMatrix() 82 m_matrix = t; in setMatrixValue() 93 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).multiply(secondMatrix->m_matrix)); in multiply() 98 if (!m_matrix.isInvertible()) { in inverse() 103 return WebKitCSSMatrix::create(m_matrix.inverse()); in inverse() 114 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).translate3d(x, y, z)); in translate() 125 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).scale3d(scaleX, scaleY, scaleZ)); in scale() 143 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(rotX, rotY, rotZ)); in rotate() 158 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(x, y, z, angle)); in rotateAxisAngle() 165 return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).skewX(angle)); in skewX() [all …]
|
/external/webkit/Source/WebCore/svg/ |
D | SVGTransform.cpp | 52 , m_matrix(matrix) in SVGTransform() 60 m_matrix = matrix; in setMatrix() 77 m_matrix.makeIdentity(); in setTranslate() 78 m_matrix.translate(tx, ty); in setTranslate() 83 return FloatPoint::narrowPrecision(m_matrix.e(), m_matrix.f()); in translate() 92 m_matrix.makeIdentity(); in setScale() 93 m_matrix.scaleNonUniform(sx, sy); in setScale() 98 return FloatSize::narrowPrecision(m_matrix.a(), m_matrix.d()); in scale() 108 m_matrix.makeIdentity(); in setRotate() 109 m_matrix.translate(cx, cy); in setRotate() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | Reverse.h | 98 inline Reverse(const MatrixType& matrix) : m_matrix(matrix) { } 102 inline Index rows() const { return m_matrix.rows(); } 103 inline Index cols() const { return m_matrix.cols(); } 107 return -m_matrix.innerStride(); 118 return m_matrix.const_cast_derived().coeffRef(ReverseRow ? m_matrix.rows() - row - 1 : row, 119 ReverseCol ? m_matrix.cols() - col - 1 : col); 124 return m_matrix.coeff(ReverseRow ? m_matrix.rows() - row - 1 : row, 125 ReverseCol ? m_matrix.cols() - col - 1 : col); 130 return m_matrix.coeff(m_matrix.size() - index - 1); 135 return m_matrix.const_cast_derived().coeffRef(m_matrix.size() - index - 1); [all …]
|
D | Flagged.h | 51 inline Flagged(const ExpressionType& matrix) : m_matrix(matrix) {} 53 inline Index rows() const { return m_matrix.rows(); } 54 inline Index cols() const { return m_matrix.cols(); } 55 inline Index outerStride() const { return m_matrix.outerStride(); } 56 inline Index innerStride() const { return m_matrix.innerStride(); } 60 return m_matrix.coeff(row, col); 65 return m_matrix.coeff(index); 70 return m_matrix.const_cast_derived().coeffRef(row, col); 75 return m_matrix.const_cast_derived().coeffRef(index); 80 return m_matrix.const_cast_derived().coeffRef(row, col); [all …]
|
D | SelfCwiseBinaryOp.h | 55 …inline SelfCwiseBinaryOp(Lhs& xpr, const BinaryOp& func = BinaryOp()) : m_matrix(xpr), m_functor(f… 57 inline Index rows() const { return m_matrix.rows(); } 58 inline Index cols() const { return m_matrix.cols(); } 59 inline Index outerStride() const { return m_matrix.outerStride(); } 60 inline Index innerStride() const { return m_matrix.innerStride(); } 61 inline const Scalar* data() const { return m_matrix.data(); } 68 return m_matrix.const_cast_derived().coeffRef(row, col); 72 return m_matrix.coeffRef(row, col); 80 return m_matrix.const_cast_derived().coeffRef(index); 84 return m_matrix.const_cast_derived().coeffRef(index); [all …]
|
D | Diagonal.h | 72 … inline Diagonal(MatrixType& matrix, Index index = DiagIndex) : m_matrix(matrix), m_index(index) {} 77 …n m_index.value()<0 ? (std::min)(m_matrix.cols(),m_matrix.rows()+m_index.value()) : (std::min)(m_m… 83 return m_matrix.outerStride() + 1; 97 …inline ScalarWithConstIfNotLvalue* data() { return &(m_matrix.const_cast_derived().coeffRef(rowOff… 98 …inline const Scalar* data() const { return &(m_matrix.const_cast_derived().coeffRef(rowOffset(), c… 103 return m_matrix.const_cast_derived().coeffRef(row+rowOffset(), row+colOffset()); 108 return m_matrix.const_cast_derived().coeffRef(row+rowOffset(), row+colOffset()); 113 return m_matrix.coeff(row+rowOffset(), row+colOffset()); 119 return m_matrix.const_cast_derived().coeffRef(index+rowOffset(), index+colOffset()); 124 return m_matrix.const_cast_derived().coeffRef(index+rowOffset(), index+colOffset()); [all …]
|
D | Replicate.h | 74 : m_matrix(matrix), m_rowFactor(RowFactor), m_colFactor(ColFactor) 83 : m_matrix(matrix), m_rowFactor(rowFactor), m_colFactor(colFactor) 89 inline Index rows() const { return m_matrix.rows() * m_rowFactor.value(); } 90 inline Index cols() const { return m_matrix.cols() * m_colFactor.value(); } 97 : row%m_matrix.rows(); 100 : col%m_matrix.cols(); 102 return m_matrix.coeff(actual_row, actual_col); 109 : row%m_matrix.rows(); 112 : col%m_matrix.cols(); 114 return m_matrix.template packet<LoadMode>(actual_row, actual_col); [all …]
|
D | VectorwiseOp.h | 78 : m_matrix(mat), m_functor(func) {} 80 Index rows() const { return (Direction==Vertical ? 1 : m_matrix.rows()); } 81 Index cols() const { return (Direction==Horizontal ? 1 : m_matrix.cols()); } 86 return m_functor(m_matrix.col(j)); 88 return m_functor(m_matrix.row(i)); 94 return m_functor(m_matrix.col(index)); 96 return m_functor(m_matrix.row(index)); 100 MatrixTypeNested m_matrix; 207 return SubVector(m_matrix.derived(),i); 213 { return Direction==Vertical?m_matrix.cols():m_matrix.rows(); } [all …]
|
D | SelfAdjointView.h | 72 inline SelfAdjointView(MatrixType& matrix) : m_matrix(matrix) 75 inline Index rows() const { return m_matrix.rows(); } 76 inline Index cols() const { return m_matrix.cols(); } 77 inline Index outerStride() const { return m_matrix.outerStride(); } 78 inline Index innerStride() const { return m_matrix.innerStride(); } 86 return m_matrix.coeff(row, col); 95 return m_matrix.const_cast_derived().coeffRef(row, col); 99 const MatrixTypeNestedCleaned& _expression() const { return m_matrix; } 101 const MatrixTypeNestedCleaned& nestedExpression() const { return m_matrix; } 102 …xTypeNestedCleaned& nestedExpression() { return *const_cast<MatrixTypeNestedCleaned*>(&m_matrix); } [all …]
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseBlock.h | 48 : MatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) 59 : MatrixType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) 68 : m_matrix(matrix), m_outerStart(outerStart), m_outerSize(outerSize) 74 : m_matrix(matrix), m_outerStart(outer), m_outerSize(Size) 92 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… 93 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()… 97 const typename MatrixType::Nested m_matrix; 121 : MatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) 132 : MatrixType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) 141 : m_matrix(matrix), m_outerStart(outerStart), m_outerSize(outerSize) [all …]
|
D | SparsePermutation.h | 49 : m_permutation(perm), m_matrix(matrix) 52 inline int rows() const { return m_matrix.rows(); } 53 inline int cols() const { return m_matrix.cols(); } 59 SparseMatrix<Scalar,SrcStorageOrder,Index> tmp(m_matrix.rows(), m_matrix.cols()); 60 VectorXi sizes(m_matrix.outerSize()); 61 for(Index j=0; j<m_matrix.outerSize(); ++j) 64 …sizes[((Side==OnTheLeft) ^ Transposed) ? jp : j] = m_matrix.innerVector(((Side==OnTheRight) ^ Tran… 67 for(Index j=0; j<m_matrix.outerSize(); ++j) 72 for(typename MatrixTypeNestedCleaned::InnerIterator it(m_matrix,jsrc); it; ++it) 79 …alar,int(SrcStorageOrder)==RowMajor?ColMajor:RowMajor,Index> tmp(m_matrix.rows(), m_matrix.cols()); [all …]
|
D | SparseView.h | 40 m_matrix(mat), m_reference(m_reference), m_epsilon(m_epsilon) {} 44 inline Index rows() const { return m_matrix.rows(); } 45 inline Index cols() const { return m_matrix.cols(); } 47 inline Index innerSize() const { return m_matrix.innerSize(); } 48 inline Index outerSize() const { return m_matrix.outerSize(); } 51 MatrixTypeNested m_matrix; 62 IterBase(view.m_matrix, outer), m_view(view)
|
D | MappedSparseMatrix.h | 120 : m_matrix(mat), 129 inline Scalar value() const { return m_matrix.valuePtr()[m_id]; } 130 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_id]); } 132 inline Index index() const { return m_matrix.innerIndexPtr()[m_id]; } 139 const MappedSparseMatrix& m_matrix; 151 : m_matrix(mat), 160 inline Scalar value() const { return m_matrix.valuePtr()[m_id-1]; } 161 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_id-1]); } 163 inline Index index() const { return m_matrix.innerIndexPtr()[m_id-1]; } 170 const MappedSparseMatrix& m_matrix;
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | Transform.h | 74 MatrixType m_matrix; 83 m_matrix = other.m_matrix; in Transform() 92 { m_matrix = other.m_matrix; return *this; } 124 { m_matrix = other; return *this; } 137 inline Scalar operator() (int row, int col) const { return m_matrix(row,col); } 140 inline Scalar& operator() (int row, int col) { return m_matrix(row,col); } 143 inline const MatrixType& matrix() const { return m_matrix; } 145 inline MatrixType& matrix() { return m_matrix; } 148 inline ConstLinearPart linear() const { return m_matrix.template block<Dim,Dim>(0,0); } 150 inline LinearPart linear() { return m_matrix.template block<Dim,Dim>(0,0); } [all …]
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | BlockOfDynamicSparseMatrix.h | 33 : MatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in EIGEN_SPARSE_PUBLIC_INTERFACE() 42 : m_matrix(matrix), m_outerStart(outerStart), m_outerSize(outerSize) in SparseInnerVectorSet() 48 : m_matrix(matrix), m_outerStart(outer), m_outerSize(Size) in SparseInnerVectorSet() 69 m_matrix.const_cast_derived()._data()[m_outerStart+j].swap(aux._data()); 84 count += m_matrix._data()[m_outerStart+j].size(); in nonZeros() 91 eigen_assert(m_matrix.data()[m_outerStart].size()>0); in lastCoeff() 92 return m_matrix.data()[m_outerStart].vale(m_matrix.data()[m_outerStart].size()-1); in lastCoeff() 101 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… in rows() 102 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()… in cols() 106 const typename MatrixType::Nested m_matrix;
|
/external/eigen/Eigen/src/Eigenvalues/ |
D | Tridiagonalization.h | 114 : m_matrix(size,size), 130 : m_matrix(matrix), 134 internal::tridiagonalization_inplace(m_matrix, m_hCoeffs); 157 m_matrix = matrix; 159 internal::tridiagonalization_inplace(m_matrix, m_hCoeffs); 220 return m_matrix; 241 return HouseholderSequenceType(m_matrix, m_hCoeffs.conjugate()) 242 .setLength(m_matrix.rows() - 1) 266 return MatrixTReturnType(m_matrix.real()); 298 MatrixType m_matrix; [all …]
|
D | HessenbergDecomposition.h | 101 : m_matrix(size,size), 119 : m_matrix(matrix), 129 _compute(m_matrix, m_hCoeffs, m_temp); 152 m_matrix = matrix; 159 _compute(m_matrix, m_hCoeffs, m_temp); 215 return m_matrix; 235 return HouseholderSequenceType(m_matrix, m_hCoeffs.conjugate()) 236 .setLength(m_matrix.rows() - 1) 273 MatrixType m_matrix;
|
/external/eigen/Eigen/src/Geometry/ |
D | Transform.h | 224 MatrixType m_matrix; 240 m_matrix = other.m_matrix; in Transform() 261 { m_matrix = other.m_matrix; return *this; } 292 m_matrix = other.matrix(); in Transform() 318 m_matrix.template block<Dim,Dim+1>(0,0) = other.matrix().template block<Dim,Dim+1>(0,0); in Transform() 361 inline Scalar operator() (Index row, Index col) const { return m_matrix(row,col); } in operator() 364 inline Scalar& operator() (Index row, Index col) { return m_matrix(row,col); } in operator() 367 inline const MatrixType& matrix() const { return m_matrix; } in matrix() 369 inline MatrixType& matrix() { return m_matrix; } in matrix() 372 inline ConstLinearPart linear() const { return ConstLinearPart(m_matrix,0,0); } in linear() [all …]
|
/external/eigen/Eigen/src/SparseCholesky/ |
D | SimplicialCholesky.h | 107 inline Index cols() const { return m_matrix.cols(); } in cols() 108 inline Index rows() const { return m_matrix.rows(); } in rows() 181 …s << " L: " << ((total+=(m_matrix.cols()+1) * sizeof(int) + m_matrix.nonZeros()*(sizeof(in… in dumpMemory() 195 eigen_assert(m_matrix.rows()==b.rows()); in _solve() 205 if(m_matrix.nonZeros()>0) // otherwise L==I in _solve() 211 if (m_matrix.nonZeros()>0) // otherwise U==I in _solve() 223 eigen_assert(m_matrix.rows()==b.rows()); in _solve_sparse() 293 CholMatrixType m_matrix; variable 386 return Traits::getL(Base::m_matrix); 392 return Traits::getU(Base::m_matrix); [all …]
|
/external/eigen/Eigen/src/PardisoSupport/ |
D | PardisoSupport.h | 293 mutable SparseMatrixType m_matrix; 319 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 342 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 362 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 406 … m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(), 434 using Base::m_matrix; 457 m_matrix = matrix; 487 using Base::m_matrix; 515 m_matrix.resize(matrix.rows(), matrix.cols()); 516 …m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_n… [all …]
|
/external/eigen/Eigen/src/Cholesky/ |
D | LDLT.h | 72 LDLT() : m_matrix(), m_transpositions(), m_isInitialized(false) {} in LDLT() 81 : m_matrix(size, size), in LDLT() 93 : m_matrix(matrix.rows(), matrix.cols()), in LDLT() 113 return Traits::getU(m_matrix); in matrixU() 120 return Traits::getL(m_matrix); in matrixL() 135 return m_matrix.diagonal(); in vectorD() 179 eigen_assert(m_matrix.rows()==b.rows() in solve() 208 return m_matrix; in matrixLDLT() 213 inline Index rows() const { return m_matrix.rows(); } in rows() 214 inline Index cols() const { return m_matrix.cols(); } in cols() [all …]
|