![]() |
PURIFY
Next-generation radio interferometric imaging
|
Enumerations | |
enum class | norm_type { individual , paired , l1 , l2 , linf } |
enum class | method { h , p } |
Functions | |
t_real | integrate (const Vector< t_real > &xmin, const Vector< t_real > &xmax, const std::function< t_real(Vector< t_real >)> &func, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
adaptive integration with cubature for real scalar to vector More... | |
t_complex | integrate (const Vector< t_real > &xmin, const Vector< t_real > &xmax, const std::function< t_complex(Vector< t_real >)> &func, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
adaptive integration with cubature for complex scalar to vector More... | |
Vector< t_real > | integrate (const t_uint fdim, const Vector< t_real > &xmin, const Vector< t_real > &xmax, const std::function< Vector< t_real >(Vector< t_real >)> &func, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
adaptive integration with cubature for vector to vector More... | |
Vector< t_complex > | integrate_v (const t_uint fdim, const t_uint npts, const Vector< t_real > &xmin, const Vector< t_real > &xmax, const std::vector< std::function< t_complex(Vector< t_real >)>> &func, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
error_norm | norm_error (norm_type norm) |
return norm used for error More... | |
t_complex | convolution (const Vector< t_real > &x0, const Vector< t_real > &xmin, const Vector< t_real > &xmax, const std::function< t_complex(Vector< t_real >)> &func1, const std::function< t_complex(Vector< t_real >)> &func2, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
use adaptive integration to calculate convolution at x0 of func1(x0 - x) * func2(x) More... | |
Vector< t_complex > | integrate_v (const t_uint fdim, const Vector< t_real > &xmin, const Vector< t_real > &xmax, const std::vector< std::function< t_complex(Vector< t_real >)>> &func, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
adaptive integration with cubature for vector to vector using SIMD More... | |
t_complex | convolution (const Vector< t_real > &x0, const std::function< t_complex(Vector< t_real >)> &func1, const std::function< t_complex(Vector< t_real >)> &func2, const norm_type norm, const t_real required_abs_error, const t_real required_rel_error, const t_uint max_evaluations, const method methodtype) |
|
strong |
Enumerator | |
---|---|
h | |
p |
Definition at line 12 of file integration.h.
|
strong |
t_complex purify::integration::convolution | ( | const Vector< t_real > & | x0, |
const std::function< t_complex(Vector< t_real >)> & | func1, | ||
const std::function< t_complex(Vector< t_real >)> & | func2, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
use adaptive integration to calculate convolution at x0 of func1(x0 - x) * func2(x) from -∞ to +∞
t_complex purify::integration::convolution | ( | const Vector< t_real > & | x0, |
const Vector< t_real > & | xmin, | ||
const Vector< t_real > & | xmax, | ||
const std::function< t_complex(Vector< t_real >)> & | func1, | ||
const std::function< t_complex(Vector< t_real >)> & | func2, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
use adaptive integration to calculate convolution at x0 of func1(x0 - x) * func2(x)
Definition at line 183 of file integration.cc.
References integrate().
Vector< t_real > purify::integration::integrate | ( | const t_uint | fdim, |
const Vector< t_real > & | xmin, | ||
const Vector< t_real > & | xmax, | ||
const std::function< Vector< t_real >(Vector< t_real >)> & | func, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
adaptive integration with cubature for vector to vector
Definition at line 78 of file integration.cc.
References h, norm_error(), and p.
t_complex purify::integration::integrate | ( | const Vector< t_real > & | xmin, |
const Vector< t_real > & | xmax, | ||
const std::function< t_complex(Vector< t_real >)> & | func, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
adaptive integration with cubature for complex scalar to vector
Definition at line 40 of file integration.cc.
References h, norm_error(), and p.
t_real purify::integration::integrate | ( | const Vector< t_real > & | xmin, |
const Vector< t_real > & | xmax, | ||
const std::function< t_real(Vector< t_real >)> & | func, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
adaptive integration with cubature for real scalar to vector
Definition at line 7 of file integration.cc.
References h, norm_error(), and p.
Referenced by convolution(), purify::projection_kernels::exact_w_projection_integration(), purify::projection_kernels::exact_w_projection_integration_1d(), and TEST_CASE().
Vector<t_complex> purify::integration::integrate_v | ( | const t_uint | fdim, |
const t_uint | npts, | ||
const Vector< t_real > & | xmin, | ||
const Vector< t_real > & | xmax, | ||
const std::vector< std::function< t_complex(Vector< t_real >)> | , | ||
& | func, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
Definition at line 115 of file integration.cc.
References h, norm_error(), and p.
Vector<t_complex> purify::integration::integrate_v | ( | const t_uint | fdim, |
const Vector< t_real > & | xmin, | ||
const Vector< t_real > & | xmax, | ||
const std::vector< std::function< t_complex(Vector< t_real >)> | , | ||
& | func, | ||
const norm_type | norm, | ||
const t_real | required_abs_error, | ||
const t_real | required_rel_error, | ||
const t_uint | max_evaluations, | ||
const method | methodtype | ||
) |
adaptive integration with cubature for vector to vector using SIMD
error_norm purify::integration::norm_error | ( | norm_type | norm | ) |
return norm used for error
Definition at line 161 of file integration.cc.
References individual, l1, l2, linf, and paired.
Referenced by integrate(), and integrate_v().