Boost logo

Boost Users :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-04-24 09:30:17


On Wednesday 23 April 2003 17:48, geert_ceuppens wrote:
> Due to my ignorance, I am obliged to pass the orientation as a
> template parameter to the matrix_traits class. What I would like to
> do is to obtain this information from the matrix class directly. The
> issue is that matrix_type::functor_type does not exist for all
> matrix classes. For example, hermitian, triangular and symmetrix
> matrix use matrix_type::functor2_type to store the orientation of
> the matrix. With a good compiler (i.e. *NOT* VC6), one could
> specialise matrix_traits for these matrix classes (at least that is
> what I think - but this isn't done yet in the ublas_matrix.hpp file
> in the Sandbox), here however I'm stuck.

Joerg,
Indeed, is'nt there some better nested type to indicate if storage
is row_major or column_major ? What about using major_type
everywhere ?

toon


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net