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

Hom Class Template Reference

#include <hom.h>

List of all members.

template<class Source, class Target>
class LinBox::Hom< Source, Target >


Public Types

typedef Source::Element SrcElt
typedef Target::Element Elt

Public Methods

 Hom (const Source &S, const Target &T)
Eltimage (Elt &t, const SrcElt &s)
SrcEltpreimage (SrcElt &s, const Elt &t)
const Source & source ()
const Target & target ()

Member Typedef Documentation

typedef Target::Element Elt
 

typedef Source::Element SrcElt
 


Constructor & Destructor Documentation

Hom const Source &    S,
const Target &    T
[inline]
 

Construct a homomorphism from a specific source ring S and target field T with Hom(S, T). The default behaviour is error. Specializations define all actual homomorphisms.


Member Function Documentation

Elt& image Elt   t,
const SrcElt   s
[inline]
 

image(t, s) implements the homomorphism, assigning the t the value of the image of s under the mapping.

The default behaviour is a no-op.

SrcElt& preimage SrcElt   s,
const Elt   t
[inline]
 

If possible, preimage(s,t) assigns a value to s such that the image of s is t. Otherwise behaviour is unspecified. An error may be thrown, a conventional value may be set, or an arb value set.

The default behaviour is a no-op.

const Source& source   [inline]
 

const Target& target   [inline]
 


Generated on Mon Jun 20 09:16:54 2005 for linbox by doxygen1.2.18