HomeSort by relevance Sort by last modified time
    Searched refs:Matrix (Results 201 - 225 of 1182) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/eigen/unsupported/doc/examples/
PolynomialSolver1.cpp 10 typedef Matrix<double,5,1> Vector5d;
14 Eigen::Matrix<double,6,1> polynomial;
28 Eigen::Matrix<float,7,1> hardCase_polynomial;
34 Eigen::Matrix<float,6,1> evals;
  /external/swiftshader/src/Renderer/
Plane.cpp 17 #include "Matrix.hpp"
41 Plane operator*(const Plane &p, const Matrix &T)
43 Matrix M = !T;
51 Plane operator*(const Matrix &T, const Plane &p)
53 Matrix M = !T;
Point.hpp 21 struct Matrix;
59 friend Point operator*(const Matrix &M, const Point& P);
60 friend Point operator*(const Point &P, const Matrix &M);
61 friend Point &operator*=(Point &P, const Matrix &M);
  /external/webrtc/webrtc/modules/audio_processing/beamformer/
complex_matrix.h 18 #include "webrtc/modules/audio_processing/beamformer/matrix.h"
24 // An extension of Matrix for operations that only work on a complex type.
26 class ComplexMatrix : public Matrix<complex<T> > {
28 ComplexMatrix() : Matrix<complex<T> >() {}
31 : Matrix<complex<T> >(num_rows, num_columns) {}
34 : Matrix<complex<T> >(data, num_rows, num_columns) {}
36 // Complex Matrix operations.
  /frameworks/support/transition/src/main/java/androidx/transition/
ImageViewUtils.java 21 import android.graphics.Matrix;
37 * {@link #animateTransform(ImageView, Matrix)}.
43 if (scaleType == ImageView.ScaleType.MATRIX) {
46 view.setScaleType(ImageView.ScaleType.MATRIX);
53 * Sets the matrix to animate the content of the image view.
55 static void animateTransform(ImageView view, Matrix matrix) {
57 view.setImageMatrix(matrix);
62 sAnimateTransformMethod.invoke(view, matrix);
76 Matrix.class)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
RadialGradientTest.java 23 import android.graphics.Matrix;
44 Matrix m = new Matrix();
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
Projector.java 19 import android.opengl.Matrix;
43 Matrix.multiplyMM(mMVP, 0, mGrabber.mProjection, 0, mGrabber.mModelView, 0);
47 Matrix.multiplyMV(mV, 0, mMVP, 0, obj, objOffset);
57 * Get the current projection matrix. Has the side-effect of
58 * setting current matrix mode to GL_PROJECTION
67 * Get the current model view matrix. Has the side-effect of
68 * setting current matrix mode to GL_MODELVIEW
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
SkewableTextView.java 21 import android.graphics.Matrix;
75 Matrix matrix = new Matrix(); local
76 matrix.setSkew(-mSkewX, 0);
78 matrix.mapRect(mTempRect);
  /external/eigen/Eigen/src/Geometry/
RotationBase.h 36 /** corresponding linear transformation matrix type */
37 typedef Matrix<Scalar,Dim,Dim> RotationMatrixType;
38 typedef Matrix<Scalar,Dim,1> VectorType;
44 /** \returns an equivalent rotation matrix */
47 /** \returns an equivalent rotation matrix
50 EIGEN_DEVICE_FUNC inline RotationMatrixType matrix() const { return derived().toRotationMatrix(); } function in class:Eigen::RotationBase
65 * - a DimxDim linear transformation matrix
66 * - a DimxDim diagonal matrix (axis aligned scaling)
99 // implementation of the generic product rotation * matrix
104 typedef Matrix<typename RotationDerived::Scalar,Dim,Dim> ReturnType
    [all...]
  /external/eigen/test/
householder.cpp 26 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
27 typedef Matrix<Scalar, internal::decrement_size<MatrixType::RowsAtCompileTime>::ret, 1> EssentialVectorType;
28 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
29 typedef Matrix<Scalar, Dynamic, MatrixType::ColsAtCompileTime> HBlockMatrixType;
30 typedef Matrix<Scalar, Dynamic, 1> HCoeffsVectorType;
32 typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, MatrixType::RowsAtCompileTime> TMatrixType;
34 Matrix<Scalar, EIGEN_SIZE_MAX(MatrixType::RowsAtCompileTime,MatrixType::ColsAtCompileTime), 1> _tmp((std::max)(rows,cols));
97 VERIFY_IS_APPROX(m3 * m5, m1); // test evaluating hseq to a dense matrix, then applying
123 VERIFY_IS_APPROX(m3 * m5, m1); // test evaluating rhseq to a dense matrix, then applying
129 CALL_SUBTEST_1( householder(Matrix<double,2,2>()) )
    [all...]
miscmatrices.cpp 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
29 Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
41 CALL_SUBTEST_1( miscMatrices(Matrix<float, 1, 1>()) );
sparse.h 49 /* Initializes both a sparse and dense matrix with same random values,
52 * allowing to control the shape of the matrix.
58 Matrix<Scalar,Dynamic,Dynamic,Opt1>& refMat,
61 std::vector<Matrix<StorageIndex,2,1> >* zeroCoords = 0,
62 std::vector<Matrix<StorageIndex,2,1> >* nonzeroCoords = 0)
99 nonzeroCoords->push_back(Matrix<StorageIndex,2,1> (ai,aj));
103 zeroCoords->push_back(Matrix<StorageIndex,2,1> (ai,aj));
113 Matrix<Scalar,Dynamic,Dynamic, Opt1>& refMat,
116 std::vector<Matrix<Index,2,1> >* zeroCoords = 0,
117 std::vector<Matrix<Index,2,1> >* nonzeroCoords = 0
    [all...]
umeyama.cpp 20 // Constructs a random matrix from the unitary group U(size).
22 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixUnitary(int size)
25 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType;
34 // initialize random matrix
50 // the numerical orthogonality of the matrix
68 eigen_assert(false && "randMatrixUnitary: Could not construct unitary matrix!");
73 // Constructs a random matrix from the special unitary group SU(size).
75 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixSpecialUnitary(int size)
79 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType;
81 // initialize unitary matrix
    [all...]
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
rwupdt.h 7 Matrix< Scalar, Dynamic, Dynamic > &r,
8 const Matrix< Scalar, Dynamic, 1> &w,
9 Matrix< Scalar, Dynamic, 1> &b,
  /external/tensorflow/tensorflow/core/kernels/
self_adjoint_eig_op.cc 38 using Matrix = typename Base::Matrix;
53 // If X is an empty matrix (0 rows, 0 col), X * X' == X.
59 Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>>
self_adjoint_eig_v2_op_impl.h 40 using Matrix = typename Base::Matrix;
59 // If X is an empty matrix (0 rows, 0 col), X * X' == X.
64 Eigen::SelfAdjointEigenSolver<Matrix> eig(
  /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...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
AssetsAtlasActivity.java 23 import android.graphics.Matrix;
53 final Matrix matrix = new Matrix(); local
54 matrix.setScale(0.5f, 0.5f);
61 canvas.drawBitmap(mBitmap, matrix, null);
Bitmaps3dActivity.java 24 import android.graphics.Matrix;
46 private Matrix mMatrix;
54 mMatrix = new Matrix();
  /packages/apps/Camera2/tests/src/com/android/camera/unittest/
CameraUnitTest.java 21 import android.graphics.Matrix;
29 Matrix matrix = new Matrix(); local
33 CameraUtil.prepareMatrix(matrix, false, 0, 800, 480);
36 matrix.mapPoints(points);
39 CameraUtil.prepareMatrix(matrix, false, 90, 800, 480);
42 matrix.mapPoints(points);
45 CameraUtil.prepareMatrix(matrix, false, 180, 800, 480);
48 matrix.mapPoints(points)
    [all...]
  /packages/apps/DevCamera/src/com/android/devcamera/
BitmapUtility.java 20 import android.graphics.Matrix;
63 Matrix mat = new Matrix();
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/util/
BitmapResizer.java 20 import android.graphics.Matrix;
43 Matrix matrix = new Matrix(); local
44 matrix.postRotate(rotation);
51 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true);
69 matrix.postScale(ratio, ratio);
70 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageVignette.java 21 import android.graphics.Matrix;
50 Matrix mToScr;
51 Matrix mToImage;
62 public void setTransform(Matrix toScr, Matrix toImage, int imgWidth, int imgHeight) {
166 mElipse.setScrImageInfo(new Matrix(),
201 Matrix toImg = getScreenToImageMatrix(false);
202 Matrix toScr = new Matrix();
230 Matrix toImg = getScreenToImageMatrix(false)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
TextureViewHelper.java 20 import android.graphics.Matrix;
92 * transform matrix will be automatically adjusted based on the preview
123 * Transforms the preview with the identity matrix, ensuring there is no
128 mPreview.setTransform(new Matrix());
182 * This takes a matrix to apply to the texture view and uses the screen
185 * @param matrix the matrix to apply
188 public void updateTransformFullScreen(Matrix matrix, float aspectRatio) {
194 mPreview.setTransform(matrix);
    [all...]
  /external/tensorflow/tensorflow/core/util/ctc/
ctc_loss_calculator.h 53 typedef Eigen::MatrixXf Matrix;
73 const Matrix& y, bool ctc_merge_repeated,
74 Matrix* log_alpha) const;
77 const Matrix& y, bool ctc_merge_repeated,
78 Matrix* log_beta) const;
80 void CalculateGradient(const std::vector<int>& l_prime, const Matrix& y,
81 const Matrix& log_alpha, const Matrix& log_beta,
82 float log_p_z_x, Matrix* dy) const;
192 Matrix log_alpha_b(l_prime.size(), seq_len(b) - this->output_delay_)
    [all...]

Completed in 908 milliseconds

1 2 3 4 5 6 7 891011>>