Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformationMatrix.h77 m_matrix[0][0] = a; m_matrix[0][1] = b; m_matrix[0][2] = 0; m_matrix[0][3] = 0; in setMatrix()
78 m_matrix[1][0] = c; m_matrix[1][1] = d; m_matrix[1][2] = 0; m_matrix[1][3] = 0; in setMatrix()
79 m_matrix[2][0] = 0; m_matrix[2][1] = 0; m_matrix[2][2] = 1; m_matrix[2][3] = 0; in setMatrix()
80 m_matrix[3][0] = e; m_matrix[3][1] = f; m_matrix[3][2] = 0; m_matrix[3][3] = 1; in setMatrix()
88 m_matrix[0][0] = m11; m_matrix[0][1] = m12; m_matrix[0][2] = m13; m_matrix[0][3] = m14; in setMatrix()
89 m_matrix[1][0] = m21; m_matrix[1][1] = m22; m_matrix[1][2] = m23; m_matrix[1][3] = m24; in setMatrix()
90 m_matrix[2][0] = m31; m_matrix[2][1] = m32; m_matrix[2][2] = m33; m_matrix[2][3] = m34; in setMatrix()
91 m_matrix[3][0] = m41; m_matrix[3][1] = m42; m_matrix[3][2] = m43; m_matrix[3][3] = m44; in setMatrix()
96 setMatrix(t.m_matrix);
108 … return m_matrix[0][0] == 1 && m_matrix[0][1] == 0 && m_matrix[0][2] == 0 && m_matrix[0][3] == 0 && in isIdentity()
[all …]
DTransformationMatrix.cpp673 …return FloatPoint(p.x() + static_cast<float>(m_matrix[3][0]), p.y() + static_cast<float>(m_matrix[… in mapPoint()
681 return FloatPoint3D(p.x() + static_cast<float>(m_matrix[3][0]), in mapPoint()
682 p.y() + static_cast<float>(m_matrix[3][1]), in mapPoint()
683 p.z() + static_cast<float>(m_matrix[3][2])); in mapPoint()
702 mappedRect.move(static_cast<float>(m_matrix[3][0]), static_cast<float>(m_matrix[3][1])); in mapRect()
722 mappedQuad.move(static_cast<float>(m_matrix[3][0]), static_cast<float>(m_matrix[3][1])); in mapQuad()
736 m_matrix[0][0] *= sx; in scaleNonUniform()
737 m_matrix[0][1] *= sx; in scaleNonUniform()
738 m_matrix[0][2] *= sx; in scaleNonUniform()
739 m_matrix[0][3] *= sx; in scaleNonUniform()
[all …]
DMatrix3DTransformOperation.h40 TransformationMatrix matrix() const {return m_matrix; } in matrix()
55 return m_matrix == m->m_matrix;
60 transform.multiply(TransformationMatrix(m_matrix)); in apply()
67 m_matrix = mat; in Matrix3DTransformOperation()
70 TransformationMatrix m_matrix; variable
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSMatrix.h50 double a() const { return m_matrix.a(); } in a()
51 double b() const { return m_matrix.b(); } in b()
52 double c() const { return m_matrix.c(); } in c()
53 double d() const { return m_matrix.d(); } in d()
54 double e() const { return m_matrix.e(); } in e()
55 double f() const { return m_matrix.f(); } in f()
57 void setA(double f) { m_matrix.setA(f); } in setA()
58 void setB(double f) { m_matrix.setB(f); } in setB()
59 void setC(double f) { m_matrix.setC(f); } in setC()
60 void setD(double f) { m_matrix.setD(f); } in setD()
[all …]
DCSSMatrix.cpp44 : m_matrix(m) in CSSMatrix()
80 m_matrix = t; in setMatrixValue()
92 return CSSMatrix::create(TransformationMatrix(m_matrix).multiply(secondMatrix->m_matrix)); in multiply()
97 if (!m_matrix.isInvertible()) { in inverse()
102 return CSSMatrix::create(m_matrix.inverse()); in inverse()
113 return CSSMatrix::create(TransformationMatrix(m_matrix).translate3d(x, y, z)); in translate()
124 return CSSMatrix::create(TransformationMatrix(m_matrix).scale3d(scaleX, scaleY, scaleZ)); in scale()
142 return CSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(rotX, rotY, rotZ)); in rotate()
157 return CSSMatrix::create(TransformationMatrix(m_matrix).rotate3d(x, y, z, angle)); in rotateAxisAngle()
164 return CSSMatrix::create(TransformationMatrix(m_matrix).skewX(angle)); in skewX()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDOMMatrixReadOnly.cpp17 return m_matrix.isIdentity(); in isIdentity()
49 m_matrix.m11(), m_matrix.m12(), m_matrix.m13(), m_matrix.m14(), in toFloat32Array()
50 m_matrix.m21(), m_matrix.m22(), m_matrix.m23(), m_matrix.m24(), in toFloat32Array()
51 m_matrix.m31(), m_matrix.m32(), m_matrix.m33(), m_matrix.m34(), in toFloat32Array()
52 m_matrix.m41(), m_matrix.m42(), m_matrix.m43(), m_matrix.m44() in toFloat32Array()
61 m_matrix.m11(), m_matrix.m12(), m_matrix.m13(), m_matrix.m14(), in toFloat64Array()
62 m_matrix.m21(), m_matrix.m22(), m_matrix.m23(), m_matrix.m24(), in toFloat64Array()
63 m_matrix.m31(), m_matrix.m32(), m_matrix.m33(), m_matrix.m34(), in toFloat64Array()
64 m_matrix.m41(), m_matrix.m42(), m_matrix.m43(), m_matrix.m44() in toFloat64Array()
DDOMMatrixReadOnly.h20 double a() const { return m_matrix.m11(); } in a()
21 double b() const { return m_matrix.m12(); } in b()
22 double c() const { return m_matrix.m21(); } in c()
23 double d() const { return m_matrix.m22(); } in d()
24 double e() const { return m_matrix.m41(); } in e()
25 double f() const { return m_matrix.m42(); } in f()
27 double m11() const { return m_matrix.m11(); } in m11()
28 double m12() const { return m_matrix.m12(); } in m12()
29 double m13() const { return m_matrix.m13(); } in m13()
30 double m14() const { return m_matrix.m14(); } in m14()
[all …]
DDOMMatrix.h17 void setA(double value) { m_matrix.setM11(value); } in setA()
18 void setB(double value) { m_matrix.setM12(value); } in setB()
19 void setC(double value) { m_matrix.setM21(value); } in setC()
20 void setD(double value) { m_matrix.setM22(value); } in setD()
21 void setE(double value) { m_matrix.setM41(value); } in setE()
22 void setF(double value) { m_matrix.setM42(value); } in setF()
24 void setM11(double value) { m_matrix.setM11(value); } in setM11()
25 void setM12(double value) { m_matrix.setM12(value); } in setM12()
26 void setM13(double value) { m_matrix.setM13(value); setIs2D(!value); } in setM13()
27 void setM14(double value) { m_matrix.setM14(value); setIs2D(!value); } in setM14()
[all …]
DDOMMatrix.cpp22 m_matrix = matrix; in DOMMatrix()
37 m_matrix = m_matrix * other->matrix(); in multiplySelf()
47 m_matrix = other->matrix() * m_matrix; in preMultiplySelf()
61 m_matrix.translate(tx, ty); in translateSelf()
63 m_matrix.translate3d(tx, ty, tz); in translateSelf()
93 m_matrix.scaleNonUniform(sx, sy); in scaleNonUniformSelf()
95 m_matrix.scale3d(sx, sy, sz); in scaleNonUniformSelf()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTransform.cpp44 m_matrix = AffineTransform(0, 0, 0, 0, 0, 0); in SVGTransform()
51 , m_matrix(matrix) in SVGTransform()
60 , m_matrix(matrix) in SVGTransform()
70 return adoptRef(new SVGTransform(m_transformType, m_angle, m_center, m_matrix)); in clone()
83 m_matrix = matrix; in setMatrix()
97 m_matrix.makeIdentity(); in setTranslate()
98 m_matrix.translate(tx, ty); in setTranslate()
103 return FloatPoint::narrowPrecision(m_matrix.e(), m_matrix.f()); in translate()
112 m_matrix.makeIdentity(); in setScale()
113 m_matrix.scaleNonUniform(sx, sy); in setScale()
[all …]
/external/eigen/Eigen/src/Core/
DReverse.h98 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 …]
DFlagged.h51 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 …]
DSelfCwiseBinaryOp.h55 …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 …]
DDiagonal.h73 …inline Diagonal(MatrixType& matrix, Index a_index = DiagIndex) : m_matrix(matrix), m_index(a_index…
78 …value()<0 ? (std::min<Index>)(m_matrix.cols(),m_matrix.rows()+m_index.value()) : (std::min<Index>)…
84 return m_matrix.outerStride() + 1;
98 …inline ScalarWithConstIfNotLvalue* data() { return &(m_matrix.const_cast_derived().coeffRef(rowOff…
99 …inline const Scalar* data() const { return &(m_matrix.const_cast_derived().coeffRef(rowOffset(), c…
104 return m_matrix.const_cast_derived().coeffRef(row+rowOffset(), row+colOffset());
109 return m_matrix.const_cast_derived().coeffRef(row+rowOffset(), row+colOffset());
114 return m_matrix.coeff(row+rowOffset(), row+colOffset());
120 return m_matrix.const_cast_derived().coeffRef(idx+rowOffset(), idx+colOffset());
125 return m_matrix.const_cast_derived().coeffRef(idx+rowOffset(), idx+colOffset());
[all …]
DVectorwiseOp.h79 : m_matrix(mat), m_functor(func) {}
81 Index rows() const { return (Direction==Vertical ? 1 : m_matrix.rows()); }
82 Index cols() const { return (Direction==Horizontal ? 1 : m_matrix.cols()); }
87 return m_functor(m_matrix.col(j));
89 return m_functor(m_matrix.row(i));
95 return m_functor(m_matrix.col(index));
97 return m_functor(m_matrix.row(index));
101 MatrixTypeNested m_matrix;
208 return SubVector(m_matrix.derived(),i);
214 { return Direction==Vertical?m_matrix.cols():m_matrix.rows(); }
[all …]
DReplicate.h74 : m_matrix(a_matrix), m_rowFactor(RowFactor), m_colFactor(ColFactor)
83 : m_matrix(a_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 : rowId%m_matrix.rows();
100 : colId%m_matrix.cols();
102 return m_matrix.coeff(actual_row, actual_col);
109 : rowId%m_matrix.rows();
112 : colId%m_matrix.cols();
114 return m_matrix.template packet<LoadMode>(actual_row, actual_col);
[all …]
DSelfAdjointView.h72 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/
DSparseBlock.h33 : XprType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in EIGEN_SPARSE_PUBLIC_INTERFACE()
45 : XprType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in ReverseInnerIterator()
54 : m_matrix(xpr), m_outerStart(i), m_outerSize(OuterSize) in BlockImpl()
58 …: m_matrix(xpr), m_outerStart(IsRowMajor ? startRow : startCol), m_outerSize(IsRowMajor ? blockRow… in BlockImpl()
61 …EIGEN_STRONG_INLINE Index rows() const { return IsRowMajor ? m_outerSize.value() : m_matrix.rows()… in rows()
62 …EIGEN_STRONG_INLINE Index cols() const { return IsRowMajor ? m_matrix.cols() : m_outerSize.value()… in cols()
66 typename XprType::Nested m_matrix;
96 : SparseMatrixType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in InnerIterator()
107 … : SparseMatrixType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer) in ReverseInnerIterator()
116 : m_matrix(xpr), m_outerStart(i), m_outerSize(OuterSize) in BlockImpl()
[all …]
DSparsePermutation.h49 : 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 Matrix<Index,Dynamic,1> 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 …]
DSparseView.h40 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;
63 IterBase(view.m_matrix, outer), m_view(view)
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DTransform.h74 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/
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.h114 : 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 …]
/external/eigen/Eigen/src/Geometry/
DTransform.h224 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/PardisoSupport/
DPardisoSupport.h271 mutable SparseMatrixType m_matrix;
297m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
320m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
340m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
384m_matrix.valuePtr(), m_matrix.outerIndexPtr(), m_matrix.innerIndexPtr(),
412 using Base::m_matrix;
435 m_matrix = matrix;
465 using Base::m_matrix;
493 m_matrix.resize(matrix.rows(), matrix.cols());
494m_matrix.template selfadjointView<Upper>() = matrix.template selfadjointView<UpLo>().twistedBy(p_n…
[all …]

123