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

MODEL::Invariant Class Template Reference

#include <invariant.h>

List of all members.

Public Types

typedef NT::number numT
typedef NT::vect vect
typedef NT::matrix matrix
typedef NT::vf vf

Public Methods

 Invariant (const matrix &ma)
numT calculate (integer i, integer done=0)
 NO_COPY (Invariant)

Private Attributes

matrix m


Detailed Description

template<integer dims, class NT = NumericTraits<number,dims>> class MODEL::Invariant

Calculates the invariants of a matrix (sum over diagonal minors)

Definition at line 30 of file invariant.h.


Member Function Documentation

NO_COPY ( Invariant<dims, NT> )
 

NO Copy or Assign

Invariant< dims, NT >::numT calculate ( integer i,
integer done = 0 )
 

Calculate the (n+1)-th order invariant. 1st order = trace, nth order = determinant. The others are the sums of the x-th order minor determinants. I agree: I must have been tripping when I wrote this code - that's recursive template programming for you.

Parameters:
done   makes sure we don count elements twice

Definition at line 58 of file invariant.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 !