Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
LatBuilder::Parser::Kernel Struct Reference

Parser for kernels for coordinate-uniform figures of merit. More...

#include <Kernel.h>

Static Public Member Functions

template<typename FUNC , typename... ARGS>
static void parse (const std::string &str, FUNC &&func, ARGS &&...args)
 Parses a string specifying a kernel for the coordinate-uniform figure of merit, like the \(\mathcal P_\alpha\) and the \(\mathcal R_\alpha\) figures of merit. More...
 

Detailed Description

Parser for kernels for coordinate-uniform figures of merit.

Member Function Documentation

template<typename FUNC , typename... ARGS>
static void LatBuilder::Parser::Kernel::parse ( const std::string &  str,
FUNC &&  func,
ARGS &&...  args 
)
inlinestatic

Parses a string specifying a kernel for the coordinate-uniform figure of merit, like the \(\mathcal P_\alpha\) and the \(\mathcal R_\alpha\) figures of merit.

Example strings: P2, P4, P6, R1, R1.5, R2

Returns
A shared pointer to a newly created object or nullptr on failure.

Referenced by LatBuilder::Parser::CoordUniformFigureOfMerit::parse(), and LatBuilder::Parser::ProjDepMerit::parse().


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