compound Class Reference

#include <compound.hpp>

List of all members.

Public Member Functions

Friends


Detailed Description

Definition at line 26 of file compound.hpp.


Constructor & Destructor Documentation

compound (  )  [inline]

Definition at line 36 of file compound.hpp.

00036 : v (), sym (v) {}

compound ( const vector< generic > &  v2  )  [inline]

Definition at line 37 of file compound.hpp.

00037 : v (v2), sym (v) {}

compound ( const compound c  )  [inline]

Definition at line 38 of file compound.hpp.

00038 : v (c.v), sym (c.sym) {}

compound ( const symbol< vector< generic > > &  s2  )  [inline]

Definition at line 39 of file compound.hpp.

00039 : v (*s2), sym (s2) {}


Member Function Documentation

vector<generic> operator* (  )  const [inline]

Definition at line 31 of file compound.hpp.

00031 { return v; }

generic operator[] ( nat  i  )  const [inline]

Definition at line 40 of file compound.hpp.

00040 { return v[i]; }


Friends And Related Function Documentation

symbol<vector<generic> > as_symbol ( const compound v  )  [friend]

Definition at line 34 of file compound.hpp.

00034                                                                        {
00035     return v.sym; }

vector<generic> as_vector ( const compound v  )  [friend]

Definition at line 33 of file compound.hpp.

00033 { return v.v; }

nat N ( const compound v  )  [friend]

Definition at line 32 of file compound.hpp.

00032 { return N(v.v); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1