17 Base(d.rows(), d.columns())
19 unsigned m = d.
rows();
22 for (
unsigned i = 0; i <
m; ++i)
23 for (
unsigned j = 0; j < n; ++j)
24 (*
this)(i,j) = (
int)d(i,j);
30 std::ifstream s(filename);
Specializes vnl_matrix for integers.
unsigned int rows() const
Return the number of rows.
bool read_ascii(std::istream &s)
Read a vnl_matrix from an ascii std::istream.
unsigned int columns() const
Return the number of columns.