Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-12-25 13:18:03

Support Requests item #1091151, was opened at 2004-12-25 10:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ublas extendability1

Initial Comment:
 I am using ublas with types other then built in scalars
(like "double" or "int").
Typical jobs:
 prod(matrix<double>,vector<v3d<double> >) or
 triangular_solve(matrix<double>,vector<v3d<double> >).

In order to be able to do it, I have made partial
specialization of "promote_traits" template in namespace
"boost::numeric::ublas" for my classes.
 This works.
 Is this technique good ? Or uBLAS intended only for built
in types ?

 See attached files. Is it good to intervene to ublas
namespace, like done in file "vnd.h" at the end.


You can respond by visiting:

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at