Specialization of Diagonal for application to dense vectors.
More...
#include <diagonal.h>
|
|
| Diagonal (const Field F, const std::vector< typename Field::Element > &v) |
| | cstor from vector of elements.
|
| |
| | Diagonal (const Field F, const size_t n, bool nonsing=true) |
| | random Diagonal matrix. More...
|
| |
|
void | random () |
| | creates a random Diagonal matrix
|
| |
|
void | randomNonsingular () |
| | creates a random non singular Diagonal matrix
|
| |
|
const Field & | field () const |
| | the field of the entries
|
| |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
| | Get an entry and store it in the given value. More...
|
| |
template<class _Field>
class LinBox::Diagonal< _Field, VectorCategories::DenseVectorTag >
Specialization of Diagonal for application to dense vectors.
| Diagonal |
( |
const Field |
F, |
|
|
const size_t |
n, |
|
|
bool |
nonsing = true |
|
) |
| |
|
inline |
random Diagonal matrix.
- Parameters
-
| F | the field |
| n | size |
| nonsing | non-singular matrix ? (no zero on diagonal ?) |
| 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
- Parameters
-
| x | Element in which to store result |
| i | Row index |
| j | Column index |
- Returns
- Reference to x
The documentation for this class was generated from the following file: