GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Functions
dim-vector.h File Reference
#include <cassert>
#include <limits>
#include <sstream>
#include <string>
#include "lo-error.h"
#include "lo-macros.h"
#include "oct-refcount.h"
Include dependency graph for dim-vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dim_vector

Macros

#define ASSIGN_REP(i)   rep[i] = d ## i;
#define DIM_VECTOR_CTOR(N)

Functions

bool operator!= (const dim_vector &a, const dim_vector &b)
bool operator== (const dim_vector &a, const dim_vector &b)

Macro Definition Documentation

#define ASSIGN_REP (   i)    rep[i] = d ## i;

Definition at line 164 of file dim-vector.h.

#define DIM_VECTOR_CTOR (   N)
Value:
: rep (newrep (N)) \
{ \
OCT_ITERATE_MACRO (ASSIGN_REP, N) \
}

Definition at line 165 of file dim-vector.h.

Function Documentation

bool operator!= ( const dim_vector a,
const dim_vector b 
)
inline

Definition at line 526 of file dim-vector.h.

References operator==().

bool operator== ( const dim_vector a,
const dim_vector b 
)
inline

Definition at line 497 of file dim-vector.h.

References dim_vector::length(), and dim_vector::rep.

Referenced by operator!=().