linbox  1
Public Member Functions
Diagonal< _Field, VectorCategories::DenseVectorTag > Class Template Reference

Specialization of Diagonal for application to dense vectors. More...

#include <diagonal.h>

List of all members.

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

Detailed Description

template<class _Field>
class LinBox::Diagonal< _Field, VectorCategories::DenseVectorTag >

Specialization of Diagonal for application to dense vectors.

diagonal.h linbox/blackbox/diagonal.h


Member Function Documentation

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:
xElement in which to store result
iRow index
jColumn index
Returns:
Reference to x

The documentation for this class was generated from the following file: