/external/deqp/framework/common/ |
H A D | tcuMatrix.hpp | 50 template <typename T, int Rows, int Cols> 59 SIZE = Cols, 61 COLS = Cols, 66 explicit Matrix (const T src[Rows*Cols]); 68 Matrix (const Matrix<T, Rows, Cols>& src); 71 Matrix<T, Rows, Cols>& operator= (const Matrix<T, Rows, Cols>& src); 72 Matrix<T, Rows, Cols>& operator*= (const Matrix<T, Rows, Cols>& src); 74 void setRow (int rowNdx, const Vector<T, Cols> [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Math.h | 177 Matrix(unsigned Rows, unsigned Cols) : 178 Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) { 183 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) 184 : Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) { 185 std::fill(Data, Data + (Rows * Cols), InitVal); 190 : Rows(M.Rows), Cols( [all...] |
/external/eigen/test/ |
H A D | qr_colpivoting.cpp | 48 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:__anon21055 50 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols))-1); 51 Matrix<Scalar,Rows,Cols> m1; 52 createRandomPIMatrixOfRank(rank,Rows,Cols,m1); 53 ColPivHouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); 55 VERIFY(Cols - qr.rank() == qr.dimensionOfKernel()); 57 VERIFY(qr.isSurjective() == (rank == Cols)); 60 Matrix<Scalar,Rows,Cols> r = qr.matrixQR().template triangularView<Upper>(); 61 Matrix<Scalar,Rows,Cols> c = qr.householderQ() * r * qr.colsPermutation().inverse(); 64 Matrix<Scalar,Cols,Cols [all...] |
H A D | qr.cpp | 35 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:__anon21054 37 Matrix<Scalar,Rows,Cols> m1 = Matrix<Scalar,Rows,Cols>::Random(); 38 HouseholderQR<Matrix<Scalar,Rows,Cols> > qr(m1); 40 Matrix<Scalar,Rows,Cols> r = qr.matrixQR(); 42 for(int i = 0; i < Rows; i++) for(int j = 0; j < Cols; j++) if(i>j) r(i,j) = Scalar(0); 46 Matrix<Scalar,Cols,Cols2> m2 = Matrix<Scalar,Cols,Cols2>::Random(Cols,Cols2); 48 m2 = Matrix<Scalar,Cols,Cols [all...] |
H A D | diagonalmatrices.cpp | 16 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:__anon21036 18 typedef Matrix<Scalar, 1, Cols> RowVectorType; 21 typedef DiagonalMatrix<Scalar, Cols> RightDiagonalMatrix; 22 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix;
|
H A D | permutationmatrices.cpp | 17 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, enumerator in enum:__anon21051 22 typedef PermutationMatrix<Cols> RightPermutationType; 23 typedef Matrix<int, Cols, 1> RightPermutationVectorType; 43 Matrix<Scalar,Cols,Cols> rm(rp);
|
H A D | product_trsolve.cpp | 30 template<typename Scalar,int Size, int Cols> void trsolve(int size=Size,int cols=Cols) 38 rowmajor = Cols==1 ? ColMajor : RowMajor }; 39 Matrix<Scalar,Size,Cols,colmajor> cmRhs(size,cols); 40 Matrix<Scalar,Size,Cols,rowmajor> rmRhs(size,cols);
|
H A D | main.h | 333 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:Eigen::__anon21049 337 typedef Matrix<Scalar, Cols, Cols> MatrixBType;
|
H A D | triangular.cpp | 125 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:__anon21061
|
/external/eigen/Eigen/src/Core/ |
H A 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;
|
H A D | BandMatrix.h | 166 * \param Cols Number of columns, or \b Dynamic 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)
|
H A D | GeneralProduct.h | 45 template<int Rows, int Cols, int Depth> struct product_type_selector; 65 Cols = _Rhs::ColsAtCompileTime, enumerator in enum:Eigen::internal::product_type::__anon20614 78 cols_select = product_size_category<Cols,MaxCols>::value, 91 EIGEN_DEBUG_VAR(Cols);
|
/external/deqp/modules/gles2/functional/ |
H A 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, Rows, Cols>& b) 395 tcu::Matrix<T, Rows, Cols> retVal; 398 for (int c = 0; c < Cols; ++c) 406 template <typename T, int Rows, int Cols> 407 tcu::Matrix<T, Rows, Cols> negate (const tcu::Matrix<T, Rows, Cols>& mat) 409 tcu::Matrix<T, Rows, Cols> retVa 718 str << "mat" << Cols; local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 471 template <typename T, int Rows, int Cols> 472 struct Traits<Matrix<T, Rows, Cols> > : 473 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> > 900 template <typename T, int Rows, int Cols> 901 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {}; 974 template<int Rows, int Cols> 975 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left, 976 const ExprP<Matrix<float, Rows, Cols> > [all...] |
/external/eigen/Eigen/src/SparseCore/ |
H A 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/deqp/modules/gles3/functional/ |
H A 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, Rows, Cols>& b) 626 tcu::Matrix<T, Rows, Cols> retVal; 629 for (int c = 0; c < Cols; ++c) 637 template <typename T, int Rows, int Cols> 638 tcu::Matrix<T, Cols, Rows> transpose (const tcu::Matrix<T, Rows, Cols>& mat) 640 tcu::Matrix<T, Cols, Row 1337 str << "mat" << Cols; local [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleWarp.cpp | 144 const int Cols = 16; local 145 SkPoint pts[Rows * Cols]; 146 patch.evalPatch(pts, Rows, Cols); 157 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint); 187 const int Cols = 16; local 188 SkPoint pts[Rows * Cols]; 189 patch.evalPatch(pts, Rows, Cols); 204 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | MatrixPower.h | 341 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 343 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, 347 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 349 Matrix<RealScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, 427 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 429 Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols>& res, 435 template<int Rows, int Cols, int Options, int MaxRows, int MaxCols> 437 Matrix<RealScalar, Rows, Cols, Options, MaxRows, MaxCols>& res,
|
H A D | MatrixFunction.h | 75 static const int Cols = Traits::ColsAtCompileTime; member in class:Eigen::MatrixFunction 81 typedef Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols> ComplexMatrix;
|
/external/skia/samplecode/ |
H A D | SampleWarp.cpp | 144 const int Cols = 16; local 145 SkPoint pts[Rows * Cols]; 146 patch.evalPatch(pts, Rows, Cols); 157 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint); 187 const int Cols = 16; local 188 SkPoint pts[Rows * Cols]; 189 patch.evalPatch(pts, Rows, Cols); 204 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
|
/external/eigen/Eigen/src/Core/util/ |
H A 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/src/LevenbergMarquardt/ |
H A D | LMqrsolv.h | 22 template <typename Scalar,int Rows, int Cols, typename Index> 24 Matrix<Scalar,Rows,Cols> &s,
|
/external/eigen/unsupported/Eigen/src/KroneckerProduct/ |
H A D | KroneckerTensorProduct.h | 161 Cols = size_at_compile_time<traits<Lhs>::ColsAtCompileTime, traits<Rhs>::ColsAtCompileTime>::ret, enumerator in enum:Eigen::internal::traits::__anon21072 167 typedef Matrix<Scalar,Rows,Cols> ReturnType;
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | cmslut.c | 379 cmsStage* CMSEXPORT cmsStageAllocMatrix(cmsContext ContextID, cmsUInt32Number Rows, cmsUInt32Number Cols, argument 386 n = Rows * Cols; 390 if (n >= UINT_MAX / Cols) return NULL; 392 if (n < Rows || n < Cols) return NULL; 394 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigMatrixElemType, Cols, Rows, 417 NewElem ->Offset = (cmsFloat64Number*) _cmsCalloc(ContextID, Cols, sizeof(cmsFloat64Number)); 423 for (i=0; i < Cols; i++) {
|
/external/eigen/Eigen/src/SuperLUSupport/ |
H A D | SuperLUSupport.h | 205 template<typename Scalar, int Rows, int Cols, int Options, int MRows, int MCols> 206 struct SluMatrixMapHelper<Matrix<Scalar,Rows,Cols,Options,MRows,MCols> > 208 typedef Matrix<Scalar,Rows,Cols,Options,MRows,MCols> MatrixType;
|