|
template<typename Container > |
Container | richardson_derivative_container (const Container &plus_h, const Container &minus_h, const Container &plus_half_h, const Container &minus_half_h, double h) |
| Richardson extrapolation for vectors or containers.
|
|
template<typename T > |
T | richardson_derivative (const T &plus_h, const T &minus_h, const T &plus_half_h, const T &minus_half_h, double h) |
| Richardson extrapolation for scalar values.
|
|
template<typename T > |
T GemmKernelBigger< T >::blockA_packed[MC *KC] | __attribute__ ((aligned(64))) |
|
template<typename T > |
T GemmKernelBigger< T >::blockB_packed[NC *KC] | __attribute__ ((aligned(64))) |
|
template<typename T > |
Vector< T > | add_vec (const Vector< T > &a, const Vector< T > &b) |
|
template<typename T > |
Vector< T > | sub_vec (const Vector< T > &a, const Vector< T > &b) |
|
template<typename T > |
Vector< T > | scl_vec (const Vector< T > &a, T scalar) |
|
template<typename T > |
T | norm1_vec (const Vector< T > &a) |
|
template<typename T > |
T | norm2_vec (const Vector< T > &a) |
|
template<typename T > |
T | normInf_vec (const Vector< T > &a) |
|
template<typename T > |
T | dot_vec (const Vector< T > &a, const Vector< T > &b) |
|
template<typename T > |
T | cosine_vec (const Vector< T > &a, const Vector< T > &b) |
|
template<typename T > |
Vector< T > | lerp_vec (const Vector< T > &a, const Vector< T > &b, T t) |
|
template<typename T > |
Vector< T > | linear_combination_vec (const std::vector< Vector< T > > &u, const std::vector< T > &coef) |
|
template<typename T > |
Vector< T > | cross_vec (const Vector< T > &a, const Vector< T > &b) |
|
template<typename T > |
Matrix< T > | add_mat (const Matrix< T > &A, const Matrix< T > &B) |
|
template<typename T > |
Matrix< T > | sub_mat (const Matrix< T > &A, const Matrix< T > &B) |
|
template<typename T > |
Matrix< T > | scl_mat (const Matrix< T > &A, T scalar) |
|
template<typename T > |
Matrix< T > | lerp_mat (const Matrix< T > &A, const Matrix< T > &B, T t) |
|
template<typename T > |
Matrix< T > | mul_mat (const Matrix< T > &A, const Matrix< T > &B) |
|
template<typename T > |
Matrix< T > | transpose_mat (const Matrix< T > &A) |
|
template<typename T > |
Matrix< T > | trace_mat (const Matrix< T > &A) |
|
template<typename T > |
Vector< T > | mul_vec (const Matrix< T > &A, const Vector< T > &x) |
|
template<typename T > |
Matrix< T > | inverse_mat (const Matrix< T > &A) |
|
template<typename T > |
T | det_mat (const Matrix< T > &A) |
|
template<typename T > |
size_t | rank_mat (const Matrix< T > &A) |
|
template<typename K , std::size_t Rank> |
Tensor< K, Rank > | transpose_tensor (const Tensor< K, Rank > &T) |
|
template<typename K , size_t R1, size_t R2> |
Tensor< K, R1+R2 > | mul_tensor (const Tensor< K, R1 > &A, const Tensor< K, R2 > &B) |
|
template<size_t I, size_t J, typename K , std::size_t Rank> |
Tensor< K, Rank - 2 > | contract_tensor (const Tensor< K, Rank > &T) |
|
template<typename T > |
Vector< T > | gauss_solve (const Matrix< T > &A, const Vector< T > &b) |
|
template<typename T > |
Vector< T > | jacobi_solve (const Matrix< T > &A, const Vector< T > &b, T tol=1e-6, int max_iter=1000) |
|
template<typename T > |
void | row_echelon (Matrix< T > &A, Vector< T > *b=nullptr, T eps=T(1e-12)) |
|
template<typename K > |
void | centered_derivative (const Derivate< K > &input, Derivate< K > &output, size_t axis, K dx) |
|
template<typename K > |
void | centered_derivative_order4 (const Derivate< K > &input, Derivate< K > &output, size_t axis, K dx) |
|
template<typename K , size_t Rank> |
void | centered_derivative (const DerivateND< K, Rank > &input, DerivateND< K, Rank > &output, size_t axis, K dx) |
|
template<typename K , size_t Rank> |
void | centered_derivative_order4 (const DerivateND< K, Rank > &input, DerivateND< K, Rank > &output, size_t axis, K dx) |
|
template<typename T > |
void | forwardFFT (tensorium::Vector< std::complex< T > > &data) |
|
template<typename T > |
void | backwardFFT (tensorium::Vector< std::complex< T > > &data) |
|
template<typename T > |
void | backwardFFP (tensorium::Vector< std::complex< T > > &data) |
|
template<typename T > |
tensorium::Tensor< T, 2 > | inv_mat_tensor (const tensorium::Tensor< T, 2 > &g) |
|
template<typename T > |
Matrix< T > | tensor_to_matrix (const Tensor< T, 2 > &tensor) |
|
template<typename T > |
Tensor< T, 2 > | matrix_to_tensor (const Matrix< T > &mat) |
|
template<typename T , typename MetricFunc > |
tensorium_RG::ChristoffelSym< T > | compute_christoffel (const tensorium::Vector< T > &X, T h, const tensorium::Tensor< T, 2 > &g, const tensorium::Tensor< T, 2 > &g_inv, MetricFunc &&metric_generator) |
|
template<typename T > |
void | generate_metric (const tensorium_RG::Metric< T > &metric, const Vector< T > &X, Tensor< T, 2 > &g) |
|
template<typename T > |
tensorium::Tensor< T, 4 > | compute_riemann_tensor (const tensorium::Vector< T > &X, T h, const tensorium_RG::Metric< T > &metric) |
|
template<typename T > |
void | print_riemann_tensor (const tensorium::Tensor< T, 4 > &R) |
|
template<typename T > |
Tensor< T, 2 > | contract_riemann_to_ricci (const Tensor< T, 4 > &R, const Tensor< T, 2 > &ginv) |
|
template<typename T > |
T | compute_ricci_scalar (const Tensor< T, 2 > &Ricci, const Tensor< T, 2 > &ginv) |
|
template<typename T > |
void | print_ricci_tensor (const Tensor< T, 2 > &R) |
|
template<typename T > |
void | print_ricci_scalar (const Tensor< T, 2 > &Ricci, const Tensor< T, 2 > &g_inv) |
|
template<typename T > |
T | compute_conformal_factor (const tensorium_RG::Metric< T > &metric, const Tensor< T, 2 > &gamma) |
|
template<typename T > |
Tensor< T, 2 > | compute_conformal_metric (const tensorium_RG::Metric< T > &metric, const Tensor< T, 2 > &gamma, T chi) |
|
template<typename T > |
void | compute_christoffel_3D (const Tensor< T, 2 > &gamma_tilde, const Tensor< T, 3 > &dgamma_tilde, const Tensor< T, 2 > &gamma_tilde_inv, Tensor< T, 3 > &Christoffel) |
|
template<typename T > |
tensorium_RG::BSSN< T > | setup_BSSN_grid (const Vector< T > &X, const tensorium_RG::Metric< T > &metric, T dx, T dy, T dz) |
|
void | print_ast (const std::shared_ptr< ASTNode > &node, int indent=0) |
|