40extern "C" void heap_ext_(
const int *,
const int *,
int *,
int *,
int *);
1D Array class for any type T
2D Array class for any type T
Stores data of any type T in a 1D array.
Definition Array1D.h:61
Stores data of any type T in a 2D array.
Definition Array2D.h:60
int computeMultiIndexT(int ndim, int norder, int *mi)
Computes the multiindex set of a PC basis for Total-Order truncation with a given dimensionality and ...
Definition multiindex.cpp:116
int computeMultiIndexTP(Array1D< int > &maxorders, Array2D< int > &mindex)
Computes the multiindex set of a PC basis for Tensor-Product truncation with a given maximum order pe...
Definition multiindex.cpp:381
int computeNPCTerms(int ndim, int norder)
Computes the number of PC basis terms for Total-Order truncation with a given dimensionality and orde...
Definition multiindex.cpp:40
int computeMultiIndexHDMR(int ndim, Array1D< int > &maxorders, Array2D< int > &mindex)
Computes the multiindex set of a PC basis for HDMR truncation with a given dimensionality and maxorde...
Definition multiindex.cpp:431
int computeMultiIndex(int ndim, int norder, Array2D< int > &mi)
Computes the multiindex set of a PC basis for Total-Order truncation with a given dimensionality and ...
Definition multiindex.cpp:61
int get_invmindex_ord(Array1D< int > mi)
Given a single multiindex, this returns its relative position in the total-order multiindex set among...
Definition multiindex.cpp:600
void heap_ext_(const int *, const int *, int *, int *, int *)
bool is_admis(Array1D< int > &mindex_try, Array2D< int > &mindex)
A boolean check to see if a new basis term is admissible or not.
Definition multiindex.cpp:488
void decodeMindex(Array1D< Array2D< int > > &sp_mindex, int ndim, Array2D< int > &mindex)
Decode a multiindex set from a sparse format to a regular format.
Definition multiindex.cpp:464
void upOrder(Array2D< int > &mindex, Array2D< int > &new_mindex)
Given a multiindex set it computes a new multiindex set where only 'admissible' bases are added.
Definition multiindex.cpp:526
int get_invmindex(Array1D< int > mi)
Given a single multiindex, this returns its relative position in the total-order multiindex set.
Definition multiindex.cpp:583
void getOrders(Array2D< int > &mindex, Array1D< int > &orders)
Given a multiindex set, it returns the orders of each basis term.
Definition multiindex.cpp:564
int computeNPCTermsHDMR(int ndim, Array1D< int > &maxorders)
Computes the number of PC basis terms for HDMR truncation with a given dimensionality and maxorders a...
Definition multiindex.cpp:418