Opened 5 years ago

Closed 5 years ago

#7297 closed Patches (fixed)

Make the free functions 'num_columns' and 'num_rows' support the uBLAS traits system and better work with expression types

Reported by: Marco Guazzone <marco.guazzone@…> Owned by: Gunter
Milestone: Boost 1.52.0 Component: uBLAS
Version: Boost 1.52.0 Severity: Optimization
Keywords: Cc:


As already done for the size function (see ticket #4399), I updated the num_columns' and num_rows` functions to let them directly support expression types and to use the uBLAS traits system.

I suggest to apply the attached patch.

Attachments (1)

num_columns_rows.patch (3.2 KB) - added by Marco Guazzone <marco.guazzone@…> 5 years ago.
Patch file file num_columns.hpp and num_rows.hpp

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Marco Guazzone <marco.guazzone@…>

Attachment: num_columns_rows.patch added

Patch file file num_columns.hpp and num_rows.hpp

comment:1 Changed 5 years ago by Gunter

(In [80269]) boost/numeric/ublas/operation: num_rows.hpp, num_columns.hpp - use matrix_traits, see #7297

comment:2 Changed 5 years ago by Gunter

Milestone: To Be DeterminedBoost 1.52.0
Status: newassigned

comment:3 Changed 5 years ago by Gunter

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Gunter.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.