Operators and Keywords

Function List:


Range Class Reference

#include <Range.h>

Collaboration diagram for Range:

List of all members.

Public Member Functions

 Range (void)
 Range (const Range &r)
 Range (double b, double l)
 Range (double b, double l, double i)
 Range (double b, double i, octave_idx_type n)
double base (void) const
double limit (void) const
double inc (void) const
octave_idx_type nelem (void) const
bool all_elements_are_ints (void) const
Matrix matrix_value (void) const
double min (void) const
double max (void) const
void sort_internal (bool ascending=true)
void sort_internal (Array< octave_idx_type > &sidx, bool ascending=true)
Matrix diag (octave_idx_type k=0) const
Range sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
Range sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
sortmode is_sorted (sortmode mode=ASCENDING) const
double checkelem (octave_idx_type i) const
double elem (octave_idx_type i) const
Array< double > index (const idx_vector &i) const
void set_base (double b)
void set_limit (double l)
void set_inc (double i)
void print_range (void)


OCTAVE_API std::ostream & operator<< (std::ostream &os, const Range &r)
OCTAVE_API std::istream & operator>> (std::istream &is, Range &r)
OCTAVE_API Range operator- (const Range &r)
OCTAVE_API Range operator+ (double x, const Range &r)
OCTAVE_API Range operator+ (const Range &r, double x)
OCTAVE_API Range operator- (double x, const Range &r)
OCTAVE_API Range operator- (const Range &r, double x)
OCTAVE_API Range operator* (double x, const Range &r)
OCTAVE_API Range operator* (const Range &r, double x)

Constructor & Destructor Documentation

Range::Range ( void   )  [inline]
Range::Range ( const Range r  )  [inline]
Range::Range ( double  b,
double  l 
) [inline]
Range::Range ( double  b,
double  l,
double  i 
) [inline]
Range::Range ( double  b,
double  i,
octave_idx_type  n 

Member Function Documentation

bool Range::all_elements_are_ints ( void   )  const
double Range::base ( void   )  const [inline]
double Range::checkelem ( octave_idx_type  i  )  const
Matrix Range::diag ( octave_idx_type  k = 0  )  const
double Range::elem ( octave_idx_type  i  )  const [inline]
double Range::inc ( void   )  const [inline]
Array< double > Range::index ( const idx_vector i  )  const
sortmode Range::is_sorted ( sortmode  mode = ASCENDING  )  const
double Range::limit ( void   )  const [inline]
Matrix Range::matrix_value ( void   )  const
double Range::max ( void   )  const
double Range::min ( void   )  const
octave_idx_type Range::nelem ( void   )  const [inline]
void Range::print_range ( void   ) 
void Range::set_base ( double  b  )  [inline]
void Range::set_inc ( double  i  )  [inline]
void Range::set_limit ( double  l  )  [inline]
Range Range::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
Range Range::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
void Range::sort_internal ( Array< octave_idx_type > &  sidx,
bool  ascending = true 
void Range::sort_internal ( bool  ascending = true  ) 

Friends And Related Function Documentation

OCTAVE_API Range operator* ( double  x,
const Range r 
) [friend]
OCTAVE_API Range operator* ( const Range r,
double  x 
) [friend]
OCTAVE_API Range operator+ ( const Range r,
double  x 
) [friend]
OCTAVE_API Range operator+ ( double  x,
const Range r 
) [friend]
OCTAVE_API Range operator- ( const Range r,
double  x 
) [friend]
OCTAVE_API Range operator- ( const Range r  )  [friend]
OCTAVE_API Range operator- ( double  x,
const Range r 
) [friend]
OCTAVE_API std::ostream& operator<< ( std::ostream &  os,
const Range r 
) [friend]
OCTAVE_API std::istream& operator>> ( std::istream &  is,
Range r 
) [friend]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines