Lattice Builder
Software Package for Constructing Rank-1 Lattices
|
#include <Weights.h>
Static Public Member Functions | |
static std::unique_ptr < LatCommon::Weights > | parseProjectionDependent (const std::string &arg, Real powerScale) |
Parses a string specifying projection-dependent weights. More... | |
static std::unique_ptr < LatCommon::Weights > | parseOrderDependent (const std::string &arg, Real powerScale) |
Parses a string specifying order-dependent weights. More... | |
static std::unique_ptr < LatCommon::Weights > | parseProduct (const std::string &arg, Real powerScale) |
Parses a string specifying product weights. More... | |
static std::unique_ptr < LatCommon::Weights > | parsePOD (const std::string &arg, Real powerScale) |
Parses a string specifying product and order-dependent (POD) weights. More... | |
static std::unique_ptr < LatCommon::Weights > | parse (const std::string &arg, Real powerScale) |
Parses a string specifying weights. More... | |
Parser for weights.
|
static |
Parses a string specifying weights.
For example strings, see parseProjectionDependent(), parseOrderDependent() and parseProduct().
nullptr
on failure.
|
static |
Parses a string specifying order-dependent weights.
Example strings: order-dependent:0.1
, order-dependent:0.1:1.0,0.7,0.3
nullptr
on failure.
|
static |
Parses a string specifying product and order-dependent (POD) weights.
The string must have the following form: POD:<default-Gamma>:<Gamma_1>,<Gamma_2>,...:<default-gamma>:<gamma_1>,...
Example strings: POD:1.0::0.1
, POD:1.0:1.0,0.7,0.3:0.1:0.9,0.8,0.7
nullptr
on failure.
|
static |
Parses a string specifying product weights.
Example strings: product:0.1
, product:0.1:1.0,0.7,0.3
nullptr
on failure.
|
static |
Parses a string specifying projection-dependent weights.
Example strings: projection-dependent:1,2:1.0
, projection-dependent:1,2:1.0:1,2,3:0.3
nullptr
on failure.