Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::fast_multipole_embedder::BinCoeff< TYP > Class Template Reference

binomial coeffs from Hachuls FMMM More...

#include <ogdf/energybased/fast_multipole_embedder/FastUtils.h>

Public Member Functions

 BinCoeff (unsigned int n)
 
 ~BinCoeff ()
 
void free_array ()
 Free space for BK. More...
 
void init_array ()
 Init BK -matrix for values n, k in 0 to t. More...
 
TYP value (unsigned int n, unsigned int k) const
 

Private Attributes

TYP ** m_binCoeffs
 holds the binominal coefficients More...
 
unsigned int m_max_n
 

Detailed Description

template<class TYP>
class ogdf::fast_multipole_embedder::BinCoeff< TYP >

binomial coeffs from Hachuls FMMM

Definition at line 288 of file FastUtils.h.

Constructor & Destructor Documentation

◆ BinCoeff()

template<class TYP >
ogdf::fast_multipole_embedder::BinCoeff< TYP >::BinCoeff ( unsigned int  n)
inlineexplicit

Definition at line 290 of file FastUtils.h.

◆ ~BinCoeff()

template<class TYP >
ogdf::fast_multipole_embedder::BinCoeff< TYP >::~BinCoeff ( )
inline

Definition at line 292 of file FastUtils.h.

Member Function Documentation

◆ free_array()

template<class TYP >
void ogdf::fast_multipole_embedder::BinCoeff< TYP >::free_array ( )
inline

Free space for BK.

Definition at line 316 of file FastUtils.h.

◆ init_array()

template<class TYP >
void ogdf::fast_multipole_embedder::BinCoeff< TYP >::init_array ( )
inline

Init BK -matrix for values n, k in 0 to t.

Definition at line 295 of file FastUtils.h.

◆ value()

template<class TYP >
TYP ogdf::fast_multipole_embedder::BinCoeff< TYP >::value ( unsigned int  n,
unsigned int  k 
) const
inline

Definition at line 325 of file FastUtils.h.

Member Data Documentation

◆ m_binCoeffs

template<class TYP >
TYP** ogdf::fast_multipole_embedder::BinCoeff< TYP >::m_binCoeffs
private

holds the binominal coefficients

Definition at line 331 of file FastUtils.h.

◆ m_max_n

template<class TYP >
unsigned int ogdf::fast_multipole_embedder::BinCoeff< TYP >::m_max_n
private

Definition at line 328 of file FastUtils.h.


The documentation for this class was generated from the following file: