#include <cmath>
#include <istream>
#include <limits>
#include <ostream>
#include "Array-util.h"
#include "Range.h"
#include "lo-error.h"
#include "lo-mappers.h"
#include "lo-utils.h"
Go to the source code of this file.
Namespaces | |
namespace | octave |
Functions | |
Range | operator* (const Range &r, double x) |
Range | operator* (double x, const Range &r) |
Range | operator+ (const Range &r, double x) |
Range | operator+ (double x, const Range &r) |
Range | operator- (const Range &r) |
Range | operator- (const Range &r, double x) |
Range | operator- (double x, const Range &r) |
std::ostream & | operator<< (std::ostream &os, const Range &a) |
std::istream & | operator>> (std::istream &is, Range &a) |
static bool | teq (double u, double v, double ct=3.0 *std::numeric_limits< double >::epsilon()) |
static double | tfloor (double x, double ct) |
template<typename T > | |
bool | octave::xall_elements_are_ints (T base, T inc, T final_val, octave_idx_type nel) |
template<typename T > | |
T | octave::xfinal_value (T base, T limit, T inc, octave_idx_type nel) |
template<typename T > | |
void | octave::xinit (const octave_int< T > &base, const octave_int< T > &limit, const octave_int< T > &inc, bool reverse, octave_int< T > &final_val, octave_idx_type &nel) |
template<typename T > | |
void | octave::xinit (T base, T limit, T inc, bool reverse, T &final_val, octave_idx_type &nel) |
template<typename T > | |
bool | octave::xis_storable (T base, T limit, octave_idx_type nel) |
template<typename T > | |
octave_idx_type | octave::xnnz (T base, T limit, T inc, T final_val, octave_idx_type nel) |
template<typename T > | |
octave_idx_type | octave::xnumel_internal (T base, T limit, T inc) |
template<typename T > | |
bool | octave::xteq (T u, T v, T ct=3 *std::numeric_limits< T >::epsilon()) |
template<typename T > | |
T | octave::xtfloor (T x, T ct) |
std::ostream & operator<< | ( | std::ostream & | os, |
const Range & | a | ||
) |
Definition at line 895 of file Range.cc.
References octave::math::floor(), and x.
Referenced by Range::numel_internal().