Home
last modified time | relevance | path

Searched refs:Rows (Results 1 – 25 of 107) sorted by relevance

12345

/external/deqp/framework/common/
DtcuMatrix.hpp34 template <typename T, int Rows, int Cols>
38 typedef Vector<T, Rows> Element;
44 ROWS = Rows,
50 explicit Matrix (const T src[Rows*Cols]);
51 Matrix (const Vector<T, Rows>& src);
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);
59 void setColumn (int colNdx, const Vector<T, Rows>& vec);
62 Vector<T, Rows>& getColumn (int ndx);
[all …]
DtcuMatrixUtil.hpp36 template <typename T, int Rows, int Cols>
37 Matrix<T, Cols, Rows> transpose (const Matrix<T, Rows, Cols>& mat);
60 template <typename T, int Rows, int Cols>
61 inline Matrix<T, Cols, Rows> transpose (const Matrix<T, Rows, Cols>& mat) in transpose() argument
63 Matrix<T, Cols, Rows> res; in transpose()
64 for (int row = 0; row < Rows; row++) in transpose()
/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/gemmlowp/internal/
Dsimd_wrappers.h151 static constexpr int Rows = ResultBlockType::kRows;
158 static_assert(LhsRows == Rows || LhsRows == 1, "");
159 static_assert(RhsRows == Rows || RhsRows == 1, "");
172 for (int r = 0; r < Rows; r++) {
173 const int lhs_r = LhsRows == Rows ? r : 0;
174 const int rhs_r = RhsRows == Rows ? r : 0;
175 result.buf.reg[r + c * Rows] =
200 static constexpr int Rows = ResultBlockType::kRows;
213 static_assert(LhsRows == Rows || LhsRows == 1, "");
214 static_assert(RhsRows == Rows || RhsRows == 1, "");
[all …]
Dsimd_wrappers_common_neon_sse.h489 template <int Rows>
490 struct BroadcastMulAddImpl<RegBlockInt32<Rows, 1>, RegBlockInt32<1, 1>,
491 RegBlockInt32<Rows, 1>> {
492 static void Run(const RegBlockInt32<Rows, 1>& lhs,
493 const RegBlockInt32<1, 1>& rhs, RegBlockInt32<Rows, 1>* acc) {
495 for (int i = 0; i < RegBlockInt32<Rows, 1>::kRegisterCount; i++) {
502 template <int Rows, int Cols>
503 struct BroadcastMulAddImpl<RegBlockInt32<Rows, 1>, RegBlockInt32<1, 1>,
504 RegBlockInt32<Rows, Cols>> {
505 static void Run(const RegBlockInt32<Rows, 1>& lhs,
[all …]
Doutput.h91 template <int Rows, int Cols, VectorShape Shape>
93 RegisterBlock<std::int32_t, Rows, Cols>> {
94 typedef RegisterBlock<std::int32_t, Rows, Cols> InputType;
95 typedef RegisterBlock<std::int32_t, Rows, Cols> OutputType;
228 template <int Rows, int Cols, typename VectorType>
230 RegisterBlock<std::int32_t, Rows, Cols>> {
231 typedef RegisterBlock<std::int32_t, Rows, Cols> InputType;
232 typedef RegisterBlock<std::int32_t, Rows, Cols> OutputType;
428 template <typename ScalarType, int Rows, int Cols, typename DstType>
429 struct StoreFinalOutputImpl<RegisterBlock<ScalarType, Rows, Cols>, DstType> {
[all …]
/external/eigen/test/
Ddense_storage.cpp14 template <typename T, int Rows, int Cols>
17 static const int Size = ((Rows==Dynamic || Cols==Dynamic) ? Dynamic : Rows*Cols); in dense_storage_copy()
18 typedef DenseStorage<T,Size, Rows,Cols, 0> DenseStorageType; in dense_storage_copy()
20 const int rows = (Rows==Dynamic) ? 4 : Rows; in dense_storage_copy()
34 template <typename T, int Rows, int Cols>
37 static const int Size = ((Rows==Dynamic || Cols==Dynamic) ? Dynamic : Rows*Cols); in dense_storage_assignment()
38 typedef DenseStorage<T,Size, Rows,Cols, 0> DenseStorageType; in dense_storage_assignment()
40 const int rows = (Rows==Dynamic) ? 4 : Rows; in dense_storage_assignment()
Dproduct_small.cpp43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
44 typename internal::enable_if<! ( (Rows ==1&&Depth!=1&&OA==ColMajor)
45 || (Depth==1&&Rows !=1&&OA==RowMajor)
48 || (Rows ==1&&Cols !=1&&OC==ColMajor)
49 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type
52 Matrix<T,Rows,Depth,OA> A(rows,depth); A.setRandom(); in test_lazy_single()
54 Matrix<T,Rows,Cols,OC> C(rows,cols); C.setRandom(); in test_lazy_single()
55 Matrix<T,Rows,Cols,OC> D(C); in test_lazy_single()
59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
60 typename internal::enable_if< ( (Rows ==1&&Depth!=1&&OA==ColMajor)
[all …]
Dqr_colpivoting.cpp68 Rows = MatrixType::RowsAtCompileTime, in cod_fixedsize() enumerator
72 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols)) - 1); in cod_fixedsize()
73 Matrix<Scalar, Rows, Cols> matrix; in cod_fixedsize()
74 createRandomPIMatrixOfRank(rank, Rows, Cols, matrix); in cod_fixedsize()
75 CompleteOrthogonalDecomposition<Matrix<Scalar, Rows, Cols> > cod(matrix); in cod_fixedsize()
78 VERIFY(cod.isInjective() == (rank == Rows)); in cod_fixedsize()
84 Matrix<Scalar, Rows, Cols2> rhs = matrix * exact_solution; in cod_fixedsize()
162 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in qr_fixedsize() enumerator
165 int rank = internal::random<int>(1, (std::min)(int(Rows), int(Cols))-1); in qr_fixedsize()
166 Matrix<Scalar,Rows,Cols> m1; 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()
47 Matrix<Scalar,Rows,Cols2> m3 = m1*m2; in qr_fixedsize()
Dpermutationmatrices.cpp19 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime, in permutationmatrices() enumerator
21 typedef PermutationMatrix<Rows> LeftPermutationType; in permutationmatrices()
22 typedef Matrix<int, Rows, 1> LeftPermutationVectorType; in permutationmatrices()
46 Matrix<Scalar,Rows,Rows> lm(lp); in permutationmatrices()
66 Matrix<Scalar,Rows,Rows> lm2(lp2); in permutationmatrices()
Ddiagonalmatrices.cpp16 enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; in diagonalmatrices() enumerator
17 typedef Matrix<Scalar, Rows, 1> VectorType; in diagonalmatrices()
19 typedef Matrix<Scalar, Rows, Rows> SquareMatrixType; in diagonalmatrices()
21 typedef DiagonalMatrix<Scalar, Rows> LeftDiagonalMatrix; in diagonalmatrices()
23 typedef Matrix<Scalar, Rows==Dynamic?Dynamic:2*Rows, Cols==Dynamic?Dynamic:2*Cols> BigMatrix; in diagonalmatrices()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_region.cc50 for (Rows::iterator it = rows_.begin(); it != rows_.end(); ++it) { in operator =()
60 Rows::const_iterator it1 = rows_.begin(); in Equals()
61 Rows::const_iterator it2 = region.rows_.begin(); in Equals()
77 for (Rows::iterator row = rows_.begin(); row != rows_.end(); ++row) { in Clear()
98 Rows::iterator row = rows_.upper_bound(top); in AddRect()
107 row, Rows::value_type(bottom, new Row(top, bottom))); in AddRect()
113 Rows::iterator new_row = rows_.insert( in AddRect()
114 row, Rows::value_type(top, new Row(row->second->top, top))); in AddRect()
123 Rows::iterator new_row = rows_.insert( in AddRect()
124 row, Rows::value_type(rect.bottom(), new Row(top, rect.bottom()))); in AddRect()
[all …]
Ddesktop_region.h62 typedef std::map<int, Row*> Rows; typedef
85 Rows::const_iterator row_;
86 Rows::const_iterator previous_row_;
159 void MergeWithPrecedingRow(Rows::iterator row);
161 Rows rows_;
/external/dng_sdk/source/
Ddng_matrix.cpp113 if (Rows () != m.Rows () || in operator ==()
121 for (uint32 j = 0; j < Rows (); j++) in operator ==()
148 if (Rows () != Cols ()) in IsDiagonal()
153 for (uint32 j = 0; j < Rows (); j++) in IsDiagonal()
187 for (uint32 j = 0; j < Rows (); j++) in MaxEntry()
213 for (uint32 j = 0; j < Rows (); j++) in MinEntry()
230 for (uint32 j = 0; j < Rows (); j++) in Scale()
247 for (uint32 j = 0; j < Rows (); j++) in Round()
264 for (uint32 j = 0; j < Rows (); j++) in SafeRound()
307 if (Rows () != 3 || in dng_matrix_3by3()
[all …]
Ddng_camera_profile.cpp298 fColorMatrix1.Rows () > 1; in HasColorMatrix1()
308 fColorMatrix2.Rows () == fColorMatrix1.Rows (); in HasColorMatrix2()
415 uint32 colorChannels = ColorMatrix1 ().Rows (); in CalculateFingerprint()
421 if (fForwardMatrix1.Rows () == fColorMatrix1.Cols () && in CalculateFingerprint()
422 fForwardMatrix1.Cols () == fColorMatrix1.Rows ()) in CalculateFingerprint()
429 if (colorChannels > 3 && fReductionMatrix1.Rows () * in CalculateFingerprint()
444 if (fForwardMatrix2.Rows () == fColorMatrix2.Cols () && in CalculateFingerprint()
445 fForwardMatrix2.Cols () == fColorMatrix2.Rows ()) in CalculateFingerprint()
452 if (colorChannels > 3 && fReductionMatrix2.Rows () * in CalculateFingerprint()
606 fColorMatrix1.Rows () != channels) in IsValid()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp470 template <typename T, int Rows, int Cols>
471 struct Traits<Matrix<T, Rows, Cols> > :
472 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> >
899 template <typename T, int Rows, int Cols>
900 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {};
973 template<int Rows, int Cols>
974 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left,
975 const ExprP<Matrix<float, Rows, Cols> >& right);
976 template<int Rows, int Cols>
977 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp503 template <typename T, int Rows, int Cols>
504 struct Traits<Matrix<T, Rows, Cols> > :
505 ContainerTraits<Matrix<T, Rows, Cols>, Matrix<typename Traits<T>::IVal, Rows, Cols> >
933 template <typename T, int Rows, int Cols>
934 class ExprP<Matrix<T, Rows, Cols> > : public ContainerExprPBase<Matrix<T, Rows, Cols> > {};
1007 template<int Rows, int Cols>
1008 ExprP<Vector<float, Rows> > operator* (const ExprP<Vector<float, Cols> >& left,
1009 const ExprP<Matrix<float, Rows, Cols> >& right);
1010 template<int Rows, int Cols>
1011 ExprP<Vector<float, Cols> > operator* (const ExprP<Matrix<float, Rows, Cols> >& left,
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnitIndex.cpp39 Rows.reset(); in parse()
54 Rows = llvm::make_unique<Entry[]>(Header.NumBuckets); in parseImpl()
61 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl()
68 Rows[i].Index = this; in parseImpl()
69 Rows[i].Contributions = in parseImpl()
71 Contribs[Index - 1] = Rows[i].Contributions.get(); in parseImpl()
134 auto &Row = Rows[i]; in dump()
163 if (const auto &Contribs = Rows[i].Contributions) in getFromOffset()
165 return &Rows[i]; in getFromOffset()
/external/ImageMagick/Magick++/demo/
Dsmile_anim.miff3 Columns=48 Rows=48 Depth=8
12 Columns=48 Rows=48 Depth=8
20 Columns=48 Rows=48 Depth=8
28 Columns=48 Rows=48 Depth=8
36 Columns=48 Rows=48 Depth=8
44 Columns=48 Rows=48 Depth=8
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorImagePatch.h30 template<DenseIndex Rows, DenseIndex Cols, typename XprType>
31 struct traits<TensorImagePatchOp<Rows, Cols, XprType> > : public traits<XprType>
43 template<DenseIndex Rows, DenseIndex Cols, typename XprType>
44 struct eval<TensorImagePatchOp<Rows, Cols, XprType>, Eigen::Dense>
46 typedef const TensorImagePatchOp<Rows, Cols, XprType>& type;
49 template<DenseIndex Rows, DenseIndex Cols, typename XprType>
50 struct nested<TensorImagePatchOp<Rows, Cols, XprType>, 1, typename eval<TensorImagePatchOp<Rows, Co…
52 typedef TensorImagePatchOp<Rows, Cols, XprType> type;
57 template<DenseIndex Rows, DenseIndex Cols, typename XprType>
58 class TensorImagePatchOp : public TensorBase<TensorImagePatchOp<Rows, Cols, XprType>, ReadOnlyAcces…
[all …]
DTensorVolumePatch.h25 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
26 struct traits<TensorVolumePatchOp<Planes, Rows, Cols, XprType> > : public traits<XprType>
38 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
39 struct eval<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, Eigen::Dense>
41 typedef const TensorVolumePatchOp<Planes, Rows, Cols, XprType>& type;
44 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
45 …truct nested<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, 1, typename eval<TensorVolumePatchO…
47 typedef TensorVolumePatchOp<Planes, Rows, Cols, XprType> type;
52 template<DenseIndex Planes, DenseIndex Rows, DenseIndex Cols, typename XprType>
53 class TensorVolumePatchOp : public TensorBase<TensorVolumePatchOp<Planes, Rows, Cols, XprType>, Rea…
[all …]
/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() argument
395 tcu::Matrix<T, Rows, Cols> retVal; in matrixCompMult()
397 for (int r = 0; r < Rows; ++r) 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() argument
409 tcu::Matrix<T, Rows, Cols> retVal; in negate()
411 for (int r = 0; r < Rows; ++r) 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() argument
[all …]
/external/clang/tools/scan-build-py/libscanbuild/resources/
Dselectable.js3 var Rows = document.getElementsByTagName("tr");
4 for ( var i = 0 ; i < Rows.length; ++i ) {
5 if (Rows[i].className == RowClass) {
6 Rows[i].style.display = DisplayVal;
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugLine.cpp85 if (!Rows.empty()) { in dump()
88 for (std::vector<Row>::const_iterator pos = Rows.begin(), in dump()
89 end = Rows.end(); pos != end; ++pos) in dump()
446 if (!Rows.empty()) { in lookupAddress()
452 iterator begin_pos = Rows.begin(); in lookupAddress()
453 iterator end_pos = Rows.end(); in lookupAddress()
458 return Rows.size()-1; in lookupAddress()

12345