Searched refs:matrix (Results 26 - 50 of 1121) sorted by relevance

1234567891011>>

/external/ceres-solver/internal/ceres/
H A Dpartitioned_matrix_view.cc52 const BlockSparseMatrix& matrix) {
58 matrix, options.elimination_groups[0]);
64 matrix, options.elimination_groups[0]);
70 matrix, options.elimination_groups[0]);
76 matrix, options.elimination_groups[0]);
82 matrix, options.elimination_groups[0]);
88 matrix, options.elimination_groups[0]);
94 matrix, options.elimination_groups[0]);
100 matrix, options.elimination_groups[0]);
106 matrix, option
51 Create(const LinearSolver::Options& options, const BlockSparseMatrix& matrix) argument
[all...]
H A Dincomplete_lq_factorization.h47 // An incomplete LQ factorization of a matrix A is a decomposition
51 // Where L is a lower triangular matrix, and Q is a near orthonormal
52 // matrix. The extent of orthonormality depends on E. E is the "drop"
53 // matrix. Each row of L has a maximum of l_level_of_fill entries, and
62 // there one only needs the L matrix, therefore this function just
67 const CompressedRowSparseMatrix& matrix,
76 // vector to matrix.
79 // assumed that scratch is of size matrix->num_cols().
85 CompressedRowSparseMatrix* matrix);
/external/chromium_org/third_party/skia/gm/
H A Dbitmapmatrix.cpp42 SkMatrix matrix; variable
43 matrix.reset();
47 canvas->drawBitmapMatrix(bm, matrix, &paint);
51 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf);
52 canvas->drawBitmapMatrix(bm, matrix, &paint);
56 matrix.reset();
57 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
61 canvas->drawBitmapMatrix(bm, matrix, &paint);
66 matrix.reset();
67 matrix
[all...]
H A Dpicture.cpp56 SkMatrix matrix; variable
61 matrix.setTranslate(110, 0);
62 canvas->drawPicture(fPicture, &matrix, NULL);
64 matrix.postTranslate(110, 0);
65 canvas->drawPicture(fPicture, &matrix, &paint);
68 matrix.postTranslate(110, 0);
69 canvas->drawPicture(fPicture, &matrix, &paint);
/external/skia/gm/
H A Dbitmapmatrix.cpp42 SkMatrix matrix; variable
43 matrix.reset();
47 canvas->drawBitmapMatrix(bm, matrix, &paint);
51 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf);
52 canvas->drawBitmapMatrix(bm, matrix, &paint);
56 matrix.reset();
57 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
61 canvas->drawBitmapMatrix(bm, matrix, &paint);
66 matrix.reset();
67 matrix
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathRenderer.cpp16 const SkMatrix& matrix,
23 matrix.mapRect(bounds);
14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
/external/skia/src/gpu/
H A DGrPathRenderer.cpp16 const SkMatrix& matrix,
23 matrix.mapRect(bounds);
14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
/external/eigen/test/
H A Dcorners.cpp13 VERIFY_IS_EQUAL(matrix.A, matrix.B); \
25 MatrixType matrix = MatrixType::Random(rows,cols); local
48 MatrixType matrix = MatrixType::Random(); local
60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0)));
61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c)));
62 VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix
[all...]
H A Dgeo_transformations.cpp39 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
58 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>()));
61 VERIFY_IS_APPROX(t1.matrix(), t0.matrix());
114 // rotation matrix conversion
152 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
153 t0.matrix().setZero();
155 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
167 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>()));
170 VERIFY_IS_APPROX(t1.matrix(), t
[all...]
/external/skia/src/gpu/effects/
H A DGrSimpleTextureEffect.h19 * can have a matrix applied in the VS in both the local and position cases but not with a custom
27 const SkMatrix& matrix,
29 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, GrTextureParams::kNone_FilterMode, coordSet)));
35 const SkMatrix& matrix,
39 SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, filterMode, coordSet)));
44 const SkMatrix& matrix,
47 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, p, coordSet)));
63 const SkMatrix& matrix,
66 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
70 const SkMatrix& matrix,
26 Create(GrTexture* tex, const SkMatrix& matrix, GrCoordSet coordSet = kLocal_GrCoordSet) argument
34 Create(GrTexture* tex, const SkMatrix& matrix, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet = kLocal_GrCoordSet) argument
43 Create(GrTexture* tex, const SkMatrix& matrix, const GrTextureParams& p, GrCoordSet coordSet = kLocal_GrCoordSet) argument
62 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet) argument
69 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params, GrCoordSet coordSet) argument
[all...]
H A DGrBicubicEffect.h55 * Create a Mitchell filter effect with specified texture matrix and x/y tile modes.
57 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, argument
59 return Create(tex, gMitchellCoefficients, matrix, tileModes);
63 * Create a filter effect with custom bicubic coefficients, the texture matrix, and the x/y
67 const SkMatrix& matrix, const SkShader::TileMode tileModes[2]) {
68 AutoEffectUnref effect(SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, matrix, tileModes)));
73 * Create a Mitchell filter effect with a texture matrix and a domain.
75 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, const SkRect& domain) { argument
76 AutoEffectUnref effect(SkNEW_ARGS(GrBicubicEffect, (tex, gMitchellCoefficients, matrix,
93 const SkMatrix &matrix, cons
66 Create(GrTexture* tex, const SkScalar coefficients[16], const SkMatrix& matrix, const SkShader::TileMode tileModes[2]) argument
[all...]
/external/chromium_org/ui/gfx/geometry/
H A Dmatrix3_unittest.cc34 Matrix3F matrix = Matrix3F::Ones(); local
38 matrix.set(0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f);
39 EXPECT_EQ(Vector3dF(2.0f, 5.0f, 8.0f), matrix.get_column(2));
40 matrix.set_column(0, Vector3dF(0.1f, 0.2f, 0.3f));
41 EXPECT_EQ(Vector3dF(0.1f, 0.2f, 0.3f), matrix.get_column(0));
43 EXPECT_EQ(0.1f, matrix.get(0, 0));
44 EXPECT_EQ(5.0f, matrix.get(1, 2));
53 Matrix3F matrix = Matrix3F::Zeros(); local
54 matrix.set(0, 5, 6, 8, 7, 0, 1, 9, 0);
55 EXPECT_EQ(390.0f, matrix
100 Matrix3F matrix = Matrix3F::Zeros(); local
116 Matrix3F matrix = Matrix3F::Zeros(); local
133 Matrix3F matrix = Matrix3F::Zeros(); local
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkMatrixImageFilter.cpp44 SkMatrix matrix; local
45 buffer.readMatrix(&matrix);
47 return Create(matrix, level, common.getInput(0), common.uniqueID());
75 SkMatrix matrix; local
76 if (!ctx.ctm().invert(&matrix)) {
79 matrix.postConcat(fTransform);
80 matrix.postConcat(ctx.ctm());
81 matrix.mapRect(&dstRect, srcRect);
91 canvas.concat(matrix);
109 SkMatrix matrix; local
122 SkMatrix matrix; local
[all...]
/external/chromium_org/third_party/skia/experimental/
H A DSkSetPoly3To3.cpp11 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
33 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument
59 matrix->reset();
60 matrix->setScaleX(dot(srcOP0, srcOP1, dstOP[0], dstOP[2]));
61 matrix->setSkewX( dot(srcOP2, srcOP3, dstOP[0], dstOP[2]));
62 matrix->setSkewY (dot(srcOP0, srcOP1, dstOP[1], dstOP[3]));
63 matrix->setScaleY(dot(srcOP2, srcOP3, dstOP[1], dstOP[3]));
64 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
65 matrix->getScaleX(), matrix
[all...]
/external/skia/experimental/
H A DSkSetPoly3To3.cpp11 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
33 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument
59 matrix->reset();
60 matrix->setScaleX(dot(srcOP0, srcOP1, dstOP[0], dstOP[2]));
61 matrix->setSkewX( dot(srcOP2, srcOP3, dstOP[0], dstOP[2]));
62 matrix->setSkewY (dot(srcOP0, srcOP1, dstOP[1], dstOP[3]));
63 matrix->setScaleY(dot(srcOP2, srcOP3, dstOP[1], dstOP[3]));
64 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
65 matrix->getScaleX(), matrix
[all...]
/external/chromium_org/cc/quads/
H A Dstream_video_draw_quad.cc21 const gfx::Transform& matrix) {
26 this->matrix = matrix;
35 const gfx::Transform& matrix) {
39 this->matrix = matrix;
55 value->BeginArray("matrix");
56 MathUtil::AddToTracedValue(matrix, value);
16 SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, unsigned resource_id, const gfx::Transform& matrix) argument
29 SetAll(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, const gfx::Rect& opaque_rect, const gfx::Rect& visible_rect, bool needs_blending, unsigned resource_id, const gfx::Transform& matrix) argument
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
H A Domnibox_popup_matrix.h17 // Called when the selection in the matrix changes.
18 virtual void OnMatrixRowSelected(OmniboxPopupMatrix* matrix, size_t row) = 0;
21 virtual void OnMatrixRowClicked(OmniboxPopupMatrix* matrix, size_t row) = 0;
24 virtual void OnMatrixRowMiddleClicked(OmniboxPopupMatrix* matrix,
35 // Create a zero-size matrix.
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
H A DAnimatableValueTestHelper.cpp112 TransformationMatrix matrix; local
113 op->apply(matrix, FloatSize(1.0, 1.0));
116 if (matrix.isAffine()) {
117 *os << matrix.a();
118 *os << " " << matrix.b();
119 *os << " " << matrix.c();
120 *os << " " << matrix.d();
121 *os << " " << matrix.e();
122 *os << " " << matrix.f();
124 *os << matrix
[all...]
/external/skia/src/effects/
H A DSkMatrixImageFilter.cpp63 SkMatrix matrix; local
64 if (!ctx.ctm().invert(&matrix)) {
67 matrix.postConcat(fTransform);
68 matrix.postConcat(ctx.ctm());
69 matrix.mapRect(&dstRect, srcRect);
79 canvas.concat(matrix);
97 SkMatrix matrix; local
98 matrix.setTranslate(-bounds.x(), -bounds.y());
99 matrix.postConcat(fTransform);
100 matrix
110 SkMatrix matrix; local
[all...]
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrBicubicEffect.h54 * Create a Mitchell filter effect with specified texture matrix and x/y tile modes.
56 static GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix, argument
58 return Create(tex, gMitchellCoefficients, matrix, tileModes);
62 * Create a filter effect with custom bicubic coefficients, the texture matrix, and the x/y
66 const SkMatrix& matrix,
68 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, matrix, tileModes));
72 * Create a Mitchell filter effect with a texture matrix and a domain.
74 static GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix, argument
76 return SkNEW_ARGS(GrBicubicEffect, (tex, gMitchellCoefficients, matrix, domain));
91 const SkMatrix &matrix, cons
65 Create(GrTexture* tex, const SkScalar coefficients[16], const SkMatrix& matrix, const SkShader::TileMode tileModes[2]) argument
[all...]
/external/eigen/Eigen/src/Eigenvalues/
H A DComplexSchur_MKL.h45 ComplexSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, bool computeU) \
52 eigen_assert(matrix.cols() == matrix.rows()); \
55 if(matrix.cols() == 1) \
57 m_matT = matrix.cast<ComplexScalar>(); \
64 lapack_int n = matrix.cols(), sdim, info; \
65 lapack_int lda = matrix.outerStride(); \
72 m_matT = matrix; \
/external/eigen/doc/examples/
H A DTutorial_ArrayClass_interop.cpp18 result = (m.array() + 4).matrix() * m;
20 result = (m.array() * n.array()).matrix() * m;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvg_state.h33 #include "matrix.h"
96 struct matrix path_user_to_surface_matrix;
97 struct matrix image_user_to_surface_matrix;
98 struct matrix fill_paint_to_user_matrix;
99 struct matrix stroke_paint_to_user_matrix;
100 struct matrix glyph_user_to_surface_matrix;
107 struct matrix * vg_state_matrix(struct vg_state *state);
/external/chromium_org/third_party/skia/src/core/
H A DSkMultiPictureDraw.cpp30 const SkMatrix* matrix,
41 if (matrix) {
42 data->matrix = *matrix;
44 data->matrix.setIdentity();
56 &fDrawData[i].matrix,
28 add(SkCanvas* canvas, const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_state.h33 #include "matrix.h"
96 struct matrix path_user_to_surface_matrix;
97 struct matrix image_user_to_surface_matrix;
98 struct matrix fill_paint_to_user_matrix;
99 struct matrix stroke_paint_to_user_matrix;
100 struct matrix glyph_user_to_surface_matrix;
107 struct matrix * vg_state_matrix(struct vg_state *state);

Completed in 556 milliseconds

1234567891011>>