HomeSort by relevance Sort by last modified time
    Searched refs:matrix (Results 26 - 50 of 1195) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/ceres-solver/internal/ceres/
incomplete_lq_factorization.h 47 // 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/skia/gm/
fadefilter.cpp 14 SkScalar matrix[20] = { 1, 0, 0, 0, 128.0f, local
19 SkColorMatrixFilter::Create(matrix));
matriximagefilter.cpp 13 const SkMatrix& matrix, SkFilterQuality filter) {
15 SkImageFilter::CreateMatrixFilter(matrix, filter));
44 SkMatrix matrix; local
46 matrix.setSkew(SkDoubleToScalar(0.5), SkDoubleToScalar(0.2));
53 draw(canvas, srcRect, checkerboard, matrix, kNone_SkFilterQuality);
56 draw(canvas, srcRect, checkerboard, matrix, kLow_SkFilterQuality);
61 draw(canvas, srcRect, checkerboard, matrix, kMedium_SkFilterQuality);
64 draw(canvas, srcRect, checkerboard, matrix, kHigh_SkFilterQuality);
  /external/skia/src/gpu/
GrPaint.cpp 24 void GrPaint::addColorTextureProcessor(GrTexture* texture, const SkMatrix& matrix) {
25 this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
28 void GrPaint::addCoverageTextureProcessor(GrTexture* texture, const SkMatrix& matrix) {
29 this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
33 const SkMatrix& matrix,
36 matrix, params))->unref();
40 const SkMatrix& matrix,
43 matrix, params))->unref();
GrPathRenderer.cpp 16 const SkMatrix& matrix,
23 matrix.mapRect(bounds);
GrQuad.h 33 void map(const SkMatrix& matrix) {
34 matrix.mapPoints(fPoints, kNumPoints);
37 void setFromMappedRect(const SkRect& rect, const SkMatrix& matrix) {
39 matrix.mapPoints(fPoints, kNumPoints);
  /external/pdfium/xfa/src/fxbarcode/qrcode/
BC_QRCoderMatrixUtil.h 27 static void ClearMatrix(CBC_CommonByteMatrix* matrix, int32_t& e);
32 CBC_CommonByteMatrix* matrix,
35 CBC_CommonByteMatrix* matrix,
39 CBC_CommonByteMatrix* matrix,
43 CBC_CommonByteMatrix* matrix,
46 CBC_CommonByteMatrix* matrix,
59 static void EmbedTimingPatterns(CBC_CommonByteMatrix* matrix, int32_t& e);
60 static void EmbedDarkDotAtLeftBottomCorner(CBC_CommonByteMatrix* matrix,
64 CBC_CommonByteMatrix* matrix,
68 CBC_CommonByteMatrix* matrix,
    [all...]
  /external/eigen/test/
corners.cpp 13 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.template block<r,c>(rows-r,0)))
    [all...]
geo_transformations.cpp 20 typedef Matrix<Scalar,3,1> Vector3;
39 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());
82 typedef Matrix<Scalar,3,3> Matrix3;
83 typedef Matrix<Scalar,4,4> Matrix4;
84 typedef Matrix<Scalar,2,1> Vector2;
85 typedef Matrix<Scalar,3,1> Vector3;
86 typedef Matrix<Scalar,4,1> Vector4
    [all...]
  /external/skia/experimental/
SkSetPoly3To3.cpp 11 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]) {
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->getSkewX()))
    [all...]
  /frameworks/base/core/java/android/gesture/
OrientedBoundingBox.java 19 import android.graphics.Matrix;
60 Matrix matrix = new Matrix(); local
61 matrix.setRotate(orientation);
62 matrix.postTranslate(centerX, centerY);
63 matrix.mapPoints(point);
68 matrix.mapPoints(point);
73 matrix.mapPoints(point);
78 matrix.mapPoints(point)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
Covariance.java 27 * Computes covariances for pairs of arrays or columns of a matrix.
48 /** covariance matrix */
52 * Create an empty covariance matrix.
67 * Create a Covariance matrix from a rectangular array
86 * Create a Covariance matrix from a rectangular array
101 * Create a covariance matrix from a matrix whose columns
107 * <p>The matrix must have at least two columns and two rows</p>
109 * @param matrix matrix with columns representing covariate
    [all...]
SpearmansCorrelation.java 52 * Create a SpearmansCorrelation with the given input data matrix
55 * @param dataMatrix matrix of data with columns representing
67 * Create a SpearmansCorrelation from the given data matrix.
69 * @param dataMatrix matrix of data with columns representing
86 * Calculate the Spearman Rank Correlation Matrix.
88 * @return Spearman Rank Correlation Matrix
97 * <code>new SpearmansCorrelation(matrix).getRankCorrelation()</code>
99 * <code>new PearsonsCorrelation(rankTransform(matrix))</code> where
100 * <code>rankTransform(matrix)</code> is the result of applying the
102 * <code>matrix.</code
    [all...]
  /external/skia/src/animator/
SkDrawShader.cpp 18 SK_MEMBER(matrix, Matrix),
26 SkDrawShader::SkDrawShader() : matrix(nullptr),
39 return matrix ? &matrix->getMatrix() : nullptr;
  /external/skia/src/core/
SkMatrixUtils.h 17 * Given a matrix, size and paint, return true if the computed dst-rect would
26 /** Decomposes the upper-left 2x2 of the matrix into a rotation (represented by
30 Returns true if successful. Returns false if the matrix is degenerate.
32 bool SkDecomposeUpper2x2(const SkMatrix& matrix,
SkRecords.cpp 29 TypedMatrix::TypedMatrix(const SkMatrix& matrix) : SkMatrix(matrix) {
SkMatrixImageFilter.cpp 34 SkMatrix matrix; local
35 buffer.readMatrix(&matrix);
37 return Create(matrix, quality, common.getInput(0));
65 SkMatrix matrix; local
66 if (!ctx.ctm().invert(&matrix)) {
69 matrix.postConcat(fTransform);
70 matrix.postConcat(ctx.ctm());
71 matrix.mapRect(&dstRect, srcRect);
81 canvas.concat(matrix);
104 SkMatrix matrix; local
    [all...]
  /cts/tests/openglperf2/jni/graphics/
TransformationNode.cpp 16 TransformationNode::TransformationNode(Matrix* matrix) :
17 mMatrix(matrix) {
24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view,
25 Matrix& projection) {
26 // Save the current Matrix.
32 void TransformationNode::after(Program& program, Matrix& model, Matrix& view,
33 Matrix& projection)
    [all...]
  /external/eigen/Eigen/src/Eigenvalues/
ComplexSchur_MKL.h 44 ComplexSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \
45 ComplexSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, bool computeU) \
47 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> MatrixType; \
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;
    [all...]
  /external/eigen/doc/examples/
Tutorial_ArrayClass_interop.cpp 18 result = (m.array() + 4).matrix() * m;
20 result = (m.array() * n.array()).matrix() * m;
  /external/skia/include/core/
SkRasterizer.h 23 /** Turn the path into a mask, respecting the specified local->device matrix.
25 bool rasterize(const SkPath& path, const SkMatrix& matrix,
33 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
  /external/skia/src/gpu/effects/
GrBicubicEffect.h 49 * Create a Mitchell filter effect with specified texture matrix and x/y tile modes.
51 static const GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix,
53 return Create(tex, gMitchellCoefficients, matrix, tileModes);
57 * Create a filter effect with custom bicubic coefficients, the texture matrix, and the x/y
61 const SkMatrix& matrix,
63 return new GrBicubicEffect(tex, coefficients, matrix, tileModes);
67 * Create a Mitchell filter effect with a texture matrix and a domain.
69 static const GrFragmentProcessor* Create(GrTexture* tex, const SkMatrix& matrix,
71 return new GrBicubicEffect(tex, gMitchellCoefficients, matrix, domain);
85 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16], const SkMatrix &matrix,
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
vg_state.h 33 #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/mesa3d/src/gallium/auxiliary/vl/
vl_csc.c 41 * To calculate the color space conversion matrix csc with ProcAmp adjustments,
45 * Where cstd is a matrix corresponding to one of the color standards (BT.601, BT.709, etc)
47 * bias is a matrix corresponding to the kind of YCbCr -> RGB mapping wanted (1:1, full)
177 vl_csc_matrix *matrix)
191 assert(matrix);
206 memcpy(matrix, identity, sizeof(vl_csc_matrix));
210 (*matrix)[0][0] = c * (*cstd)[0][0];
211 (*matrix)[0][1] = c * (*cstd)[0][1] * s * cosf(h) - c * (*cstd)[0][2] * s * sinf(h);
212 (*matrix)[0][2] = c * (*cstd)[0][2] * s * cosf(h) + c * (*cstd)[0][1] * s * sinf(h);
213 (*matrix)[0][3] = (*cstd)[0][3] + (*cstd)[0][0] * (b + c * ybias)
    [all...]
  /frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
SampleProvider.java 63 MatrixCursor matrix = new MatrixCursor(projection); local
72 addRow(matrix, PHOTO_INDIVIDUAL_1);
73 addRow(matrix, PHOTO_INDIVIDUAL_2);
74 addRow(matrix, PHOTO_INDIVIDUAL_3);
75 addRow(matrix, PHOTO_INDIVIDUAL_4);
80 addRow(matrix, PHOTO_INDIVIDUAL_1);
83 addRow(matrix, PHOTO_INDIVIDUAL_2);
86 addRow(matrix, PHOTO_INDIVIDUAL_3);
89 addRow(matrix, PHOTO_INDIVIDUAL_4);
97 return matrix;
    [all...]

Completed in 2957 milliseconds

12 3 4 5 6 7 8 91011>>