/third_party/vk-gl-cts/framework/common/ |
D | tcuMatrix.hpp | 34 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 …]
|
D | tcuMatrixUtil.hpp | 36 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/ |
D | Math.h | 127 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/ |
D | DistexForm.cs | 134 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/ |
D | test_qvm_matrix.hpp | 17 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 …]
|
D | zero_mat_test.cpp | 28 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()
|
D | plus_mm_test.cpp | 17 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()
|
D | minus_mm_test.cpp | 17 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()
|
D | del_row_test.cpp | 16 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()
|
D | del_col_test.cpp | 16 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()
|
D | eq_mm_test.cpp | 12 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()
|
D | neg_col_test.cpp | 16 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()
|
D | neg_row_test.cpp | 16 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()
|
D | transpose_test.cpp | 15 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()
|
D | col_test.cpp | 17 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()
|
D | del_row_col_test.cpp | 16 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/ |
D | mat_traits_array.hpp | 29 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 …]
|
D | mat.hpp | 19 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/ |
D | dng_matrix.cpp | 113 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 …]
|
D | dng_camera_profile.cpp | 298 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/ |
D | DWARFUnitIndex.cpp | 42 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/ |
D | no-contraction.vert | 26 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);
|
D | float-math.invariant-float-math.vert | 77 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/ |
D | no-contraction.vert | 26 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);
|
D | float-math.invariant-float-math.vert | 77 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);
|