LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::reg::DoubleOnly< Op > Struct Template Reference

Wrap an Op whose registry entry lists Double ONLY. More...

#include </data/gcasale/line-dev.git/cpp/src/reg/api_dispatch_detail.h>

Static Public Member Functions

template<class T>
static Json run (Args &a)

Detailed Description

template<class Op>
struct line::reg::DoubleOnly< Op >

Wrap an Op whose registry entry lists Double ONLY.

The port of such a function is not templated on the scalar (it calls a double-only kernel: LAPACK, HiGHS, an ODE integrator, a random stream), so only the double arm may be instantiated. The other arms are refused by the registry gate before dispatch; the throw is the same safety net NeedsTranscendental keeps.

Definition at line 102 of file api_dispatch_detail.h.

Member Function Documentation

◆ run()

template<class Op>
template<class T>
Json line::reg::DoubleOnly< Op >::run ( Args & a)
inlinestatic

Definition at line 104 of file api_dispatch_detail.h.

References line::UnsupportedError::UnsupportedError().


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