ndarray
NumPy-friendly multidimensional arrays in C++
Loading...
Searching...
No Matches
Classes | Functions
arange.h File Reference

Expression classes to generate regularly-spaced ranges of values. More...

#include "ndarray/vectorize.h"
#include <boost/iterator/counting_iterator.hpp>

Go to the source code of this file.

Classes

struct  ndarray::ExpressionTraits< detail::CountingExpression >
 
class  ndarray::detail::CountingExpression
 
class  ndarray::detail::RangeTransformer< T >
 

Functions

detail::CountingExpression ndarray::arange (int stop)
 Create 1D Expression that contains integer values in the range [0,stop).
 
detail::UnaryOpExpression< detail::CountingExpression, detail::RangeTransformer< int > > ndarray::arange (int start, int stop, int step=1)
 Create 1D Expression that contains integer values in the range [start,stop) with increment step.
 

Detailed Description

Expression classes to generate regularly-spaced ranges of values.