Home
last modified time | relevance | path

Searched refs:read_element_idx (Results 1 – 24 of 24) sorted by relevance

/third_party/boost/libs/qvm/test/
Dmat_traits_array_test.cpp79 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(0,0,arr)==00)); in main()
80 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(0,1,arr)==01)); in main()
81 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(0,2,arr)==02)); in main()
82 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(1,0,arr)==10)); in main()
83 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(1,1,arr)==11)); in main()
84 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(1,2,arr)==12)); in main()
85 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(2,0,arr)==20)); in main()
86 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(2,1,arr)==21)); in main()
87 BOOST_TEST((mat_traits<int[3][3]>::read_element_idx(2,2,arr)==22)); in main()
88 BOOST_TEST((mat_traits<int const[3][3]>::read_element_idx(0,0,arr)==00)); in main()
[all …]
Dvec_register_test.cpp140 BOOST_TEST(vec_traits<v2 >::read_element_idx(0, v_v2 ) == v_v2 .x ); in BOOST_QVM_REGISTER_VEC_2()
141 BOOST_TEST(vec_traits<v3 >::read_element_idx(0, v_v3 ) == v_v3 .x ); in BOOST_QVM_REGISTER_VEC_2()
142 BOOST_TEST(vec_traits<v4 >::read_element_idx(0, v_v4 ) == v_v4 .x ); in BOOST_QVM_REGISTER_VEC_2()
143 BOOST_TEST(vec_traits<v2r >::read_element_idx(0, v_v2r ) == v_v2r .xr); in BOOST_QVM_REGISTER_VEC_2()
144 BOOST_TEST(vec_traits<v3r >::read_element_idx(0, v_v3r ) == v_v3r .xr); in BOOST_QVM_REGISTER_VEC_2()
145 BOOST_TEST(vec_traits<v4r >::read_element_idx(0, v_v4r ) == v_v4r .xr); in BOOST_QVM_REGISTER_VEC_2()
146 BOOST_TEST(vec_traits<v2rw>::read_element_idx(0, v_v2rw) == v_v2rw.xr); in BOOST_QVM_REGISTER_VEC_2()
147 BOOST_TEST(vec_traits<v3rw>::read_element_idx(0, v_v3rw) == v_v3rw.xr); in BOOST_QVM_REGISTER_VEC_2()
148 BOOST_TEST(vec_traits<v4rw>::read_element_idx(0, v_v4rw) == v_v4rw.xr); in BOOST_QVM_REGISTER_VEC_2()
149 BOOST_TEST(vec_traits<v2 >::read_element_idx(1, v_v2 ) == v_v2 .y ); in BOOST_QVM_REGISTER_VEC_2()
[all …]
Dmat_index_test.cpp21 BOOST_TEST(mat_traits<M>::read_element_idx(0,0,m)==m.a[0][0]); in main()
22 BOOST_TEST(mat_traits<M>::read_element_idx(0,1,m)==m.a[0][1]); in main()
23 BOOST_TEST(mat_traits<M>::read_element_idx(0,2,m)==m.a[0][2]); in main()
24 BOOST_TEST(mat_traits<M>::read_element_idx(1,0,m)==m.a[1][0]); in main()
25 BOOST_TEST(mat_traits<M>::read_element_idx(1,1,m)==m.a[1][1]); in main()
26 BOOST_TEST(mat_traits<M>::read_element_idx(1,2,m)==m.a[1][2]); in main()
Dquat_traits_array_test.cpp59 BOOST_TEST((quat_traits<int[4]>::read_element_idx(0,arr)==0)); in main()
60 BOOST_TEST((quat_traits<int[4]>::read_element_idx(1,arr)==1)); in main()
61 BOOST_TEST((quat_traits<int[4]>::read_element_idx(2,arr)==2)); in main()
62 BOOST_TEST((quat_traits<int[4]>::read_element_idx(3,arr)==3)); in main()
63 BOOST_TEST((quat_traits<int const[4]>::read_element_idx(0,arr)==0)); in main()
64 BOOST_TEST((quat_traits<int const[4]>::read_element_idx(1,arr)==1)); in main()
65 BOOST_TEST((quat_traits<int const[4]>::read_element_idx(2,arr)==2)); in main()
66 BOOST_TEST((quat_traits<int const[4]>::read_element_idx(3,arr)==3)); in main()
Dvec_traits_array_test.cpp56 BOOST_TEST((vec_traits<int[3]>::read_element_idx(0,arr)==0)); in main()
57 BOOST_TEST((vec_traits<int[3]>::read_element_idx(1,arr)==1)); in main()
58 BOOST_TEST((vec_traits<int[3]>::read_element_idx(2,arr)==2)); in main()
59 BOOST_TEST((vec_traits<int const[3]>::read_element_idx(0,arr)==0)); in main()
60 BOOST_TEST((vec_traits<int const[3]>::read_element_idx(1,arr)==1)); in main()
61 BOOST_TEST((vec_traits<int const[3]>::read_element_idx(2,arr)==2)); in main()
Dvec_index_test.cpp19 BOOST_TEST(vec_traits<V>::read_element_idx(0,v)==v.a[0]); in main()
20 BOOST_TEST(vec_traits<V>::read_element_idx(1,v)==v.a[1]); in main()
21 BOOST_TEST(vec_traits<V>::read_element_idx(2,v)==v.a[2]); in main()
22 BOOST_TEST(vec_traits<V>::read_element_idx(3,v)==v.a[3]); in main()
Dinterop_test.cpp86 read_element_idx( int r, int c, my_stuff::mat const & m ) in read_element_idx() function
136 read_element_idx( int i, my_stuff::vec const & m ) in read_element_idx() function
/third_party/boost/boost/qvm/
Dmap_mat_mat.hpp94 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
100 …return mat_traits<OriginalMatrix>::read_element_idx(row+(row>=I),col,reinterpret_cast<OriginalMatr… in read_element_idx()
223 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
229 …return mat_traits<OriginalMatrix>::read_element_idx(row,col+(col>=J),reinterpret_cast<OriginalMatr… in read_element_idx()
359 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
365 …return mat_traits<OriginalMatrix>::read_element_idx(row+(row>=I),col+(col>=J),reinterpret_cast<Ori… in read_element_idx()
477 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
484 …-mat_traits<OriginalMatrix>::read_element_idx(row,col,reinterpret_cast<OriginalMatrix const &>(x))… in read_element_idx()
485 … mat_traits<OriginalMatrix>::read_element_idx(row,col,reinterpret_cast<OriginalMatrix const &>(x)); in read_element_idx()
575 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
[all …]
Dmap_mat_vec.hpp91 read_element_idx( int i, this_vector const & x ) in read_element_idx() function
95 …return mat_traits<OriginalMatrix>::read_element_idx(i,Col,reinterpret_cast<OriginalMatrix const &>… in read_element_idx()
213 read_element_idx( int i, this_vector const & x ) in read_element_idx() function
217 …return mat_traits<OriginalMatrix>::read_element_idx(Row,i,reinterpret_cast<OriginalMatrix const &>… in read_element_idx()
353 read_element_idx( int i, this_vector const & x ) in read_element_idx() function
357 …return mat_traits<OriginalMatrix>::read_element_idx(i,i,reinterpret_cast<OriginalMatrix const &>(x… in read_element_idx()
481 read_element_idx( int i, this_vector const & x ) in read_element_idx() function
485 …return mat_traits<OriginalMatrix>::read_element_idx(i,dim,reinterpret_cast<OriginalMatrix const &>… in read_element_idx()
Dmap_vec_mat.hpp92 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
97 …return vec_traits<OriginalVector>::read_element_idx(row,reinterpret_cast<OriginalVector const &>(x… in read_element_idx()
217 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
222 …return vec_traits<OriginalVector>::read_element_idx(col,reinterpret_cast<OriginalVector const &>(x… in read_element_idx()
399 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
409 … vec_traits<OriginalVector>::read_element_idx(row,reinterpret_cast<OriginalVector const &>(x)): in read_element_idx()
532 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
538 …return row==col?vec_traits<OriginalVector>::read_element_idx(row,reinterpret_cast<OriginalVector c… in read_element_idx()
Dvec_mat_operations.hpp48 … x += mat_traits<A>::read_element_idx(i,j,a)*vec_traits<B>::read_element_idx(j,b); in operator *()
81 … x += vec_traits<A>::read_element_idx(j,a)*mat_traits<B>::read_element_idx(j,i,b); in operator *()
Dvec.hpp69 read_element_idx( int i, this_vector const & x ) in read_element_idx() function
Dvec_traits_defaults.hpp76 read_element_idx( int i, vec_type const & x ) in read_element_idx() function
Dmat_traits_defaults.hpp77 read_element_idx( int r, int c, mat_type const & x ) in read_element_idx() function
Dquat_traits_array.hpp83 read_element_idx( int i, this_quaternion const & x ) in read_element_idx() function
Dmat.hpp74 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
Dvec_traits_array.hpp61 read_element_idx( int i, this_vector const & x ) in read_element_idx() function
Dmat_traits_array.hpp67 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
Dquat_operations.hpp246 read_element_idx( int i, this_quaternion const & x ) in read_element_idx() function
351 read_element_idx( int i, this_quaternion const & x ) in read_element_idx() function
355 …return scalar_type(quat_traits<OriginalType>::read_element_idx(i,reinterpret_cast<OriginalType con… in read_element_idx()
873 read_element_idx( int i, this_quaternion const & x ) in read_element_idx() function
/third_party/boost/boost/qvm/detail/
Ddeterminant_impl.hpp55 m[i-1][j2] = mat_traits<M>::read_element_idx(i,j,a); in determinant_impl_()
62 det += mat_traits<M>::read_element_idx(0,j1,a) * d; in determinant_impl_()
Dtransp_impl.hpp90 read_element_idx( int row, int col, this_matrix const & x ) in read_element_idx() function
96 …return mat_traits<OriginalMatrix>::read_element_idx(col,row,reinterpret_cast<OriginalMatrix const … in read_element_idx()
Dcofactor_impl.hpp47 c[i1][j1] = mat_traits<A>::read_element_idx(ii,jj,a); in cofactor_impl()
Dvec_register_impl.hpp49 static BOOST_QVM_INLINE_CRITICAL ScalarType read_element_idx(int const i, VecType const& v) in read_element_idx() function
/third_party/boost/libs/qvm/doc/
Dqvm.adoc90 static inline scalar_type read_element_idx( int i, float3 const & v ) {
822 static inline scalar_type read_element_idx( int i, Vector const & v );
847 - `read_element_idx`: the expression `vec_traits<Vector>::read_element_idx(i,v)` returns either a c…
854 - If `read_element_idx` is defined, `read_element` must also be defined;
888 static inline scalar_type read_element_idx( int i, float3 const & v ) {
945 scalar_type read_element_idx( int i, vec_type const & x ) {
962 … which case the `vec_traits_defaults` base will provide a suitable `read_element_idx` definition a…
1107 - `read_element_idx`: the expression `mat_traits<Matrix>::read_element_idx(r,c,m)` returns either a…
1113 - If `read_element_idx` is defined, `read_element` must also be defined;
1147 static inline scalar_type read_element_idx( int r, int c, float33 const & m ) {
[all …]