Home
last modified time | relevance | path

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

12345

/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DMath.h127 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument
128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument
134 : Rows(Rows), Cols(Cols), in Matrix()
135 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
136 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); in Matrix()
141 : Rows(M.Rows), Cols(M.Cols), in Matrix()
142 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
143 std::copy(M.Data.get(), M.Data.get() + (Rows * Cols), Data.get()); in Matrix()
148 : Rows(M.Rows), Cols(M.Cols), Data(std::move(M.Data)) { in Matrix()
[all …]
/third_party/boost/libs/math/dot_net_example/distribution_explorer/
DDistexForm.cs134 string s = CDF_data.Rows[i].Cells[0].Value.ToString(); in dataGridView1_CellEndEdit()
139 CDF_data.Rows[i].Cells[1].Value = pdf; // and display values. in dataGridView1_CellEndEdit()
140 CDF_data.Rows[i].Cells[2].Value = cdf; in dataGridView1_CellEndEdit()
141 CDF_data.Rows[i].Cells[3].Value = ccdf; in dataGridView1_CellEndEdit()
266 while (CDF_data.Rows.Count > 1) in properties_tab_Deselecting()
268 CDF_data.Rows.Remove(CDF_data.Rows[0]); in properties_tab_Deselecting()
271 while (QuantileData.Rows.Count > 1) in properties_tab_Deselecting()
273 QuantileData.Rows.Remove(QuantileData.Rows[0]); in properties_tab_Deselecting()
293 string s = QuantileData.Rows[i].Cells[0].Value.ToString(); in QuantileData_CellEndEdit()
298 QuantileData.Rows[i].Cells[1].Value = lcv; in QuantileData_CellEndEdit()
[all …]
/third_party/boost/libs/qvm/test/
Dtest_qvm_matrix.hpp17 template <class Tag,int Rows,int Cols,class T=float>
21 T a[Rows][Cols];
22 mutable T b[Rows][Cols];
27 for( int i=0; i!=Rows; ++i ) in matrix()
33 template <int Rows,int Cols,class Tag1,class T1,class Tag2,class T2>
35 dump_ab( matrix<Tag1,Rows,Cols,T1> const & a, matrix<Tag2,Rows,Cols,T2> const & b ) in dump_ab() argument
47 template <class Tag,int Rows,int Cols,class T>
49 mat_traits< test_qvm::matrix<Tag,Rows,Cols,T> >:
50 mat_traits_defaults<test_qvm::matrix<Tag,Rows,Cols,T>,T,Rows,Cols>
52 typedef mat_traits_defaults<test_qvm::matrix<Tag,Rows,Cols,T>,T,Rows,Cols> base;
[all …]
Dzero_mat_test.cpp28 template <int Rows,int Cols>
33 test_qvm::matrix<M1,Rows,Cols> m1=zero_mat<float,Rows,Cols>(); in test()
34 for( int i=0; i!=Rows; ++i ) in test()
37 test_qvm::matrix<M2,Rows,Cols> m2(42,1); in test()
39 for( int i=0; i!=Rows; ++i ) in test()
42 check_deduction(mat<float,Rows,Cols>(),zero_mat<float,Rows,Cols>()); in test()
43 check_deduction(mat<int,Rows,Cols>(),zero_mat<int,Rows,Cols>()); in test()
Dplus_mm_test.cpp17 template <int Rows,int Cols>
22 test_qvm::matrix<M1,Rows,Cols> const x(42,2); in test()
24 test_qvm::matrix<M1,Rows,Cols> const y(42,1); in test()
26 test_qvm::matrix<M1,Rows,Cols> r=x+y; in test()
31 test_qvm::matrix<M1,Rows,Cols> const y(42,1); in test()
32 test_qvm::matrix<M2,Rows,Cols> r=mref(x)+y; in test()
37 test_qvm::matrix<M1,Rows,Cols> const y(42,1); in test()
38 test_qvm::matrix<M2,Rows,Cols> r=x+mref(y); in test()
Dminus_mm_test.cpp17 template <int Rows,int Cols>
22 test_qvm::matrix<M1,Rows,Cols> const x(42,2); in test()
24 test_qvm::matrix<M1,Rows,Cols> const y(42,1); in test()
26 test_qvm::matrix<M1,Rows,Cols> r=x-y; in test()
31 test_qvm::matrix<M1,Rows,Cols> const y(42,1); in test()
32 test_qvm::matrix<M2,Rows,Cols> r=mref(x)-y; in test()
37 test_qvm::matrix<M1,Rows,Cols> const y(42,1); in test()
38 test_qvm::matrix<M2,Rows,Cols> r=x-mref(y); in test()
Ddel_row_test.cpp16 template <int Rows,int Cols,int Row>
21 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
22 float r1[Rows-1][Cols]; in test()
23 for( int i=0; i!=Rows-1; ++i ) in test()
26 float r2[Rows-1][Cols]; in test()
30 for( int i=0; i!=Rows-1; ++i ) in test()
Ddel_col_test.cpp16 template <int Rows,int Cols,int Col>
21 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
22 float r1[Rows][Cols-1]; in test()
23 for( int i=0; i!=Rows; ++i ) in test()
26 float r2[Rows][Cols-1]; in test()
30 for( int i=0; i!=Rows; ++i ) in test()
Deq_mm_test.cpp12 template <int Rows,int Cols>
17 test_qvm::matrix<M1,Rows,Cols> const x(42,1); in test()
18 for( int i=0; i!=Rows; ++i ) in test()
22 test_qvm::matrix<M1,Rows,Cols> y(x); in test()
28 test_qvm::matrix<M2,Rows,Cols> y; assign(y,x); in test()
Dneg_col_test.cpp16 template <int Rows,int Cols,int Col>
21 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
22 float r1[Rows][Cols]; in test()
23 for( int i=0; i!=Rows; ++i ) in test()
26 float r2[Rows][Cols]; in test()
Dneg_row_test.cpp16 template <int Rows,int Cols,int Row>
21 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
22 float r1[Rows][Cols]; in test()
23 for( int i=0; i!=Rows; ++i ) in test()
26 float r2[Rows][Cols]; in test()
Dtranspose_test.cpp15 template <int Rows,int Cols>
20 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
21 float r1[Cols][Rows]; in test()
22 for( int i=0; i!=Rows; ++i ) in test()
25 float r2[Cols][Rows]; in test()
Dcol_test.cpp17 template <int Rows,int Cols,int Col>
22 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
23 float r1[Rows]; in test()
24 for( int i=0; i!=Rows; ++i ) in test()
26 float r2[Rows]; in test()
30 for( int i=0; i!=Rows; ++i ) in test()
Ddel_row_col_test.cpp16 template <int Rows,int Cols,int Row,int Col>
21 test_qvm::matrix<M1,Rows,Cols> x(42,1); in test()
22 float r1[Rows-1][Cols-1]; in test()
23 for( int i=0; i!=Rows-1; ++i ) in test()
26 float r2[Rows-1][Cols-1]; in test()
30 for( int i=0; i!=Rows-1; ++i ) in test()
/third_party/boost/boost/qvm/
Dmat_traits_array.hpp29 template <class T,int Rows,int Cols>
31 mat_traits<T[Rows][Cols]>
33 typedef T this_matrix[Rows][Cols];
35 static int const rows=Rows;
45 BOOST_QVM_STATIC_ASSERT(Row<Rows); in read_element()
58 BOOST_QVM_STATIC_ASSERT(Row<Rows); in write_element()
70 BOOST_QVM_ASSERT(row<Rows); in read_element_idx()
82 BOOST_QVM_ASSERT(row<Rows); in write_element_idx()
89 template <class T,int Rows,int Cols,int R,int C>
91 deduce_mat<T[Rows][Cols],R,C>
[all …]
Dmat.hpp19 template <class T,int Rows,int Cols>
23 T a[Rows][Cols];
36 template <class T,int Rows,int Cols>
38 mat_traits< mat<T,Rows,Cols> >
40 typedef mat<T,Rows,Cols> this_matrix;
42 static int const rows=Rows;
52 BOOST_QVM_STATIC_ASSERT(Row<Rows); in read_element()
65 BOOST_QVM_STATIC_ASSERT(Row<Rows); in write_element()
77 BOOST_QVM_ASSERT(row<Rows); in read_element_idx()
89 BOOST_QVM_ASSERT(row<Rows); in write_element_idx()
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnitIndex.cpp42 Rows.reset(); in parse()
57 Rows = std::make_unique<Entry[]>(Header.NumBuckets); in parseImpl()
64 Rows[i].Signature = IndexData.getU64(&Offset); in parseImpl()
71 Rows[i].Index = this; in parseImpl()
72 Rows[i].Contributions = in parseImpl()
74 Contribs[Index - 1] = Rows[i].Contributions.get(); in parseImpl()
137 auto &Row = Rows[i]; in dump()
168 if (Rows[i].Contributions) in getFromOffset()
169 OffsetLookup.push_back(&Rows[i]); in getFromOffset()
193 while (Rows[H].getSignature() != S && Rows[H].getSignature() != 0) in getFromHash()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dno-contraction.vert26 template<typename T, int Cols, int Rows>
27 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
30 for (uint i = Rows; i > 0; --i)
42 template<typename T, int Cols, int Rows>
43 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
45 vec<T, Rows> res = vec<T, Rows>(0);
48 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
Dfloat-math.invariant-float-math.vert77 template<typename T, int Cols, int Rows>
78 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
81 for (uint i = Rows; i > 0; --i)
93 template<typename T, int Cols, int Rows>
94 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
96 vec<T, Rows> res = vec<T, Rows>(0);
99 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dno-contraction.vert26 template<typename T, int Cols, int Rows>
27 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
30 for (uint i = Rows; i > 0; --i)
42 template<typename T, int Cols, int Rows>
43 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
45 vec<T, Rows> res = vec<T, Rows>(0);
48 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);
Dfloat-math.invariant-float-math.vert77 template<typename T, int Cols, int Rows>
78 vec<T, Cols> spvFMulVectorMatrix(vec<T, Rows> v, matrix<T, Cols, Rows> m)
81 for (uint i = Rows; i > 0; --i)
93 template<typename T, int Cols, int Rows>
94 vec<T, Rows> spvFMulMatrixVector(matrix<T, Cols, Rows> m, vec<T, Cols> v)
96 vec<T, Rows> res = vec<T, Rows>(0);
99 res = fma(m[i - 1], vec<T, Rows>(v[i - 1]), res);

12345