/external/eigen/test/ |
geo_eulerangles.cpp | 17 void verify_euler(const Matrix<Scalar,3,1>& ea, int i, int j, int k) 19 typedef Matrix<Scalar,3,3> Matrix3; 20 typedef Matrix<Scalar,3,1> Vector3; 41 template<typename Scalar> void check_all_var(const Matrix<Scalar,3,1>& ea) 61 typedef Matrix<Scalar,3,3> Matrix3; 62 typedef Matrix<Scalar,3,1> Vector3;
|
product_selfadjoint.cpp | 16 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; 17 typedef Matrix<Scalar, 1, MatrixType::RowsAtCompileTime> RowVectorType; 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, Dynamic, RowMajor> RhsMatrixType; 67 CALL_SUBTEST_1( product_selfadjoint(Matrix<float, 1, 1>()) ); 68 CALL_SUBTEST_2( product_selfadjoint(Matrix<float, 2, 2>()) ); 84 CALL_SUBTEST_7( product_selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s,s)) );
|
selfadjoint.cpp | 62 CALL_SUBTEST_1( selfadjoint(Matrix<float, 1, 1>()) ); 63 CALL_SUBTEST_2( selfadjoint(Matrix<float, 2, 2>()) ); 66 CALL_SUBTEST_5( selfadjoint(Matrix<float,Dynamic,Dynamic,RowMajor>(s, s)) );
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ImageViewTest.java | 6 import android.graphics.Matrix; 42 imageView.setImageMatrix(new Matrix()); 46 Matrix matrix = new Matrix(); local 47 matrix.setTranslate(15, 20); 48 imageView.setImageMatrix(matrix); 55 Matrix matrix = new Matrix(); local [all...] |
/external/tensorflow/tensorflow/contrib/rnn/ops/ |
gru_ops.cc | 42 ShapeHandle output = c->Matrix(batch_size, cell_size); 54 w_ru: Weight matrix for the reset and update gate. 55 w_c: Weight matrix for the cell connection gate. 70 Matrix multiplication is represented by * 122 ShapeHandle batch_cell_shape = c->Matrix(batch_size, cell_size); 127 c->set_output(3, c->Matrix(batch_size, twice_cell_size)); 136 w_ru: Weight matrix for the reset and update gate. 137 w_c: Weight matrix for the cell connection gate. 158 Matrix multiplication is represented by *
|
/external/tensorflow/tensorflow/core/kernels/ |
linalg_ops_common.h | 48 // Returns the number of leading inputs that are to be treated as matrix 56 // Many ops take a single square input matrix, so we provide that as a default 65 // Validate op taking a single matrix A. 68 // Validate op taking a single square matrix A. 79 // Returns the output shapes of each individual matrix operation. Output 94 // Returns the cost per matrix operation. This is used to determine the 98 // * min(m,n)^2, where the first input matrix is m-by-n. We provide that as a 112 using Matrix = 113 Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>; 114 using ConstMatrixMap = Eigen::Map<const Matrix>; [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, 84 * Set up a 2D orthographic projection matrix 98 * Set up a perspective projection matrix 131 * @param model the current modelview matrix 134 * @param project the current projection matrix 136 * matrix data starts. 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, 163 Matrix.multiplyMV(scratch, V2_OFFSET, 197 * @param model the current modelview matrix 200 * @param project the current projection matrix [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
Canvas.kt | 20 import android.graphics.Matrix 115 matrix: Matrix = Matrix(), 119 concat(matrix)
|
/external/eigen/Eigen/src/Eigenvalues/ |
RealSchur_LAPACKE.h | 42 RealSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \ 43 RealSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const EigenBase<InputType>& matrix, bool computeU) \ 45 eigen_assert(matrix.cols() == matrix.rows()); \ 47 lapack_int n = internal::convert_index<lapack_int>(matrix.cols()), sdim, info; \ 54 m_matT = matrix; \ 56 Matrix<EIGTYPE, Dynamic, Dynamic> wr, wi; \
|
ComplexSchur_LAPACKE.h | 42 ComplexSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >& \ 43 ComplexSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const EigenBase<InputType>& matrix, bool computeU) \ 45 typedef Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> MatrixType; \ 49 eigen_assert(matrix.cols() == matrix.rows()); \ 52 if(matrix.cols() == 1) \ 54 m_matT = matrix.derived().template cast<ComplexScalar>(); \ 61 lapack_int n = internal::convert_index<lapack_int>(matrix.cols()), sdim, info; \ 68 m_matT = matrix; \ [all...] |
/external/tensorflow/tensorflow/core/util/sparse/ |
dim_comparator.h | 34 // rows of an index matrix according to the dimension(s) of interest. 37 // Example: if given index matrix IX, two rows ai and bi, and order = {2,1}. 49 DimComparator(const TTypes<int64>::Matrix& ix, const VarDimArray& order, 88 const TTypes<int64>::Matrix ix_; 97 FixedDimComparator(const TTypes<int64>::Matrix& ix, const VarDimArray& order,
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
GhostViewApi21.java | 19 import android.graphics.Matrix; 42 static GhostViewImpl addGhost(View view, ViewGroup viewGroup, Matrix matrix) { 47 (View) sAddGhostMethod.invoke(null, view, viewGroup, matrix)); 103 ViewGroup.class, Matrix.class);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotateLayout.java | 20 import android.graphics.Matrix; 33 private Matrix mMatrix = new Matrix();
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
FastScrollThumbDrawable.java | 21 import android.graphics.Matrix; 31 private static final Matrix sMatrix = new Matrix();
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
ChangeImageTransformWithScaledParent.java | 21 import android.graphics.Matrix; 39 private static final String PROPNAME_MATRIX = "android:changeImageTransform:matrix"; 60 Matrix matrix = (Matrix) values.get(PROPNAME_MATRIX); local 61 if (matrix != null 75 matrix.postScale(
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
WallpaperTileInfo.java | 6 import android.graphics.Matrix; 56 Matrix rotateMatrix = new Matrix();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CursorAnchorInfoCompatWrapper.java | 20 import android.graphics.Matrix; 81 public Matrix getMatrix() { 146 public Matrix getMatrix() {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/ |
RingRenderable.java | 29 import android.opengl.Matrix; 52 // Reset the model matrix to the identity. 53 Matrix.setIdentityM(getModelMatrix(), 0); 56 Matrix.setIdentityM(overallTransformation, 0); 60 Matrix.setIdentityM(rotationTransformation, 0); 68 Matrix.multiplyMM(overallTransformation, 0, rotationTransformation, 0, overallTransformation, 0); 72 Matrix.setIdentityM(translationTransformation, 0); 73 Matrix.translateM(translationTransformation, 0, position[X], position[Y], position[Z]); 76 Matrix.multiplyMM(overallTransformation, 0, translationTransformation, 0, overallTransformation, 0); 77 // Apply transformation to model matrix [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 43 private final Matrix mMatrix = new Matrix(); 44 private final Matrix mInverse = new Matrix();
|
Vertices.java | 40 private final Matrix mMatrix = new Matrix(); 41 private final Matrix mInverse = new Matrix();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixStack.java | 19 import android.opengl.Matrix; 25 * A matrix stack, similar to OpenGL ES's internal matrix stack. 44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); 55 Matrix.setIdentityM(mMatrix, mTop); 80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); 104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); 127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); 129 Matrix.multiplyMM(mMatrix, mTop, mTemp, MATRIX_SIZE, mTemp, 0); 137 Matrix.scaleM(mMatrix, mTop, x, y, z) [all...] |
/external/eigen/bench/ |
benchEigenSolver.cpp | 43 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 201 benchEigenSolver(Matrix<Scalar,Dynamic,Dynamic>(dynsizes[i],dynsizes[i])); 203 benchEigenSolver(Matrix<Scalar,2,2>()); 204 benchEigenSolver(Matrix<Scalar,3,3>()); 205 benchEigenSolver(Matrix<Scalar,4,4>()); 206 benchEigenSolver(Matrix<Scalar,6,6>()); 207 benchEigenSolver(Matrix<Scalar,8,8>()); 208 benchEigenSolver(Matrix<Scalar,12,12>()); 209 benchEigenSolver(Matrix<Scalar,16,16>());
|
/external/eigen/bench/spbench/ |
test_sparseLU.cpp | 23 typedef Matrix<scalar, Dynamic, Dynamic> DenseMatrix; 24 typedef Matrix<scalar, Dynamic, 1> DenseRhs; 25 Matrix<scalar, Dynamic, 1> b, x, tmp; 41 /* Fill the matrix with sparse matrix stored in Matrix-Market coordinate column-oriented format */ 42 if (argc < 2) assert(false && "please, give the matrix market file "); 44 cout << "End charging matrix " << endl; 49 if (isvector) { cout << "The provided file is not a matrix file\n"; return -1;} 87 Matrix<scalar, Dynamic, 1> tmp2 = b - A*x [all...] |
/external/eigen/blas/ |
Rank2Update.h | 15 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu' 23 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap; 26 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i+(UpLo==Lower ? i : 0), UpLo==Lower ? size-i : (i+1)) += 33 /* Optimized selfadjoint matrix += alpha * uv' + conj(alpha)*vu' 34 * The matrix is in packed form. 41 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap; 45 Map<Matrix<Scalar,Dynamic,1> >(mat+offset, UpLo==Lower ? size-i : (i+1)) +=
|
/external/eigen/doc/examples/ |
class_FixedVectorBlock.cpp | 22 Matrix<int,1,6> v; v << 1,2,3,4,5,6;
|