|
Rosetta
|
#include <protocols/viewer/viewers.hh>#include <devel/init.hh>#include <numeric/MathNTensor.hh>#include <numeric/interpolation/polycubic_catmull_rom.hh>#include <basic/Tracer.hh>#include <utility/tools/make_vector1.hh>#include <utility/excn/Exceptions.hh>#include <numeric/constants.hh>Functions | |
| Real | periodic_test_function (Real const &X, Real const &Y) |
| Real | cubic_test_function (Real const &X, Real const &Y, Real const &Z=0.0, Real const &W=0.0) |
| template<typename T , numeric::Size N> | |
| void | test_numerical_deriv (MathNTensor< T, N > const &F, utility::fixedsizearray1< Real, N > const &x, Real const &minval, Real const &binwidth, CatmullRomSplineBoundaryType const &boundary, Real &val, utility::fixedsizearray1< T, N > &deriv_analytic) |
| void | check_cubic_conv_test () |
| void * | my_main (void *) |
| int | main (int argc, char *argv[]) |
Variables | |
| static basic::Tracer | TR ("check_cubic_conv") |
| void check_cubic_conv_test | ( | ) |
References ObjexxFCL::abs(), cubic_test_function(), numeric::interpolation::FLAT, create_a3b_hbs::i, create_a3b_hbs::j, create_a3b_hbs::k, extract_by_sidechain_sasa_score::l, LINEAR, utility::tools::make_vector1(), numeric::interpolation::PERIODIC, periodic_test_function(), runtime_assert, test_numerical_deriv(), TR, and x.
Referenced by my_main().
| Real cubic_test_function | ( | Real const & | X, |
| Real const & | Y, | ||
| Real const & | Z = 0.0, |
||
| Real const & | W = 0.0 |
||
| ) |
Referenced by check_cubic_conv_test().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References argv, test.T009_Exceptions::e, basic::init(), my_main(), and viewer_main().
| void* my_main | ( | void * | ) |
References check_cubic_conv_test(), and utility::exit().
Referenced by main().
References pi.
Referenced by check_cubic_conv_test().
| void test_numerical_deriv | ( | MathNTensor< T, N > const & | F, |
| utility::fixedsizearray1< Real, N > const & | x, | ||
| Real const & | minval, | ||
| Real const & | binwidth, | ||
| CatmullRomSplineBoundaryType const & | boundary, | ||
| Real & | val, | ||
| utility::fixedsizearray1< T, N > & | deriv_analytic | ||
| ) |
|
static |
Referenced by check_cubic_conv_test(), and test_numerical_deriv().