Searched defs:mat (Results 1 - 25 of 221) sorted by relevance

123456789

/external/eigen/doc/examples/
H A Dtut_arithmetic_redux_basic.cpp7 Eigen::Matrix2d mat; local
8 mat << 1, 2,
10 cout << "Here is mat.sum(): " << mat.sum() << endl;
11 cout << "Here is mat.prod(): " << mat.prod() << endl;
12 cout << "Here is mat.mean(): " << mat.mean() << endl;
13 cout << "Here is mat.minCoeff(): " << mat
[all...]
H A Dtut_arithmetic_matrix_mul.cpp7 Matrix2d mat; local
8 mat << 1, 2,
11 std::cout << "Here is mat*mat:\n" << mat*mat << std::endl;
12 std::cout << "Here is mat*u:\n" << mat*u << std::endl;
13 std::cout << "Here is u^T*mat:\n" << u.transpose()*mat << st
[all...]
/external/eigen/doc/snippets/
H A DTutorial_AdvancedInitialization_CommaTemporary.cpp1 MatrixXf mat = MatrixXf::Random(2, 3); variable
2 std::cout << mat << std::endl << std::endl;
3 mat = (MatrixXf(2,2) << 0, 1, 1, 0).finished() * mat;
4 std::cout << mat << std::endl;
/external/eigen/test/eigen2/
H A Deigen2_qr.cpp60 Matrix3d mat; local
61 mat << 1, 45, 1, 2, 2, 2, 1, 2, 3;
62 VERIFY(mat.qr().isFullRank());
63 mat << 1, 1, 1, 2, 2, 2, 1, 2, 3;
65 //VERIFY(!mat.qr().isFullRank());
/external/eigen/unsupported/test/
H A Dmatrix_functions.h22 MatrixType mat = MatrixType::Random(size, size); local
23 EigenSolver<MatrixType> es(mat);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DMatrix3DTransformOperation.h65 Matrix3DTransformOperation(const TransformationMatrix& mat) argument
67 m_matrix = mat;
/external/eigen/Eigen/src/Core/
H A DBooleanRedux.h25 static inline bool run(const Derived &mat) argument
27 return all_unroller<Derived, UnrollCount-1>::run(mat) && mat.coeff(row, col);
34 static inline bool run(const Derived &/*mat*/) { return true; }
51 static inline bool run(const Derived &mat) argument
53 return any_unroller<Derived, UnrollCount-1>::run(mat) || mat.coeff(row, col);
60 static inline bool run(const Derived & /*mat*/) { return false; }
/external/eigen/Eigen/src/Householder/
H A DBlockHouseholder.h46 void apply_block_householder_on_the_left(MatrixType& mat, const VectorsType& vectors, const CoeffsType& hCoeffs) argument
58 VectorsType::MaxColsAtCompileTime,MatrixType::MaxColsAtCompileTime> tmp = V.adjoint() * mat;
61 mat.noalias() -= V * tmp;
/external/eigen/bench/
H A DBenchUtil.h21 template<typename MatrixType> void initMatrix_random(MatrixType& mat) __attribute__((noinline));
22 template<typename MatrixType> void initMatrix_random(MatrixType& mat) argument
24 mat.setRandom();// = MatrixType::random(mat.rows(), mat.cols());
27 template<typename MatrixType> void initMatrix_identity(MatrixType& mat) __attribute__((noinline));
28 template<typename MatrixType> void initMatrix_identity(MatrixType& mat) argument
30 mat.setIdentity();
H A Dbasicbenchmark.h38 double benchBasic(const MatrixType& mat, int size, int tries) __attribute__((noinline));
41 double benchBasic(const MatrixType& mat, int iterations, int tries) argument
43 const int rows = mat.rows();
44 const int cols = mat.cols();
/external/eigen/blas/
H A DGeneralRank1Update.h22 static void run(Index rows, Index cols, Scalar* mat, Index stride, const Scalar* u, const Scalar* v, Scalar alpha) argument
29 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i,rows) += alpha * cj(v[i]) * ConjRhsType(OtherMap(u,rows));
36 static void run(Index rows, Index cols, Scalar* mat, Index stride, const Scalar* u, const Scalar* v, Scalar alpha) argument
38 general_rank1_update<Scalar,Index,ColMajor,ConjRhs,ConjRhs>::run(rows,cols,mat,stride,u,v,alpha);
H A DPackedSelfadjointProduct.h25 static void run(Index size, Scalar* mat, const Scalar* vec, RealScalar alpha) argument
33 Map<Matrix<Scalar,Dynamic,1> >(mat, UpLo==Lower ? size-i : (i+1)) += alpha * cj(vec[i]) * ConjRhsType(OtherMap(vec+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)));
35 mat[UpLo==Lower ? 0 : i] = numext::real(mat[UpLo==Lower ? 0 : i]);
36 mat += UpLo==Lower ? size-i : (i+1);
45 static void run(Index size, Scalar* mat, const Scalar* vec, RealScalar alpha) argument
47 selfadjoint_packed_rank1_update<Scalar,Index,ColMajor,UpLo==Lower?Upper:Lower,ConjRhs,ConjLhs>::run(size,mat,vec,alpha);
H A DRank2Update.h21 static void run(Index size, Scalar* mat, Index stride, const Scalar* u, const Scalar* v, Scalar alpha) argument
26 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)) +=
39 static void run(Index size, Scalar* mat, const Scalar* u, const Scalar* v, Scalar alpha) argument
45 Map<Matrix<Scalar,Dynamic,1> >(mat+offset, UpLo==Lower ? size-i : (i+1)) +=
49 mat[offset+(UpLo==Lower ? 0 : i)] = numext::real(mat[offset+(UpLo==Lower ? 0 : i)]);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dapi_transform.c37 struct matrix *mat = vg_state_matrix(&ctx->state.vg); local
38 matrix_load_identity(mat);
44 struct matrix *mat; local
54 mat = vg_state_matrix(&ctx->state.vg);
55 matrix_init(mat, m);
56 if (!matrix_is_affine(mat)) {
58 matrix_make_affine(mat);
66 struct matrix *mat; local
76 mat = vg_state_matrix(&ctx->state.vg);
77 memcpy(m, mat
[all...]
/external/deqp/framework/common/
H A DtcuMatrixUtil.hpp59 Matrix<float, 2, 2> mat; local
63 mat(0, 0) = c;
64 mat(0, 1) = -s;
65 mat(1, 0) = s;
66 mat(1, 1) = c;
68 return mat;
73 Matrix<float, 2, 2> mat; local
74 mat(0, 0) = 1.0f;
75 mat(0, 1) = shear.x();
76 mat(
[all...]
/external/eigen/Eigen/src/Eigen2Support/
H A DCwise.h101 operator+(const Scalar& scalar, const Cwise& mat) argument
102 { return mat + scalar; }
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DRotationBase.h116 static inline const MatrixBase<OtherDerived>& ei_toRotationMatrix(const MatrixBase<OtherDerived>& mat) argument
120 return mat;
/external/llvm/lib/CodeGen/
H A DRegAllocBase.cpp59 LiveRegMatrix &mat) {
64 Matrix = &mat;
57 init(VirtRegMap &vrm, LiveIntervals &lis, LiveRegMatrix &mat) argument
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_transform.c37 struct matrix *mat = vg_state_matrix(&ctx->state.vg); local
38 matrix_load_identity(mat);
44 struct matrix *mat; local
54 mat = vg_state_matrix(&ctx->state.vg);
55 matrix_init(mat, m);
56 if (!matrix_is_affine(mat)) {
58 matrix_make_affine(mat);
66 struct matrix *mat; local
76 mat = vg_state_matrix(&ctx->state.vg);
77 memcpy(m, mat
[all...]
/external/skia/include/effects/
H A DSk2DPathEffect.h17 static Sk2DPathEffect* Create(const SkMatrix& mat) { argument
18 return SkNEW_ARGS(Sk2DPathEffect, (mat));
46 explicit Sk2DPathEffect(const SkMatrix& mat);
/external/chromium_org/third_party/qcms/src/
H A Dmatrix.c28 struct vector matrix_eval(struct matrix mat, struct vector v) argument
31 result.v[0] = mat.m[0][0]*v.v[0] + mat.m[0][1]*v.v[1] + mat.m[0][2]*v.v[2];
32 result.v[1] = mat.m[1][0]*v.v[0] + mat.m[1][1]*v.v[1] + mat.m[1][2]*v.v[2];
33 result.v[2] = mat.m[2][0]*v.v[0] + mat.m[2][1]*v.v[1] + mat
39 matrix_det(struct matrix mat) argument
55 matrix_invert(struct matrix mat) argument
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dfilltypespersp.cpp101 SkMatrix mat; local
102 mat.reset();
103 mat.setPerspY(SkScalarToPersp(SK_Scalar1 / 1000));
104 canvas->concat(mat);
H A Dfilterindiabox.cpp19 static SkSize computeSize(const SkBitmap& bm, const SkMatrix& mat) { argument
22 mat.mapRect(&bounds);
26 static void draw_row(SkCanvas* canvas, const SkBitmap& bm, const SkMatrix& mat, SkScalar dx) { argument
31 canvas->drawBitmapMatrix(bm, mat, &paint);
35 canvas->drawBitmapMatrix(bm, mat, &paint);
39 canvas->drawBitmapMatrix(bm, mat, &paint);
43 canvas->drawBitmapMatrix(bm, mat, &paint);
H A Dovals.cpp162 SkMatrix mat = fMatrices[j]; variable
164 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
168 canvas->concat(mat);
/external/chromium_org/third_party/skia/include/effects/
H A DSkColorMatrix.h50 void preConcat(const SkColorMatrix& mat) { this->setConcat(*this, mat); } argument
51 void postConcat(const SkColorMatrix& mat) { this->setConcat(mat, *this); } argument

Completed in 457 milliseconds

123456789