/dports/misc/vxl/vxl-3.3.2/core/vpgl/tests/ |
H A D | test_calibration_matrix.cxx | 28 TEST_NEAR("test equality of constructors 1", K1.get_matrix() == K1b.get_matrix(), true, 1e-06); in test_calibration_matrix() 38 TEST_NEAR("test focal length setter", K1.get_matrix() == K2.get_matrix(), true, 1e-06); in test_calibration_matrix() 44 TEST_NEAR("test skew setter", K1.get_matrix() == K3.get_matrix(), true, 1e-06); in test_calibration_matrix() 50 TEST_NEAR("test x_scale setter", K1.get_matrix() == K4.get_matrix(), true, 1e-06); in test_calibration_matrix() 56 TEST_NEAR("test principal point setter", K1.get_matrix() == K5.get_matrix(), true, 1e-06); in test_calibration_matrix() 62 TEST_NEAR("test y_scale setter", K1.get_matrix() == K6.get_matrix(), true, 1e-06); in test_calibration_matrix()
|
H A D | test_fundamental_matrix.cxx | 70 vnl_vector_fixed<double, 3> l1r_vnl = F1.get_matrix() * p1r_vnl; in test_fundamental_matrix() 79 vnl_svd<double> svd2(F2.get_matrix().as_matrix()); in test_fundamental_matrix() 87 vnl_vector_fixed<double, 3> z = F1.get_matrix() * e1r_vnl; in test_fundamental_matrix() 89 z = F1.get_matrix().transpose() * e1l_vnl; in test_fundamental_matrix() 106 std::cerr << "\nTrue fundamental matrix: " << F3.get_matrix() << '\n' in test_fundamental_matrix() 107 << "Estimated fundamental matrix: " << F3_est.get_matrix() << '\n'; in test_fundamental_matrix() 109 …F3.get_matrix()(0, 0) / F3_est.get_matrix()(0, 0) - F3.get_matrix()(0, 1) / F3_est.get_matrix()(0,… in test_fundamental_matrix() 123 std::cerr << "\nTrue camera matrix: " << C2l.get_matrix() << '\n' in test_fundamental_matrix() 124 << "Estimated camera matrix: " << C2l_est2.get_matrix() << '\n' in test_fundamental_matrix() 171 vnl_double_3x3 error = Fi.get_matrix() - F4.get_matrix(); in test_fundamental_matrix()
|
H A D | test_proj_camera.cxx | 38 TEST("Default constructor", P1.get_matrix(), identity_camera); in test_proj_camera() 45 TEST("Array constructor", P2.get_matrix(), random_matrix); in test_proj_camera() 48 TEST("vnl_fixed_matrix constructor", P3.get_matrix(), random_matrix2); in test_proj_camera() 52 TEST("Copy constructor", P4.get_matrix(), P2.get_matrix()); in test_proj_camera() 56 TEST("Assignment operator", P5.get_matrix(), P2.get_matrix()); in test_proj_camera() 59 TEST("Assignment makes deep copy", P5.get_matrix() != P3.get_matrix(), true); in test_proj_camera() 63 TEST("set_matrix from vnl", P1.get_matrix(), random_matrix); in test_proj_camera() 65 TEST("set_matrix from array", P2.get_matrix(), random_matrix2); in test_proj_camera() 136 vnl_matrix_fixed<double, 3, 4> I6 = P6.get_matrix() * H.get_matrix(); in test_proj_camera() 152 TEST_NEAR("pre-multiply", P1.get_matrix()(1, 2), (T1 * random_matrix3)(1, 2), 1e-06); in test_proj_camera() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vgl/algo/ |
H A D | vgl_h_matrix_2d_compute_4point.cxx | 30 H.set(vnl_inverse(H2.get_matrix()) * H1.get_matrix()); in compute_p() 51 H.set(vnl_inverse(H2.get_matrix()) * H1.get_matrix()); in compute_l() 66 H.set(vnl_inverse(H2.get_matrix()) * H1.get_matrix()); in compute_l()
|
/dports/misc/vxl/vxl-3.3.2/core/vpgl/algo/tests/ |
H A D | test_fm_compute.cxx | 25 std::cerr << "Break 1:\n" << fm1.get_matrix(); // DEBUG in test_fm_compute() 46 std::cerr << "Break 2:\n" << fm1est.get_matrix(); // DEBUG in test_fm_compute() 48 vnl_double_3x3 fm1_vnl = fm1.get_matrix(); in test_fm_compute() 50 vnl_double_3x3 fm1est_vnl = fm1est.get_matrix(); in test_fm_compute() 67 vnl_double_3x3 mideal = fm3p.get_matrix(); in test_fm_compute() 80 vnl_double_3x3 m3lin = f3lest.get_matrix(); in test_fm_compute()
|
H A D | test_em_compute_5_point.cxx | 25 vnl_matrix_fixed<double, 3, 3> k_inv = vnl_inverse(k.get_matrix()); in normalize() 51 double det = vnl_determinant(i->get_matrix()); in eval_e_mats() 55 vnl_matrix_fixed<double, 3, 3> e_et = i->get_matrix() * i->get_matrix().transpose(); in eval_e_mats() 57 double v = (e_et * i->get_matrix() * 2.0 - vnl_trace(e_et) * i->get_matrix()).get(0, 0); in eval_e_mats() 78 double result = (vec2.transpose() * i->get_matrix() * vec1).get(0, 0); in eval_e_mats()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Sema/ |
H A D | matrix-type-operators.c | 73 sx5x10_t get_matrix(); 119 get_matrix()[0][0] = f; in insert() 121 get_matrix()[5][1] = f; in insert() 123 get_matrix()[3] = 5.0; in insert() 126 (get_matrix()[5])[10.0] = f; in insert() 128 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Sema/ |
H A D | matrix-type-operators.c | 73 sx5x10_t get_matrix(); 119 get_matrix()[0][0] = f; in insert() 121 get_matrix()[5][1] = f; in insert() 123 get_matrix()[3] = 5.0; in insert() 126 (get_matrix()[5])[10.0] = f; in insert() 128 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Sema/ |
H A D | matrix-type-operators.c | 73 sx5x10_t get_matrix(); 119 get_matrix()[0][0] = f; in insert() 121 get_matrix()[5][1] = f; in insert() 123 get_matrix()[3] = 5.0; in insert() 126 (get_matrix()[5])[10.0] = f; in insert() 128 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Sema/ |
H A D | matrix-type-operators.c | 73 sx5x10_t get_matrix(); 119 get_matrix()[0][0] = f; in insert() 121 get_matrix()[5][1] = f; in insert() 123 get_matrix()[3] = 5.0; in insert() 126 (get_matrix()[5])[10.0] = f; in insert() 128 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Sema/ |
H A D | matrix-type-operators.c | 73 sx5x10_t get_matrix(); 119 get_matrix()[0][0] = f; in insert() 121 get_matrix()[5][1] = f; in insert() 123 get_matrix()[3] = 5.0; in insert() 126 (get_matrix()[5])[10.0] = f; in insert() 128 (get_matrix()[3]) = 5.0; in insert()
|
/dports/math/libmesh/libmesh-1.6.2/src/systems/ |
H A D | newmark_system.C | 174 this->get_matrix ("stiffness").close(); in compute_matrix() 175 this->get_matrix ("mass" ).close(); in compute_matrix() 176 this->get_matrix ("damping" ).close(); in compute_matrix() 182 this->matrix->add (1., this->get_matrix ("stiffness")); in compute_matrix() 183 this->matrix->add (_a_0, this->get_matrix ("mass")); in compute_matrix() 184 this->matrix->add (_a_1, this->get_matrix ("damping")); in compute_matrix() 217 the_rhs.add_vector(rhs_m, this->get_matrix("mass")); in update_rhs() 218 the_rhs.add_vector(rhs_c, this->get_matrix("damping")); in update_rhs()
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | transformation.h | 123 Matrix get_matrix() const in get_matrix() function 147 { return get_matrix().invert(); } in get_inverted_matrix() 176 { return get_matrix().get_transformed(v, translate); } 178 { return Transformation( transformation.get_matrix()*get_matrix() ); } in transform() 180 { return matrix*get_matrix(); } in transform() 182 { return transform_bounds(get_matrix(), bounds); } in transform_bounds() 187 { return Transformation( transformation.get_matrix()*get_inverted_matrix() ); } in back_transform()
|
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | transformation.h | 123 Matrix get_matrix() const in get_matrix() function 147 { return get_matrix().invert(); } in get_inverted_matrix() 176 { return get_matrix().get_transformed(v, translate); } 178 { return Transformation( transformation.get_matrix()*get_matrix() ); } in transform() 180 { return matrix*get_matrix(); } in transform() 182 { return transform_bounds(get_matrix(), bounds); } in transform_bounds() 187 { return Transformation( transformation.get_matrix()*get_inverted_matrix() ); } in back_transform()
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | transformation.h | 123 Matrix get_matrix() const in get_matrix() function 147 { return get_matrix().invert(); } in get_inverted_matrix() 176 { return get_matrix().get_transformed(v, translate); } 178 { return Transformation( transformation.get_matrix()*get_matrix() ); } in transform() 180 { return matrix*get_matrix(); } in transform() 182 { return transform_bounds(get_matrix(), bounds); } in transform_bounds() 187 { return Transformation( transformation.get_matrix()*get_inverted_matrix() ); } in back_transform()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Sema/ |
H A D | matrix-type-operators.c | 131 sx5x10_t get_matrix(); 177 get_matrix()[0][0] = f; in insert() 179 get_matrix()[5][1] = f; in insert() 181 get_matrix()[3] = 5.0; in insert() 184 (get_matrix()[5])[10.0] = f; in insert() 186 (get_matrix()[3]) = 5.0; in insert()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Sema/ |
H A D | matrix-type-operators.c | 131 sx5x10_t get_matrix(); 177 get_matrix()[0][0] = f; in insert() 179 get_matrix()[5][1] = f; in insert() 181 get_matrix()[3] = 5.0; in insert() 184 (get_matrix()[5])[10.0] = f; in insert() 186 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Sema/ |
H A D | matrix-type-operators.c | 131 sx5x10_t get_matrix(); 177 get_matrix()[0][0] = f; in insert() 179 get_matrix()[5][1] = f; in insert() 181 get_matrix()[3] = 5.0; in insert() 184 (get_matrix()[5])[10.0] = f; in insert() 186 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Sema/ |
H A D | matrix-type-operators.c | 131 sx5x10_t get_matrix(); 177 get_matrix()[0][0] = f; in insert() 179 get_matrix()[5][1] = f; in insert() 181 get_matrix()[3] = 5.0; in insert() 184 (get_matrix()[5])[10.0] = f; in insert() 186 (get_matrix()[3]) = 5.0; in insert()
|
/dports/lang/clang-mesa/clang-13.0.1.src/test/Sema/ |
H A D | matrix-type-operators.c | 131 sx5x10_t get_matrix(); 177 get_matrix()[0][0] = f; in insert() 179 get_matrix()[5][1] = f; in insert() 181 get_matrix()[3] = 5.0; in insert() 184 (get_matrix()[5])[10.0] = f; in insert() 186 (get_matrix()[3]) = 5.0; in insert()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Sema/ |
H A D | matrix-type-operators.c | 131 sx5x10_t get_matrix(); 177 get_matrix()[0][0] = f; in insert() 179 get_matrix()[5][1] = f; in insert() 181 get_matrix()[3] = 5.0; in insert() 184 (get_matrix()[5])[10.0] = f; in insert() 186 (get_matrix()[3]) = 5.0; in insert()
|
/dports/math/ump/ump-0.8.6/src/ |
H A D | matrix_editor.cpp | 597 ptr->get_matrix()->get_height() == 0 ) in matrix_changed() 809 …snprintf( tmp_str, 30, "%lux%lu", ptr->get_matrix()->get_height(), ptr->get_matrix()->get_width() … in menu_matrix_open() 1102 valid = ( ptr->get_matrix()->get_width() == ptr2->get_matrix()->get_width() && in menu_matrix_calc_add_sub_mul() 1103 ptr->get_matrix()->get_height() == ptr2->get_matrix()->get_height() ); in menu_matrix_calc_add_sub_mul() 1105 valid = ( ptr->get_matrix()->get_width() == ptr2->get_matrix()->get_height() ); in menu_matrix_calc_add_sub_mul() 1140 valid = ( ptr->get_matrix()->get_width() == ptr2->get_matrix()->get_width() && in menu_matrix_calc_add_sub_mul() 1141 ptr->get_matrix()->get_height() == ptr2->get_matrix()->get_height() ); in menu_matrix_calc_add_sub_mul() 1143 valid = ( ptr->get_matrix()->get_width() == ptr2->get_matrix()->get_height() ); in menu_matrix_calc_add_sub_mul() 1151 matrix_add( &matr, ptr->get_matrix(), ptr2->get_matrix() ); in menu_matrix_calc_add_sub_mul() 1153 matrix_sub( &matr, ptr->get_matrix(), ptr2->get_matrix() ); in menu_matrix_calc_add_sub_mul() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/oxl/mvl/ |
H A D | FMPlanarNonLinFun.cxx | 96 FMatrixPlanar norm_F(pre * F->get_matrix() * post); in compute() 114 F->set(denorm_matrix_.transpose() * norm_F.get_matrix() * denorm_matrix_); in compute() 130 FMatrixPlanar F(denorm_matrix_.transpose() * norm_F.get_matrix() * denorm_matrix_); in f() 178 vnl_symmetric_eigensystem<double> symm_eig((F.get_matrix()+F.get_matrix().transpose()).as_ref()); in fmatrix_to_params_mna() 226 double norm = vnl_matops::homg_diff(back.get_matrix(), F.get_matrix()); in fmatrix_to_params_mna() 267 vnl_symmetric_eigensystem<double> symm_eig((F.get_matrix()+F.get_matrix().transpose()).as_ref()); in fmatrix_to_params_awf() 310 double norm = vnl_matops::homg_diff(back.get_matrix().as_ref(), F.get_matrix().as_ref()); in fmatrix_to_params_awf()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/algo/ |
H A D | bpgl_construct_cameras.cxx | 45 K_ = K->get_matrix(); in bpgl_construct_cameras() 80 vnl_vector<double> m = fm.get_matrix()*pt0; in construct() 92 E_=Kt*fm.get_matrix()*K_; in construct() 139 pnorm1, P1_.get_matrix(), pnorm2, P2_.get_matrix() ); in construct() 162 points0_[p], P1_.get_matrix(), points1_[p], P2_.get_matrix() ) ); in get_world_points()
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/matplotlib/ |
H A D | transforms.py | 1510 def get_matrix(self): member in Transform 1721 self.get_matrix = child.get_matrix 1785 return np.all(self.get_matrix() == other.get_matrix()) 2143 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ 2369 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ 2574 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ 2649 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ 2692 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ 2713 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ 2753 get_matrix.__doc__ = Affine2DBase.get_matrix.__doc__ [all …]
|