|
Ublas : |
Subject: [ublas] Adding new class using template expression
From: kayhman (kayhman_at_[hidden])
Date: 2009-06-08 05:25:23
Hello !
I'd like to add some new classes (that do not inherit from matrix and vector
- in fact this will be elements of some lie groups algebras), and I want to
use the template expression pattern.
Is it possible to do that easily ? Can I reuse a part of
expression_type.cpp, i.e. ublas_expression ? Can you provide a simple
example ?
thanks,
kayhman