13#include <unsupported/Eigen/Splines>
18template <
typename Scalar>
31 int row() const noexcept;
32 int col() const noexcept;
45 Scalar
val(
double omega)
const;
46 int row() const noexcept;
47 int col() const noexcept;
62 const
Eigen::
MatrixX<Scalar> &tensor_in_cartesian_coordinates);
64 int kappa1,
int kappa2,
65 const std::vector<
Eigen::
MatrixX<Scalar>> &tensors_in_cartesian_coordinates,
66 const std::vector<
double> &omegas);
70 std::map<std::pair<
int,
int>, std::vector<
Entry>> entries_map;
74extern template class
GreenTensor<std::complex<
double>>;
typename traits::NumTraits< Scalar >::real_t real_t
std::variant< ConstantEntry, OmegaDependentEntry > Entry
void create_entries_from_cartesian(int kappa1, int kappa2, const Eigen::MatrixX< Scalar > &tensor_in_cartesian_coordinates)
const std::vector< Entry > & get_spherical_entries(int kappa1, int kappa2) const
std::complex< real_t > complex_t
Matrix< Type, Dynamic, Dynamic > MatrixX
Helper struct to extract types from a numerical type.