Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MODEL::Minus Class Template Reference

#include <minus.h>

Inheritance diagram for MODEL::Minus:

Inheritance graph
[legend]
Collaboration diagram for MODEL::Minus:

Collaboration graph
[legend]
List of all members.

Public Methods

 Minus (vf &func, bool own=false)
 Minus (const Minus &vfb)
const Minus& operator= (const Minus &vfb)
virtual Minus* clone () const
virtual const vect& function (vect &fu, const vect &u)

Private Attributes

vf* f
bool owned

Detailed Description

template<integer dims, typename nelem = number, class NT = NumericTraits<nelem,dims>> class MODEL::Minus

Makes a new vectorfunction, which is minus the input The idea: use this to change stable states to unstable and vice-versa

Definition at line 32 of file minus.h.


Constructor & Destructor Documentation

Minus ( vf & func,
bool own = false ) [inline]
 

Just create

Definition at line 36 of file minus.h.

Referenced by clone().

Minus ( const Minus<dims, nelem, NT> & vfb ) [inline]
 

copy

Definition at line 40 of file minus.h.


Member Function Documentation

Minus * clone ( ) const [inline, virtual]
 

Virtual Copy Constructor

Reimplemented from MODEL::VectorFunction.

Definition at line 46 of file minus.h.

const vect & function ( vect & fu,
const vect & u ) [inline, virtual]
 

Implement this function to create the return vector. fu is a reference to where the values should be stored. This is for efficiency in internal routines. Inherited classes should return fu too.

Reimplemented from MODEL::VectorFunction.

Definition at line 52 of file minus.h.

const Minus & operator= ( const Minus<dims, nelem, NT> & vfb ) [inline]
 

assign

Definition at line 42 of file minus.h.


The documentation for this class was generated from the following file:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !