/external/deqp/framework/common/ |
D | tcuMatrix.hpp | 34 template <typename T, int Rows, int Cols> 43 SIZE = Cols, 45 COLS = Cols, 50 explicit Matrix (const T src[Rows*Cols]); 52 Matrix (const Matrix<T, Rows, Cols>& src); 55 Matrix<T, Rows, Cols>& operator= (const Matrix<T, Rows, Cols>& src); 56 Matrix<T, Rows, Cols>& operator*= (const Matrix<T, Rows, Cols>& src); 58 void setRow (int rowNdx, const Vector<T, Cols>& vec); 61 Vector<T, Cols> getRow (int ndx) const; 71 Array<T, Rows*Cols> getRowMajorData (void) const; [all …]
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Math.h | 169 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument 170 Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) { in Matrix() 175 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument 176 : Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) { in Matrix() 177 std::fill(Data, Data + (Rows * Cols), InitVal); in Matrix() 182 : Rows(M.Rows), Cols(M.Cols), Data(new PBQPNum[Rows * Cols]) { in Matrix() 183 std::copy(M.Data, M.Data + (Rows * Cols), Data); in Matrix() 188 : Rows(M.Rows), Cols(M.Cols), Data(M.Data) { in Matrix() 189 M.Rows = M.Cols = 0; in Matrix() 199 Rows = M.Rows; Cols = M.Cols; [all …]
|
/external/dng_sdk/source/ |
D | dng_matrix.cpp | 114 Cols () != m.Cols ()) in operator ==() 122 for (uint32 k = 0; k < Cols (); k++) in operator ==() 148 if (Rows () != Cols ()) in IsDiagonal() 154 for (uint32 k = 0; k < Cols (); k++) in IsDiagonal() 188 for (uint32 k = 0; k < Cols (); k++) in MaxEntry() 214 for (uint32 k = 0; k < Cols (); k++) in MinEntry() 231 for (uint32 k = 0; k < Cols (); k++) in Scale() 248 for (uint32 k = 0; k < Cols (); k++) in Round() 273 for (uint32 k = 0; k < Cols (); k++) in SafeRound() 308 Cols () != 3) in dng_matrix_3by3() [all …]
|
D | dng_camera_profile.cpp | 228 cameraOne.SetIdentity (m.Cols ()); in NormalizeForwardMatrix() 297 return fColorMatrix1.Cols () == 3 && in HasColorMatrix1() 307 return fColorMatrix2.Cols () == 3 && in HasColorMatrix2() 421 if (fForwardMatrix1.Rows () == fColorMatrix1.Cols () && in CalculateFingerprint() 422 fForwardMatrix1.Cols () == fColorMatrix1.Rows ()) in CalculateFingerprint() 430 fReductionMatrix1.Cols () == colorChannels * 3) in CalculateFingerprint() 444 if (fForwardMatrix2.Rows () == fColorMatrix2.Cols () && in CalculateFingerprint() 445 fForwardMatrix2.Cols () == fColorMatrix2.Rows ()) in CalculateFingerprint() 453 fReductionMatrix2.Cols () == colorChannels * 3) in CalculateFingerprint() 568 cameraOne.SetIdentity (m.Cols ()); in ValidForwardMatrix() [all …]
|
D | dng_color_spec.cpp | 130 negative.CameraCalibration1 ().Cols () == fChannels) in dng_color_spec() 138 negative.CameraCalibration2 ().Cols () == fChannels) in dng_color_spec()
|
D | dng_shared.cpp | 3021 fCameraCalibration1.Cols () == fCameraProfile.fColorPlanes && in PostParse() 3023 fCameraCalibration2.Cols () == fCameraProfile.fColorPlanes && in PostParse() 3174 if (fCameraCalibration1.Cols () != 0 || in IsValidDNG() 3178 if (fCameraCalibration1.Cols () != fCameraProfile.fColorPlanes || in IsValidDNG() 3218 if (fCameraCalibration2.Cols () != 0 || in IsValidDNG() 3222 if (fCameraCalibration2.Cols () != fCameraProfile.fColorPlanes || in IsValidDNG()
|
/external/eigen/test/ |
D | qr_colpivoting.cpp | 48 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator 50 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols))-1); in qr_fixedsize() 51 Matrix<Scalar,Rows,Cols> m1; in qr_fixedsize() 52 createRandomPIMatrixOfRank(rank,Rows,Cols,m1); in qr_fixedsize() 53 ColPivHouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize() 55 VERIFY(Cols - qr.rank() == qr.dimensionOfKernel()); in qr_fixedsize() 57 VERIFY(qr.isSurjective() == (rank == Cols)); in qr_fixedsize() 60 Matrix<Scalar,Rows,Cols> r = qr.matrixQR().template triangularView<Upper>(); in qr_fixedsize() 61 Matrix<Scalar,Rows,Cols> c = qr.householderQ() * r * qr.colsPermutation().inverse(); in qr_fixedsize() 64 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize() [all …]
|
D | qr.cpp | 35 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator 37 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random(); in qr_fixedsize() 38 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); in qr_fixedsize() 40 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); in qr_fixedsize() 42 for(int i = 0; i < Rows; i++) for(int j = 0; j < Cols; j++) if(i>j) r(i,j) = Scalar(0); in qr_fixedsize() 46 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize() 48 m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); in qr_fixedsize()
|
D | product_trsolve.cpp | 30 template<typename Scalar,int Size, int Cols> void trsolve(int size=Size,int cols=Cols) in trsolve() 38 rowmajor = Cols==1 ? ColMajor : RowMajor }; in trsolve() 39 Matrix<Scalar,Size,Cols,colmajor> cmRhs(size,cols); in trsolve() 40 Matrix<Scalar,Size,Cols,rowmajor> rmRhs(size,cols); in trsolve()
|
D | permutationmatrices.cpp | 17 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, in permutationmatrices() enumerator 22 typedef PermutationMatrix<Cols> RightPermutationType; in permutationmatrices() 23 typedef Matrix<int, Cols, 1> RightPermutationVectorType; in permutationmatrices() 43 Matrix<Scalar,Cols,Cols> rm(rp); in permutationmatrices()
|
D | diagonalmatrices.cpp | 16 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in diagonalmatrices() enumerator 18 typedef Matrix<Scalar, 1, Cols> RowVectorType; in diagonalmatrices() 21 typedef DiagonalMatrix<Scalar, Cols> RightDiagonalMatrix; in diagonalmatrices() 22 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix; in diagonalmatrices()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 392 template <typename T, int Rows, int Cols> 393 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() 395 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 398 for (int c = 0; c < Cols; ++c) in matrixCompMult() 406 template <typename T, int Rows, int Cols> 407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) in negate() 409 tcu::Matrix<T, Rows, Cols> retVal; in negate() 412 for (int c = 0; c < Cols; ++c) in negate() 420 template <typename T, int Rows, int Cols> 421 tcu::Matrix<T, Rows, Cols> increment (const tcu::Matrix<T, Rows, Cols>& mat) in increment() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | NumTraits.h | 124 template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols> 125 struct NumTraits<Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> > 127 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> ArrayType; 129 typedef Array<RealScalar, Rows, Cols, Options, MaxRows, MaxCols> Real; 131 typedef Array<NonIntegerScalar, Rows, Cols, Options, MaxRows, MaxCols> NonInteger;
|
D | BandMatrix.h | 198 template<typename _Scalar, int Rows, int Cols, int Supers, int Subs, int Options> 199 class BandMatrix : public BandMatrixBase<BandMatrix<_Scalar,Rows,Cols,Supers,Subs,Options> > 207 inline BandMatrix(Index rows=Rows, Index cols=Cols, Index supers=Supers, Index subs=Subs)
|
D | GeneralProduct.h | 45 template<int Rows, int Cols, int Depth> struct product_type_selector; 65 Cols = _Rhs::ColsAtCompileTime, enumerator 78 cols_select = product_size_category<Cols,MaxCols>::value, 91 EIGEN_DEBUG_VAR(Cols); in debug()
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 482 template <typename T, int Rows, int Cols> 483 struct Traits<Matrix<T, Rows, Cols> > : 484 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 911 template <typename T, int Rows, int Cols> 912 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 985 template<int Rows, int Cols> 986 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 987 const ExprP<Matrix<float, Rows, Cols> >& right); 988 template<int Rows, int Cols> 989 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 461 template <typename T, int Rows, int Cols> 462 struct Traits<Matrix<T, Rows, Cols> > : 463 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 890 template <typename T, int Rows, int Cols> 891 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 964 template<int Rows, int Cols> 965 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 966 const ExprP<Matrix<float, Rows, Cols> >& right); 967 template<int Rows, int Cols> 968 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left, [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 623 template <typename T, int Rows, int Cols> 624 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() 626 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 629 for (int c = 0; c < Cols; ++c) in matrixCompMult() 637 template <typename T, int Rows, int Cols> 638 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) in transpose() 640 tcu::Matrix<T, Cols, Rows> retVal; in transpose() 643 for (int c = 0; c < Cols; ++c) in transpose() 651 template <typename T, int Rows, int Cols> 652 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>&… in outerProduct() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 618 template <typename T, int Rows, int Cols> 619 tcu::Matrix<T, Rows, Cols> matrixCompMult (const tcu::Matrix<T, Rows, Cols>& a, const tcu::Matrix<T… in matrixCompMult() 621 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult() 624 for (int c = 0; c < Cols; ++c) in matrixCompMult() 632 template <typename T, int Rows, int Cols> 633 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) in transpose() 635 tcu::Matrix<T, Cols, Rows> retVal; in transpose() 638 for (int c = 0; c < Cols; ++c) in transpose() 646 template <typename T, int Rows, int Cols> 647 tcu::Matrix<T, Cols, Rows> outerProduct (const tcu::Vector<T, Cols>& a, const tcu::Vector<T, Rows>&… in outerProduct() [all …]
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixPower.h | 340 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 342 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, 346 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 348 Matrix<RealScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, 426 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 428 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, in revertSchur() argument 434 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 436 Matrix<RealScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, in revertSchur() argument
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseUtil.h | 95 template<typename T,int Rows,int Cols> struct sparse_eval; 101 template<typename T,int Cols> struct sparse_eval<T,1,Cols> { 115 template<typename T,int Rows,int Cols> struct sparse_eval {
|
/external/eigen/Eigen/src/Core/util/ |
D | XprHelper.h | 127 template<typename Scalar, int Rows, int Cols, int Options, int MaxRows, int MaxCols> 238 Cols = traits<T>::ColsAtCompileTime, 244 Cols, 256 Cols = traits<T>::ColsAtCompileTime, 262 Cols,
|
/external/eigen/unsupported/Eigen/ |
D | OpenGLSupport | 53 …int Cols = XprType::ColsAtCompileTime, … 59 …template<typename XprType, typename Scalar, int Rows, int Cols> … 60 …struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl)<XprType,Scalar,Rows,Cols,false> { … 205 …int Cols = XprType::ColsAtCompileTime, … 211 …template<typename XprType, typename Scalar, int Rows, int Cols> … 212 …struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl)<XprType,Scalar,Rows,Cols,false> { …
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
D | LMqrsolv.h | 22 template <typename Scalar,int Rows, int Cols, typename Index> 24 Matrix<Scalar,Rows,Cols> &s, in lmqrsolv()
|
/external/eigen/unsupported/Eigen/src/KroneckerProduct/ |
D | KroneckerTensorProduct.h | 161 … Cols = size_at_compile_time<traits<Lhs>::ColsAtCompileTime, traits<Rhs>::ColsAtCompileTime>::ret, 167 typedef Matrix<Scalar,Rows,Cols> ReturnType;
|