Precomputed Associated Legrendre Polynomials - used to speed up SH calculation. More...
#include "math/SH.h"
Public Types | |
using | value_type = ValueType |
Public Member Functions | |
PrecomputedAL () | |
PrecomputedAL (int up_to_lmax, int num_dir=512) | |
bool | operator! () const |
operator bool () const | |
void | init (int up_to_lmax, int num_dir=512) |
void | set (PrecomputedFraction< ValueType > &f, const ValueType elevation) const |
ValueType | get (const PrecomputedFraction< ValueType > &f, int i) const |
ValueType | get (const PrecomputedFraction< ValueType > &f, int l, int m) const |
void | get (ValueType *dest, const PrecomputedFraction< ValueType > &f) const |
template<class VectorType , class UnitVectorType > | |
ValueType | value (const VectorType &val, const UnitVectorType &unit_dir) const |
Protected Attributes | |
int | lmax |
int | ndir |
int | nAL |
ValueType | inc |
vector< ValueType > | AL |
Precomputed Associated Legrendre Polynomials - used to speed up SH calculation.
using MR::Math::SH::PrecomputedAL< ValueType >::value_type = ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |