#include <cassert>
#include <cstddef>
#include <complex>
#include <algorithm>
#include <memory>
#include <numeric>
#include <type_traits>
#include <vector>
#include "unitcell.hpp"
#include "symmetry.hpp"
#include "stats.hpp"
#include "fail.hpp"
Go to the source code of this file.
|
int | gemmi::modulo (int a, int n) |
|
bool | gemmi::has_small_factorization (int n) |
|
int | gemmi::round_with_small_factorization (double exact, GridSizeRounding rounding) |
|
std::array< int, 3 > | gemmi::good_grid_size (const std::array< double, 3 > &limit, GridSizeRounding rounding, const SpaceGroup *sg) |
|
void | gemmi::check_grid_factors (const SpaceGroup *sg, std::array< int, 3 > size) |
|
double | gemmi::cubic_interpolation (double u, double a, double b, double c, double d) |
| Catmull–Rom spline interpolation.
|
|
double | gemmi::cubic_interpolation_der (double u, double a, double b, double c, double d) |
| df/du (from Wolfram Alpha)
|
|
template<typename T > |
Correlation | gemmi::calculate_correlation (const GridBase< T > &a, const GridBase< T > &b) |
|