Class matrix_view_transpose (o2scl)¶
-
template<class mat_t>
class matrix_view_transpose¶ Construct a view of the transpose of a matrix.
Note that this class stores a reference to the original matrix specified by the user. If this class is used after that reference becomes invalid then the results will be unpredictable.
Note
This class is experimental.
Public Functions
-
inline double &operator()(size_t i, size_t j)¶
Return a reference to the ith column of the selected row.
-
inline const double &operator()(size_t i, size_t j) const¶
Return a const reference to the ith column of the selected row.
-
inline size_t size1() const¶
Return the number of rows.
-
inline size_t size2() const¶
Return the number of columns.
-
inline double &operator()(size_t i, size_t j)¶