Go to Overview over all GrAL packages.
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Representations for one-to-one mappings
[Components for Mappings]


Compounds

class  printer_of_bij_mapping
 helper class for custom output of a bijective map. More...

class  bijective_mapping
 Represents a one-to-one mapping T1 -> T2. More...

class  inverse_mapping
 Represents a mapping T2 --> T1 which is the inverse of some bijective_mapping<T1,T2>. More...

class  domain_of_bijective_mapping
 Represents the domain of definition of a mapping. More...

class  range_of_bijective_mapping
 Represents the range (image) of a bijective mapping . More...


Functions

template<class T1, class T2> void write_bm (bijective_mapping< T1, T2 > const &m, ostream &out)
 write a bijective map to ostream. More...

template<class T1, class T2> void read_bm (bijective_mapping< T1, T2 > &m, istream &in)
 read a bijective map from istream. More...

template<class T1, class T2> printer_of_bij_mapping< T1,
T2 > 
Printer (bijective_mapping< T1, T2 > const &m)
 helper function for custom output of a bijective map. More...


Detailed Description

Contents

This module contains class templates for representing bijective mappings:

Template parameters

(same for bijective_mapping<T1,T2>, inverse_mapping<T1,T2>, domain_of_bijective_mapping<T1,T2>, range_of_bijective_mapping<T1,T2>)

Description:

Invariants: Example:
See also:
bijective-mapping.h

Function Documentation

template<class T1, class T2>
void write_bm bijective_mapping< T1, T2 > const &    m,
ostream &    out
 

write a bijective map to ostream.

Definition at line 10 of file bijective-mapping.C.

Referenced by main.

template<class T1, class T2>
void read_bm bijective_mapping< T1, T2 > &    m,
istream &    in
 

read a bijective map from istream.

Definition at line 19 of file bijective-mapping.C.

Referenced by main.

template<class T1, class T2>
printer_of_bij_mapping<T1,T2> Printer bijective_mapping< T1, T2 > const &    m [inline]
 

helper function for custom output of a bijective map.

Usage:

 
    bijective_mapping<int,int> bm;
     ...
    cout << Printer(bm) << endl;
    

Definition at line 137 of file bijective-mapping.h.


Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:17 2002 for Sequence by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000