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

MODEL::NegFunc Class Template Reference

#include <negfunc.h>

Inheritance diagram for MODEL::NegFunc:

Inheritance graph
Collaboration diagram for MODEL::NegFunc:

Collaboration graph
List of all members.

Public Methods

virtual NegFunc* clone () const
virtual const vect& function (vect &fu, const vect &u)

Private Types

typedef VectorFunction<dims,
typedef NT::vect vect

Detailed Description

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

Returns the negative of the input for vectors

Definition at line 31 of file negfunc.h.

Member Function Documentation

NegFunc * clone ( ) const [inline, virtual]

Virtual Copy Constructor

Reimplemented from MODEL::VectorFunction.

Definition at line 38 of file negfunc.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 41 of file negfunc.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:

Last update: June 2002.

Looking for Open Source? Check out SourceForge Logo !