STK++ 1.0
STK_Range.cpp File Reference

In this file we implement the class Range, a range of Index denoting a sub-vector region. More...

#include "../include/STK_Range.h"
#include "../include/STK_Misc.h"
#include "../include/STK_String_Util.h"
Include dependency graph for STK_Range.cpp:

Go to the source code of this file.

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


Functions

ostream & STK::operator<< (ostream &s, Range const &I)
 Print a Range using the colon notation.
istream & STK::operator>> (istream &s, Range &I)
 Read a Range in the form first:last (MATLAB-like form) from an input stream.
Range STK::operator- (Range const &I, Integer const &dec)
 return an Index applying Range::dec() to I
Range STK::operator+ (Range const &I, Integer const &inc)
 return an Index applying Range::inc() to I

Detailed Description

In this file we implement the class Range, a range of Index denoting a sub-vector region.

Definition in file STK_Range.cpp.