Searched refs:Cols (Results 1 - 25 of 27) sorted by path

12

/external/chromium_org/third_party/skia/samplecode/
H A DSampleWarp.cpp144 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/deqp/framework/common/
H A DtcuMatrix.hpp50 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/deqp/modules/gles2/functional/
H A Des2fShaderMatrixTests.cpp392 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/gles3/functional/
H A Des3fShaderMatrixTests.cpp623 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/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp471 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/Core/
H A DBandMatrix.h166 * \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 DGeneralProduct.h45 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);
H A DNumTraits.h124 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;
/external/eigen/Eigen/src/Core/util/
H A DForwardDeclarations.h133 template<typename _Scalar, int Rows=Dynamic, int Cols=Dynamic, int Supers=Dynamic, int Subs=Dynamic, int Options=0> class BandMatrix;
H A DXprHelper.h127 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/Eigen/src/SparseCore/
H A DSparseUtil.h95 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/SuperLUSupport/
H A DSuperLUSupport.h205 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;
/external/eigen/test/
H A Ddiagonalmatrices.cpp16 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 Dmain.h333 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:Eigen::__anon21049
337 typedef Matrix<Scalar, Cols, Cols> MatrixBType;
H A Dpermutationmatrices.cpp17 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 Dproduct_trsolve.cpp30 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 Dqr.cpp35 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 Dqr_colpivoting.cpp48 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 Dtriangular.cpp125 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; enumerator in enum:__anon21061
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
H A DKroneckerTensorProduct.h161 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/eigen/unsupported/Eigen/src/LevenbergMarquardt/
H A DLMqrsolv.h22 template <typename Scalar,int Rows, int Cols, typename Index>
24 Matrix<Scalar,Rows,Cols> &s,
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
H A DMatrixFunction.h75 static const int Cols = Traits::ColsAtCompileTime; member in class:Eigen::MatrixFunction
81 typedef Matrix<ComplexScalar, Rows, Cols, Options, MaxRows, MaxCols> ComplexMatrix;
H A DMatrixPower.h341 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,
/external/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h177 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/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
H A Dlcms2.h1219 CMSAPI cmsStage* CMSEXPORT cmsStageAllocMatrix(cmsContext ContextID, cmsUInt32Number Rows, cmsUInt32Number Cols, const cmsFloat64Number* Matrix, const cmsFloat64Number* Offset);

Completed in 2839 milliseconds

12