/dports/math/piranha/piranha-0.11/tests/ |
H A D | t_substitutable_series.cpp | 115 BOOST_CHECK_EQUAL(p_type1{}.t_subs("a", 2, 3), 0); 116 BOOST_CHECK_EQUAL(math::t_subs(p_type1{}, "a", 2, 3), 0); 117 BOOST_CHECK_EQUAL(p_type1{"x"}.t_subs("a", 2, 3), p_type1{"x"}); 118 BOOST_CHECK_EQUAL(math::t_subs(p_type1{"x"}, "a", 2, 3), p_type1{"x"}); 121 BOOST_CHECK_EQUAL(math::t_subs(math::cos(p_type1{"x"}), "x", 2, 3), 2); 122 BOOST_CHECK_EQUAL(math::t_subs(math::sin(p_type1{"x"}), "x", 2, 3), 3); 155 BOOST_CHECK_EQUAL(4 * math::sin(2 * x).t_subs("x", c, s), 8 * s * c); 176 BOOST_CHECK_EQUAL(p_type3{"x"}.cos().t_subs("x", c, s), c); 179 BOOST_CHECK_EQUAL(x.t_subs("x", p_type3{"c"}, p_type3{"s"}), p_type3{"x"}); 201 BOOST_CHECK_EQUAL(p_type2{}.t_subs("x", 1, 2), p_type2{}); [all …]
|
H A D | real_trigonometric_kronecker_monomial_01.cpp | 1567 res = k.t_subs("x", real(.5), real(.0), v); in operator ()() 1574 res = k.t_subs("y", real(.5), real(.0), v); in operator ()() 1581 res = k.t_subs("y", real(.5), real(.0), v); in operator ()() 1592 auto res2 = k.t_subs("y", c, s, v); in operator ()() 1604 res2 = k.t_subs("y", c, s, v); in operator ()() 1614 res2 = k.t_subs("x", c, s, v); in operator ()() 1624 res2 = k.t_subs("x", c, s, v); in operator ()() 1634 res2 = k.t_subs("y", c, s, v); in operator ()() 1644 res2 = k.t_subs("y", c, s, v); in operator ()() 1654 res2 = k.t_subs("x", c, s, v); in operator ()() [all …]
|
H A D | s11n.cpp | 349 std::vector<std::pair<std::string, keya>> t_subs(const std::string &, const T &, const U &, 372 std::vector<std::pair<std::string, keyb>> t_subs(const std::string &, const T &, const U &, 661 std::vector<std::pair<std::string, key01>> t_subs(const std::string &, const T &, const U &, 687 std::vector<std::pair<std::string, key02>> t_subs(const std::string &, const T &, const U &,
|
/dports/math/py-piranha/piranha-0.11/tests/ |
H A D | t_substitutable_series.cpp | 115 BOOST_CHECK_EQUAL(p_type1{}.t_subs("a", 2, 3), 0); in BOOST_AUTO_TEST_CASE() 116 BOOST_CHECK_EQUAL(math::t_subs(p_type1{}, "a", 2, 3), 0); in BOOST_AUTO_TEST_CASE() 117 BOOST_CHECK_EQUAL(p_type1{"x"}.t_subs("a", 2, 3), p_type1{"x"}); in BOOST_AUTO_TEST_CASE() 118 BOOST_CHECK_EQUAL(math::t_subs(p_type1{"x"}, "a", 2, 3), p_type1{"x"}); in BOOST_AUTO_TEST_CASE() 121 BOOST_CHECK_EQUAL(math::t_subs(math::cos(p_type1{"x"}), "x", 2, 3), 2); in BOOST_AUTO_TEST_CASE() 122 BOOST_CHECK_EQUAL(math::t_subs(math::sin(p_type1{"x"}), "x", 2, 3), 3); in BOOST_AUTO_TEST_CASE() 155 BOOST_CHECK_EQUAL(4 * math::sin(2 * x).t_subs("x", c, s), 8 * s * c); in BOOST_AUTO_TEST_CASE() 176 BOOST_CHECK_EQUAL(p_type3{"x"}.cos().t_subs("x", c, s), c); in BOOST_AUTO_TEST_CASE() 179 BOOST_CHECK_EQUAL(x.t_subs("x", p_type3{"c"}, p_type3{"s"}), p_type3{"x"}); in BOOST_AUTO_TEST_CASE() 201 BOOST_CHECK_EQUAL(p_type2{}.t_subs("x", 1, 2), p_type2{}); in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | real_trigonometric_kronecker_monomial_01.cpp | 1567 res = k.t_subs("x", real(.5), real(.0), v); in operator ()() 1574 res = k.t_subs("y", real(.5), real(.0), v); in operator ()() 1581 res = k.t_subs("y", real(.5), real(.0), v); in operator ()() 1592 auto res2 = k.t_subs("y", c, s, v); in operator ()() 1604 res2 = k.t_subs("y", c, s, v); in operator ()() 1614 res2 = k.t_subs("x", c, s, v); in operator ()() 1624 res2 = k.t_subs("x", c, s, v); in operator ()() 1634 res2 = k.t_subs("y", c, s, v); in operator ()() 1644 res2 = k.t_subs("y", c, s, v); in operator ()() 1654 res2 = k.t_subs("x", c, s, v); in operator ()() [all …]
|
H A D | s11n.cpp | 349 std::vector<std::pair<std::string, keya>> t_subs(const std::string &, const T &, const U &, 372 std::vector<std::pair<std::string, keyb>> t_subs(const std::string &, const T &, const U &, 661 std::vector<std::pair<std::string, key01>> t_subs(const std::string &, const T &, const U &, 687 std::vector<std::pair<std::string, key02>> t_subs(const std::string &, const T &, const U &,
|
/dports/math/piranha/piranha-0.11/src/ |
H A D | t_substitutable_series.hpp | 97 using return_type_ = decltype(math::t_subs(std::declval<typename Term1::cf_type const &>(), 112 return math::t_subs(t.m_cf, name, c, s) * tmp; in subs() 120 … .t_subs(std::declval<std::string const &>(), std::declval<T1 const &>(), 133 const auto key_subs = t.m_key.t_subs(name, c, s, s_set); in subs() 149 …typedef decltype(std::declval<typename Term::key_type>().t_subs(std::declval<std::string>(),std::d… 151 …typedef decltype(math::t_subs(std::declval<Series>(),std::declval<std::string>(),std::declval<T>()… 218 t_subs_type<T, U> t_subs(const std::string &name, const T &c, const U &s) const in PIRANHA_FORWARDING_ASSIGNMENT() 235 && is_returnable<decltype(std::declval<const Series &>().t_subs( 264 -> decltype(series.t_subs(name, c, s)) in operator ()() 266 return series.t_subs(name, c, s); in operator ()()
|
H A D | real_trigonometric_kronecker_monomial.hpp | 1251 t_subs(const std::string &name, const U &c, const U &s, const symbol_set &args) const in t_subs() function in piranha::real_trigonometric_kronecker_monomial 1253 typedef decltype(this->t_subs(name, c, s, args)) ret_type; in t_subs()
|
H A D | math.hpp | 919 inline detail::math_t_subs_type<T, U, V> t_subs(const T &x, const std::string &name, const U &c, co… in t_subs() function 2263 -> decltype(math::t_subs(t, std::declval<std::string const &>(), u, v), void(), yes()); 2298 …-> decltype(k.t_subs(std::declval<const std::string &>(), t, u, std::declval<const symbol_set &>()…
|
/dports/math/py-piranha/piranha-0.11/src/ |
H A D | t_substitutable_series.hpp | 97 using return_type_ = decltype(math::t_subs(std::declval<typename Term1::cf_type const &>(), 112 return math::t_subs(t.m_cf, name, c, s) * tmp; in subs() 120 … .t_subs(std::declval<std::string const &>(), std::declval<T1 const &>(), 133 const auto key_subs = t.m_key.t_subs(name, c, s, s_set); in subs() 149 …typedef decltype(std::declval<typename Term::key_type>().t_subs(std::declval<std::string>(),std::d… 151 …typedef decltype(math::t_subs(std::declval<Series>(),std::declval<std::string>(),std::declval<T>()… 218 t_subs_type<T, U> t_subs(const std::string &name, const T &c, const U &s) const in PIRANHA_FORWARDING_ASSIGNMENT() 235 && is_returnable<decltype(std::declval<const Series &>().t_subs( 264 -> decltype(series.t_subs(name, c, s)) in operator ()() 266 return series.t_subs(name, c, s); in operator ()()
|
H A D | real_trigonometric_kronecker_monomial.hpp | 1251 t_subs(const std::string &name, const U &c, const U &s, const symbol_set &args) const in t_subs() function in piranha::real_trigonometric_kronecker_monomial 1253 typedef decltype(this->t_subs(name, c, s, args)) ret_type; in t_subs()
|
H A D | math.hpp | 919 inline detail::math_t_subs_type<T, U, V> t_subs(const T &x, const std::string &name, const U &c, co… in t_subs() function 2263 -> decltype(math::t_subs(t, std::declval<std::string const &>(), u, v), void(), yes()); 2298 …-> decltype(k.t_subs(std::declval<const std::string &>(), t, u, std::declval<const symbol_set &>()…
|
/dports/math/piranha/piranha-0.11/pyranha/ |
H A D | math.py | 558 def t_subs(arg, name, x, y): function
|
H A D | test.py | 481 from .math import subs, ipow_subs, t_subs, cos, sin 494 self.assertEqual(t_subs(z * sin(x + y), 'y', 0, 1), z * cos(x)) 495 self.assertEqual(type(t_subs(z * sin(x + y), 'y', 0, 1)), pt) 498 self.assertEqual(t_subs(z * sin(x + y), 'y', c, s), 500 self.assertEqual(type(t_subs(z * sin(x + y), 'y', c, s)), pt) 501 self.assertEqual(type(t_subs(z * sin(x + y), 'y', 0., 1.)),
|
H A D | expose_utils.hpp | 662 -> decltype(s.t_subs(name, x, y)) in t_subs_wrapper() 664 return s.t_subs(name, x, y); in t_subs_wrapper()
|
/dports/math/py-piranha/piranha-0.11/pyranha/ |
H A D | math.py | 558 def t_subs(arg, name, x, y): function
|
H A D | test.py | 481 from .math import subs, ipow_subs, t_subs, cos, sin 494 self.assertEqual(t_subs(z * sin(x + y), 'y', 0, 1), z * cos(x)) 495 self.assertEqual(type(t_subs(z * sin(x + y), 'y', 0, 1)), pt) 498 self.assertEqual(t_subs(z * sin(x + y), 'y', c, s), 500 self.assertEqual(type(t_subs(z * sin(x + y), 'y', c, s)), pt) 501 self.assertEqual(type(t_subs(z * sin(x + y), 'y', 0., 1.)),
|
H A D | expose_utils.hpp | 662 -> decltype(s.t_subs(name, x, y)) in t_subs_wrapper() 664 return s.t_subs(name, x, y); in t_subs_wrapper()
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/archipack/ |
H A D | archipack_stair.py | 1211 t_subs = dt / n_subs 1213 t = t0 + k * t_subs 1214 stair.get_lerp_vect(subs, side, 1, t0 + k * t_subs, False)
|