Home
last modified time | relevance | path

Searched refs:t_end (Results 1 – 22 of 22) sorted by relevance

/third_party/boost/libs/numeric/odeint/test/
Dintegrate.cpp103 void operator()( const value_type t_end , const value_type dt ) in operator ()()
111 size_t steps = integrate_const( Stepper() , lorenz , x , 0.0 , t_end , in operator ()()
115 …std::cout << t_end << " (" << dt << "), " << steps << " , " << times.size() << " , " << 10.0+dt*st… in operator ()()
117 std::cout << static_cast<int>(floor(t_end/dt)) << " , " << t_end/dt << std::endl; in operator ()()
119 BOOST_CHECK_EQUAL( static_cast<int>(times.size()) , static_cast<int>(floor(t_end/dt))+1 ); in operator ()()
138 void operator()( const value_type t_end = 10.0 , const value_type dt = 0.03 ) in operator ()()
146 size_t steps = integrate_adaptive( Stepper() , lorenz , x , 0.0 , t_end , in operator ()()
154 BOOST_CHECK_SMALL( times[times.size()-1] - t_end , times.size() * 2E-16 ); in operator ()()
157 BOOST_CHECK_SMALL( (10.0 + t_end) - x_end[0] , 1E-6 ); // precision of steppers: 1E-6 in operator ()()
Dintegrate_implicit.cpp102 const value_type t_end = 10.0; in operator ()() local
106 integrate_const( Stepper() , std::make_pair( sys() , jacobi() ) , x , 0.0 , t_end , in operator ()()
109 … BOOST_CHECK_EQUAL( static_cast<int>(times.size()) , static_cast<int>(std::floor(t_end/dt))+1 ); in operator ()()
127 const value_type t_end = 10.0; in operator ()() local
131 …ze_t steps = integrate_adaptive( Stepper() , std::make_pair( sys() , jacobi() ) , x , 0.0 , t_end , in operator ()()
137 BOOST_CHECK_SMALL( times[times.size()-1] - t_end , times.size() * 3.0e-16 ); in operator ()()
/third_party/boost/libs/numeric/odeint/test_external/eigen/
Dintegrate.cpp43 double t_start = 0.0 , t_end = 1.0 , dt = 0.1; in BOOST_AUTO_TEST_CASE() local
44 integrate< double >( constant_system_functor_standard() , x , t_start , t_end , dt ); in BOOST_AUTO_TEST_CASE()
55 double t_start = 0.0 , t_end = 1000.0 , dt = 0.1; in BOOST_AUTO_TEST_CASE() local
56 integrate< double >( lorenz() , x , t_start , t_end , dt ); in BOOST_AUTO_TEST_CASE()
62 integrate( lorenz() , x2 , t_start , t_end , dt ); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/numeric/odeint/iterator/impl/
Dtimes_iterator_impl.hpp85 time_iterator_type t_start , time_iterator_type t_end , time_type dt ) in times_iterator_impl() argument
87 m_t_start( t_start ) , m_t_end( t_end ) , m_state( &s ) in times_iterator_impl()
89 if( t_start == t_end ) in times_iterator_impl()
183 time_iterator_type t_start , time_iterator_type t_end , time_type dt ) in times_iterator_impl() argument
185 m_t_start( t_start ) , m_t_end( t_end ) , m_state( &s ) in times_iterator_impl()
187 if( t_start == t_end ) in times_iterator_impl()
303 time_iterator_type t_start , time_iterator_type t_end , time_type dt ) in times_iterator_impl() argument
305 m_t_start( t_start ) , m_t_end( t_end ) , m_final_time( *(t_end-1) ) , in times_iterator_impl()
308 if( t_start != t_end ) in times_iterator_impl()
Dadaptive_iterator_impl.hpp82 …per_type stepper , system_type sys , state_type &s , time_type t , time_type t_end , time_type dt ) in adaptive_iterator_impl() argument
83 : base_type( stepper , sys , t , dt ) , m_t_end( t_end ) , m_state( &s ) in adaptive_iterator_impl()
189 …per_type stepper , system_type sys , state_type &s , time_type t , time_type t_end , time_type dt ) in adaptive_iterator_impl() argument
190 : base_type( stepper , sys , t , dt ) , m_t_end( t_end ) in adaptive_iterator_impl()
Dconst_step_iterator_impl.hpp66 …per_type stepper , system_type sys , state_type &s , time_type t , time_type t_end , time_type dt ) in const_step_iterator_impl() argument
67 …: base_type( stepper , sys , t , dt ) , m_t_start( t ) , m_t_end( t_end ) , m_state( &s ) , m_step… in const_step_iterator_impl()
160 …per_type stepper , system_type sys , state_type &s , time_type t , time_type t_end , time_type dt ) in const_step_iterator_impl() argument
161 …: base_type( stepper , sys , t , dt ) , m_t_start( t ) , m_t_end( t_end ) , m_state( &s ) , m_step… in const_step_iterator_impl()
/third_party/boost/boost/numeric/odeint/iterator/
Dconst_step_time_iterator.hpp46 …tor( Stepper stepper , System sys , State &s , time_type t_start , time_type t_end , time_type dt ) in const_step_time_iterator() argument
47 …te , detail::ode_state_time_iterator_tag , StepperTag >( stepper , sys , s , t_start , t_end , dt ) in const_step_time_iterator()
61 typename traits::time_type< Stepper >::type t_end , in make_const_step_time_iterator_begin()
64 …onst_step_time_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ); in make_const_step_time_iterator_begin()
84 typename traits::time_type< Stepper >::type t_end , in make_const_step_time_range()
88 …nst_step_time_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ) , in make_const_step_time_range()
Dadaptive_iterator.hpp47 …tor( Stepper stepper , System sys , State &s , time_type t_start , time_type t_end , time_type dt ) in adaptive_iterator() argument
48 …, State , detail::ode_state_iterator_tag , StepperTag >( stepper , sys , s , t_start , t_end , dt ) in adaptive_iterator()
65 typename traits::time_type< Stepper >::type t_end , in make_adaptive_iterator_begin()
68 …eturn adaptive_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ); in make_adaptive_iterator_begin()
89 typename traits::time_type< Stepper >::type t_end , in make_adaptive_range()
93 … adaptive_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ) , in make_adaptive_range()
Dconst_step_iterator.hpp49 …tor( Stepper stepper , System sys , State &s , time_type t_start , time_type t_end , time_type dt ) in const_step_iterator() argument
50 …, State , detail::ode_state_iterator_tag , StepperTag >( stepper , sys , s , t_start , t_end , dt ) in const_step_iterator()
66 typename traits::time_type< Stepper >::type t_end , in make_const_step_iterator_begin()
69 …urn const_step_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ); in make_const_step_iterator_begin()
88 typename traits::time_type< Stepper >::type t_end , in make_const_step_range()
92 … const_step_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ) , in make_const_step_range()
Dadaptive_time_iterator.hpp47 …tor( Stepper stepper , System sys , State &s , time_type t_start , time_type t_end , time_type dt ) in adaptive_time_iterator() argument
48 …te , detail::ode_state_time_iterator_tag , StepperTag >( stepper , sys , s , t_start , t_end , dt ) in adaptive_time_iterator()
65 typename traits::time_type< Stepper >::type t_end , in make_adaptive_time_iterator_begin()
68 … adaptive_time_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ); in make_adaptive_time_iterator_begin()
88 typename traits::time_type< Stepper >::type t_end , in make_adaptive_time_range()
92 …adaptive_time_iterator< Stepper , System , State >( stepper , system , x , t_start , t_end , dt ) , in make_adaptive_time_range()
Dtimes_time_iterator.hpp51 TimeIterator t_start , TimeIterator t_end , time_type dt ) in times_time_iterator() argument
52 …tor, detail::ode_state_time_iterator_tag , StepperTag >( stepper , sys , s , t_start , t_end , dt ) in times_time_iterator()
68 TimeIterator t_end , in make_times_time_iterator_begin() argument
71 …iterator< Stepper , System , State , TimeIterator >( stepper , system , x , t_start , t_end , dt ); in make_times_time_iterator_begin()
93 TimeIterator t_end , in make_times_time_range() argument
97 …terator< Stepper , System , State , TimeIterator >( stepper , system , x , t_start , t_end , dt ) , in make_times_time_range()
Dtimes_iterator.hpp50 TimeIterator t_start , TimeIterator t_end , time_type dt ) in times_iterator() argument
51 …Iterator, detail::ode_state_iterator_tag , StepperTag >( stepper , sys , s , t_start , t_end , dt ) in times_iterator()
67 TimeIterator t_end , in make_times_iterator_begin() argument
70 …iterator< Stepper , System , State , TimeIterator >( stepper , system , x , t_start , t_end , dt ); in make_times_iterator_begin()
92 TimeIterator t_end , in make_times_range() argument
96 …terator< Stepper , System , State , TimeIterator >( stepper , system , x , t_start , t_end , dt ) , in make_times_range()
/third_party/boost/libs/numeric/odeint/examples/
Dfind_crossing.cpp64 const double t_start, const double t_end, const double dt, in find_condition() argument
75 t_start, t_end, dt); in find_condition()
83 return std::make_pair(t_end + dt, x0); in find_condition()
114 const double t_end = 10.0; in main() local
122 t_start, t_end, dt, 1E-6); in main()
123 if(t_cond > t_end) in main()
Dbulirsch_stoer.cpp64 double t_end = M_PI/2.0 - 0.1; in main() local
69 integrate_const( stepper , rhs , x , t , t_end , dt , write_out ); in main()
76 integrate_adaptive( stepper , rhs , x , t , t_end , dt , write_out ); in main()
83 integrate_adaptive( stepper2 , rhs , x , t , t_end , dt , write_out ); in main()
97 integrate_adaptive( dopri5 , rhs , x , t , t_end , dt , write_out ); in main()
Dstepper_details.cpp185 double t_start = 0.0 , t_end = 1.0; in main() local
194 …put( 1.0e-6 , 1.0e-6 , runge_kutta_dopri5< state_type >() ) , sys , inout , t_start , t_end , dt ); in main()
/third_party/boost/libs/numeric/odeint/doc/
Ddetails_iterators.qbk81 * `make_const_step_iterator_begin( stepper , system , state , t_start , t_end , dt )`
83 * `make_const_step_range( stepper , system , state , t_start , t_end , dt )`
95 * `make_const_step_time_iterator_begin( stepper , system , state , t_start , t_end , dt )`
97 * `make_const_step_time_range( stepper , system , state , t_start , t_end , dt )`
111 * `make_adaptive_iterator_begin( stepper , system , state , t_start , t_end , dt )`
113 * `make_adaptive_range( stepper , system , state , t_start , t_end , dt )`
126 * `make_adaptive_time_iterator_begin( stepper , system , state , t_start , t_end , dt )`
128 * `make_adaptive_time_range( stepper , system , state , t_start , t_end , dt )`
172 * `make_times_iterator_begin( stepper , system , state , t_start , t_end , dt )`
174 * `make_times_range( stepper , system , state , t_start , t_end , dt )`
[all …]
/third_party/mindspore/mindspore/lite/test/ut/src/dataset/
Deager_test.cc75 auto t_end = std::chrono::high_resolution_clock::now(); in TEST_F() local
76 double elapsed_time_ms = std::chrono::duration<double, std::milli>(t_end - t_start).count(); in TEST_F()
/third_party/boost/tools/build/src/engine/
Dlists.cpp283 LISTITER const t_end = list_end( t ); in list_cmp() local
287 while ( !status && ( t_it != t_end || s_it != s_end ) ) in list_cmp()
289 char const * st = t_it != t_end ? object_str( list_item( t_it ) ) : ""; in list_cmp()
294 t_it = t_it != t_end ? list_next( t_it ) : t_it; in list_cmp()
Dbuiltins.cpp577 LISTITER const t_end = list_end( targets ); in builtin_depends() local
578 for ( ; t_iter != t_end; t_iter = list_next( t_iter ) ) in builtin_depends()
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/
Dtest_yolov3_darknet53.py169 t_end = time.time()
190 time_used = time.time() - t_end
198 t_end = time.time()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c678 struct timeval t_start, t_end; in segment_touch() local
709 gettimeofday(&t_end, NULL); in segment_touch()
712 (float)(tv_diff_usec(&t_start, &t_end)) / 1000000.0); in segment_touch()
Dcommands.c554 struct timeval t_start, t_end; in migrate_process() local
638 gettimeofday(&t_end, NULL); in migrate_process()
641 (float)(tv_diff_usec(&t_start, &t_end)) / 1000000.0); in migrate_process()