Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

LinEqConstraint Class Reference

representation of a linear constraint equation. More...

#include <LinEqConstraint.h>

Inheritance diagram for LinEqConstraint::

Grid2Constraint List of all members.

Public Methods

 LinEqConstraint ()
virtual ~LinEqConstraint ()
void print (Os os) const
void operator= (const LinEqConstraint &constraints)

Public Attributes

int eq_no
VecSimple(int) active_columns
VecSimple(real) column_values
real rhs_value

Friends

Isoperator>> (Is &is, LinEqConstraint &l)
Osoperator<< (Os &os, const LinEqConstraint &l)

Detailed Description

representation of a linear constraint equation.

NAME: LinEqConstraint - representation of a linear constraint equation

DESCRIPTION:

The class is used for representation of a linear constraint equation. The normal use of this class is to represent each constraint by a "LinEqConstraint" object, then place all the constraint objects into a vector and send this vector to the constraintModification function which modifies the linear equation system.

See the Diffpack FAQ for more information on the use of this class.


Constructor & Destructor Documentation

LinEqConstraint::LinEqConstraint ( ) [inline]
 

There is only one constructor which takes no arguments.

LinEqConstraint::~LinEqConstraint ( ) [inline, virtual]
 


Member Function Documentation

void LinEqConstraint::operator= ( const LinEqConstraint & constraints )
 

void LinEqConstraint::print ( Os os ) const
 

prints the information in the linear constraint.


Friends And Related Function Documentation

Os & operator<< ( Os & os,
const LinEqConstraint & l ) [friend]
 

Is & operator>> ( Is & is,
LinEqConstraint & l ) [friend]
 


Member Data Documentation

VecSimple(int) LinEqConstraint::active_columns
 

VecSimple(real) LinEqConstraint::column_values
 

int LinEqConstraint::eq_no
 

real LinEqConstraint::rhs_value
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.