Opened 10 years ago
Last modified 9 years ago
#8484 new Patches
[ublas] allow user-defined oeprator/ for matrices
Reported by: | mariomulansky | Owned by: | David Bellot |
---|---|---|---|
Milestone: | To Be Determined | Component: | uBLAS |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | matrix division operator | Cc: |
Description
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
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | ublas_matrix_expression.patch added |
---|
comment:1 by , 9 years ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
patch for matrix_expression.hpp