AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

Vector Class Template Reference

Vector implementation. More...

#include <Vector1.h / Vector2.h / Vector3.h / Vector4.h / Vector5.h / Vector6.h / Vector7.h / Vector8.h / Vector9.h / Vector10.h / Vector11.h / Vector12.h / Vector13.h / Vector14.h / Vector15.h / Vector16.h / Vector17.h / Vector18.h / Vector19.h / Vector20.h / Vector21.h / Vector22.h / Vector23.h / Vector24.h / Vector25.h / Vector26.h / Vector27.h / Vector28.h / Vector29.h / Vector30.h / Vector0.h>

Inheritance diagram for Vector:

Inheritance graph
[legend]
List of all members.

Public Types

typedef DataType InternalDataType

Public Methods

 Vector ()
 Vector (const TVector &x)
 Vector (const DataType &v)
 ~Vector ()
DataType * data ()
const DataType * data () const
int length () const
DataType operator() (int i) const
DataType & operator() (int i)
DataType operator[] (int i) const
DataType & operator[] (int i)
TVector & operator= (const TVector &x)
TVector & operator= (const DataType &v)
TVector & operator+= (const TVector &x)
TVector operator+ (const TVector &x) const
TVector & operator-= (const TVector &x)
TVector operator- (const TVector &x) const
TVector & operator *= (const TVector &x)
TVector operator * (const TVector &x) const
TVector & operator/= (const TVector &x)
TVector operator/ (const TVector &x) const
TVector & operator+= (const DataType &v)
TVector operator+ (const DataType &v) const
TVector & operator-= (const DataType &v)
TVector operator- (const DataType &v) const
TVector & operator *= (const DataType &v)
TVector operator * (const DataType &v) const
TVector & operator/= (const DataType &v)
TVector operator/ (const DataType &v) const
TVector operator- () const
int operator== (const TVector &x) const
int operator!= (const TVector &x) const
int operator> (const TVector &x) const
int operator< (const TVector &x) const
int operator>= (const TVector &x) const
int operator<= (const TVector &x) const
int operator== (const DataType &v) const
int operator!= (const DataType &v) const
int operator> (const DataType &v) const
int operator< (const DataType &v) const
int operator>= (const DataType &v) const
int operator<= (const DataType &v) const
void min (const TVector &x)
void max (const TVector &x)
DataType mincomp () const
DataType maxcomp () const
double abs () const
TVector getmin (const TVector &x) const
TVector getmax (const TVector &x) const

Static Public Methods

int Length ()

Public Attributes

DataType data_ [1]

Detailed Description

template<class DataType>
class Vector< DataType >

Vector implementation.

To speed up execution no loops are used for vectors up to 20 components.

Author:
Ralf Deiterding
Version:
1.0
Date:
Jan-2002

Definition at line 29 of file Vector1.h / Vector2.h / Vector3.h / Vector4.h / Vector5.h / Vector6.h / Vector7.h / Vector8.h / Vector9.h / Vector10.h / Vector11.h / Vector12.h / Vector13.h / Vector14.h / Vector15.h / Vector16.h / Vector17.h / Vector18.h / Vector19.h / Vector20.h / Vector21.h / Vector22.h / Vector23.h / Vector24.h / Vector25.h / Vector26.h / Vector27.h / Vector28.h / Vector29.h / Vector30.h / Vector0.h.


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


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04