Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Classes | Namespaces | Functions
range.hpp File Reference
#include <cstddef>
#include <cmath>
Include dependency graph for range.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cypress::Range< T >
 
struct  cypress::Range< T >::Iterator
 

Namespaces

 cypress
 

Functions

constexpr Range< float > cypress::linspace (float x0, float x1, ptrdiff_t num)
 
constexpr Range< double > cypress::linspace (double x0, double x1, ptrdiff_t num)
 
constexpr Range< size_t > cypress::range (ptrdiff_t i)
 
constexpr Range< ptrdiff_t > cypress::range (ptrdiff_t i0, ptrdiff_t i1)
 
constexpr Range< float > cypress::range (float x0, float x1, float step)
 
constexpr Range< double > cypress::range (double x0, double x1, double step)
 

Detailed Description

Contains some helper functions for iterating over ranges – similar to those found in Octave or Python.

Author
Andreas Stöckel