Boost logo

Ublas :

Subject: [ublas] How to understand the meanings of the member function index1() and index2() in the iterator of compressed_matrix
From: 魏华祎 (huayiwei1984_at_[hidden])
Date: 2010-11-12 08:56:40


Hi, everyone,

   Please tell me how to understand the meaning of the return value
of the following function members in iterators class of
compressed_matrix class:

    ublas::compressed_matrix<double, ublas::row_major> ::iterator1.index1();
    ublas::compressed_matrix<double, ublas::row_major> ::iterator1.index2();

    ublas::compressed_matrix<double, ublas::row_major> ::iterator2.index1();
    ublas::compressed_matrix<double, ublas::row_major> ::iterator2.index2();

I can't make sure about it. Then if replace the ublas::row_major by
ublas::column_major?

Thanks!

Huayi