Opened 10 years ago

Closed 10 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:

Description

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@…> 10 years ago.
Patch file file num_columns.hpp and num_rows.hpp

Download all attachments as: .zip

Change History (4)

by Marco Guazzone <marco.guazzone@…>, 10 years ago

Attachment: num_columns_rows.patch added

Patch file file num_columns.hpp and num_rows.hpp

comment:1 by Gunter, 10 years ago

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

comment:2 by Gunter, 10 years ago

Milestone: To Be DeterminedBoost 1.52.0
Status: newassigned

comment:3 by Gunter, 10 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.