Centipede 0.0.1
Centipede program
Loading...
Searching...
No Matches
centipede::EntryPoint< NLocals, NGlobals > Class Template Reference

Structure of a entrypoint. More...

#include <entry.hpp>

Public Types

using data_type = float
 Data type of deriv values.
using LocalDerivs = std::array<float, NLocals>
 Data type of local deriv array.
using GlobalDerivs = std::array<std::pair<uint32_t, float>, NGlobals>
 Data type of global deriv array.

Public Member Functions

constexpr void reset ()
 Reset all values to the default values.
constexpr auto operator<=> (const EntryPoint< NLocals, NGlobals > &other) const =default
 Default spaceship operator for comparisons.

Public Attributes

LocalDerivs local_derivs {}
 Local derivatives.
GlobalDerivs global_derivs {}
 Global label and derivatives pair. The label is using 0-based indexing.
float measurement {}
 Measurement corresponding to the error value.
float sigma {}
 Error value.

Static Public Attributes

static constexpr std::size_t n_locals = NLocals
 Number of the local parameters.
static constexpr std::size_t n_globals = NGlobals
 Number of the global parameters.

Detailed Description

template<std::size_t NLocals, std::size_t NGlobals>
class centipede::EntryPoint< NLocals, NGlobals >

Entrypoint contains the derivatives of local and global parameters, together with measurement and sigma values. The values are stored locally.

Definition at line 19 of file entry.hpp.


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