Opened 13 years ago

Last modified 11 years ago

#202 new enhancement

utility::matrix has internal support for const matrix views but there is no interface to create a const matrix view

Reported by: Jari Häkkinen Owned by: Jari Häkkinen
Priority: major Milestone: yat 0.x+
Component: utility Version: trunk
Keywords: Cc:

Description


Change History (4)

comment:1 Changed 13 years ago by Jari Häkkinen

Summary: utility::matrix has internal support for matrix views but there is no interface to create a matrix viewutility::matrix has internal support for const matrix views but there is no interface to create a const matrix view

comment:2 Changed 13 years ago by Jari Häkkinen

There is a test in matrix_test.cc that must be fixed when resolving this ticket. Look for a comment with ticket:202 in the code, this will point you to the code that needs to be changed.

comment:3 Changed 12 years ago by Peter

Related to this is that the following constructor should be removed from interface. It is a flaw to allow thos constructor because it creates a huge hole against const correctness.

vector(const vector& v, size_t offset, size_t n, size_t stride=1);

comment:4 Changed 11 years ago by Jari Häkkinen

Type: defectenhancement
Note: See TracTickets for help on using tickets.