OKlibrary  0.2.1.6
OKlib::Matrices::Is_equal< Matrix > Class Template Reference

Functor-predicate for checking whether two matrices in the uBLAS-sense are equal. More...

#include <Symmetry.hpp>

Inheritance diagram for OKlib::Matrices::Is_equal< Matrix >:
binary_function

List of all members.

Public Member Functions

bool operator() (const Matrix &lhs, const Matrix &rhs) const

Detailed Description

template<class Matrix>
class OKlib::Matrices::Is_equal< Matrix >

Functor-predicate for checking whether two matrices in the uBLAS-sense are equal.

Todo:

TEST IT.

Write a concept.

Enquiry to the boost mailing list, why the matrix concept has no == and =!. (Emphasising that a generic library should exploit its generality, while apparently uBLAS has only numerical computations in mind, ignoring the use of matrices in combinatorics (where the entries are (potentially big) integers, and algebra (where for example matrices over finite fields are considered). It seems that there is no easy way for the user to extend the library so that == and != are available.

Definition at line 44 of file Symmetry.hpp.


Member Function Documentation

template<class Matrix >
bool OKlib::Matrices::Is_equal< Matrix >::operator() ( const Matrix &  lhs,
const Matrix &  rhs 
) const [inline]

Definition at line 45 of file Symmetry.hpp.


The documentation for this class was generated from the following file: