Subject: [Boost-bugs] [Boost C++ Libraries] #8484: [ublas] allow user-defined oeprator/ for matrices
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-22 15:00:23
#8484: [ublas] allow user-defined oeprator/ for matrices
--------------------------------------+-------------------------------------
Reporter: mariomulansky | Owner: guwi17
Type: Patches | Status: new
Milestone: To Be Determined | Component: uBLAS
Version: Boost 1.54.0 | Severity: Problem
Keywords: matrix division operator |
--------------------------------------+-------------------------------------
I would like to define the division operator for two matrices, but that is
impossible right now as the matrix-skalar operator/ from ublas hides any
other operator/ definition. This can be fixed very easily by adding an
enable_if (see attached patch). Such enable_if are already used for other
operators in ublas (e.g. multiplication) and the patch would hence be
consistent with the rest of the code.
Thanks
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8484> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC