Home
last modified time | relevance | path

Searched refs:Cols (Results 1 – 25 of 38) sorted by relevance

12

/external/deqp/framework/common/
DtcuMatrix.hpp34 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/
DMath.h169 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/
Ddng_matrix.cpp114 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 …]
Ddng_camera_profile.cpp228 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 …]
Ddng_color_spec.cpp130 negative.CameraCalibration1 ().Cols () == fChannels) in dng_color_spec()
138 negative.CameraCalibration2 ().Cols () == fChannels) in dng_color_spec()
Ddng_shared.cpp3021 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/
Dqr_colpivoting.cpp48 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 …]
Dqr.cpp35 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()
Dproduct_trsolve.cpp30 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()
Dpermutationmatrices.cpp17 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()
Ddiagonalmatrices.cpp16 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/
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… 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/
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;
DBandMatrix.h198 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)
DGeneralProduct.h45 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/
DglsBuiltinPrecisionTests.cpp482 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/
DvktShaderBuiltinPrecisionTests.cpp461 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/
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… 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/
DvktShaderRenderMatrixTests.cpp618 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/
DMatrixPower.h340 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/
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/Core/util/
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/unsupported/Eigen/
DOpenGLSupport53 …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/
DLMqrsolv.h22 template <typename Scalar,int Rows, int Cols, typename Index>
24 Matrix<Scalar,Rows,Cols> &s, in lmqrsolv()
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h161Cols = size_at_compile_time<traits<Lhs>::ColsAtCompileTime, traits<Rhs>::ColsAtCompileTime>::ret,
167 typedef Matrix<Scalar,Rows,Cols> ReturnType;

12