OKlibrary  0.2.1.6
OKlib::Matrices::Is_self_polar< Matrix, PermutationsGenerator > Class Template Reference

Functor-predicate for checking whether a matrix in the uBLAS-sense is self_polar (is isomorphic to a symmetric matrix) More...

#include <Symmetry.hpp>

Inheritance diagram for OKlib::Matrices::Is_self_polar< Matrix, PermutationsGenerator >:
unary_function

List of all members.

Public Member Functions

bool operator() (const Matrix &m) const

Detailed Description

template<class Matrix, class PermutationsGenerator>
class OKlib::Matrices::Is_self_polar< Matrix, PermutationsGenerator >

Functor-predicate for checking whether a matrix in the uBLAS-sense is self_polar (is isomorphic to a symmetric matrix)

Reference implementation, following just the definition.

Todo:

TEST IT.

Write a concept.

Here returning the isomorphism found would be very useful. See discussion above for Is_self_dual.

Having a matrix expression for permuting row and column indices simultaneously would be useful; see the discussion above for Is_self_dual.

Definition at line 167 of file Symmetry.hpp.


Member Function Documentation

template<class Matrix , class PermutationsGenerator >
bool OKlib::Matrices::Is_self_polar< Matrix, PermutationsGenerator >::operator() ( const Matrix &  m) const [inline]

Definition at line 168 of file Symmetry.hpp.

References Latex_Handler::begin(), and end.


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