numerics 0.1.0
Loading...
Searching...
No Matches
types.hpp File Reference

Core type definitions. More...

#include <complex>
#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  num
 

Typedefs

using num::real = double
 
using num::idx = std::size_t
 
using num::cplx = std::complex< real >
 

Functions

template<class T >
constexpr idx num::to_idx (T x) noexcept
 Cast any integer to idx without a verbose static_cast.
 

Detailed Description

Core type definitions.

Definition in file types.hpp.