Opened 8 years ago

Last modified 5 years ago

#4442 assigned Patches

Simple implementation of operator * for matrices with 0 complexity

Reported by: Jesse Perla <jesseperla@…> Owned by: David Bellot
Milestone: To Be Determined Component: uBLAS
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: David Bellot


The following is a simple implementation of operator * for matrix-matrix and matrix-vector which simply forwards to the existing prod() implementation.

Since nested products A * B * C can't work yet, it does a compile time check to make sure this isn't occuring.

See attached patch and test file. Note that this also has patched changes for ticket #4441 built in

Attachments (2)

operator_star_enable_if.patch (5.5 KB) - added by Jesse Perla <jesseperla@…> 8 years ago.
test_boost_ublas_operators.cpp (1.2 KB) - added by Jesse Perla <jesseperla@…> 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Jesse Perla <jesseperla@…>

Changed 8 years ago by Jesse Perla <jesseperla@…>

comment:1 Changed 8 years ago by David Bellot

Cc: David Bellot added
Milestone: Boost 1.44.0To Be Determined
Owner: changed from Gunter to David Bellot
Status: newassigned
Version: Boost 1.44.0Boost Development Trunk

as 1.44 has been closed already, I'm changing the Milestone. Hopefully, we will have a full version for 1.45.

comment:2 Changed 5 years ago by maxim.yegorushkin@…

When is this functionality expected to merged into a boost release please?

Note: See TracTickets for help on using tickets.