LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
npfqn_types.h File Reference

Shared arithmetic helpers for the templated npfqn port. More...

#include <cmath>
#include <cstddef>
#include <boost/math/constants/constants.hpp>
#include <boost/math/special_functions/erf.hpp>
#include <boost/math/special_functions/fpclassify.hpp>
#include "line/num/number.h"
#include "line/util/error.h"
Include dependency graph for npfqn_types.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::npfqn

Detailed Description

Shared arithmetic helpers for the templated npfqn port.

The non-product-form traffic approximations in matlab/src/api/npfqn/ do not share a single return type the way the qsys family does, so each ported function declares its own result struct in its own header. What they do share is a handful of ADL wrappers around the transcendental functions and the finiteness test, which are collected here so that the same incantation serves double, cpp_bin_float and mpfr. This header mirrors the role of line/api/qsys/qsys_types.h and adds no algorithm of its own.

Definition in file npfqn_types.h.