|
linbox 1
|
Specialization of Diagonal for application to dense vectors. More...
#include <diagonal.h>
Public Member Functions | |
| Diagonal (const Field F, const std::vector< typename Field::Element > &v) | |
| cstor from vector of elements | |
| const Field & | field () const |
| the field of the entries | |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
Specialization of Diagonal for application to dense vectors.
diagonal.h linbox/blackbox/diagonal.h
| Element& getEntry | ( | Element & | x, |
| size_t | i, | ||
| size_t | j | ||
| ) | const [inline] |
Get an entry and store it in the given value This form is more in the Linbox style and is provided for interface compatibility with other parts of the library
| x | Element in which to store result |
| i | Row index |
| j | Column index |
1.7.4