Public Member Functions | Public Attributes

Int4 Struct Reference

#include <algebra.h>

List of all members.

Public Member Functions

 Int4 ()
 Int4 (int i_1, int i_2, int i_3, int i_4)
int & operator[] (unsigned int index)
const int & operator[] (unsigned int index) const

Public Attributes

int i1
int i2
int i3
int i4

Detailed Description

The structure Int4 is a four-integer; ie. a set of four integers.


Constructor & Destructor Documentation

Int4::Int4 (  ) [inline]

Constructor. Create a four-integer and initial all integers to be zero.

Int4::Int4 ( int  i_1,
int  i_2,
int  i_3,
int  i_4 
) [inline]

Member Function Documentation

int& Int4::operator[] ( unsigned int  index ) [inline]
const int& Int4::operator[] ( unsigned int  index ) const [inline]

Member Data Documentation

int Int4::i1
int Int4::i2
int Int4::i3
int Int4::i4

The documentation for this struct was generated from the following file: