#include <blas-subvector.h>
|
| | BlasSubvector () |
| |
| | BlasSubvector (vectorType &V, size_t beg, size_t inc, size_t dim) |
| | Constructor from an existing BlasVector and dimensions.
|
| |
| | BlasSubvector (Self_t &V, size_t beg, size_t inc, size_t dim) |
| | Constructor from an existing BlasSubvector and dimensions.
|
| |
| | BlasSubvector (vectorType &V) |
| | Constructor from an existing BlasVector.
|
| |
| | BlasSubvector (const Field &F, pointer ptr, size_t inc, size_t dim) |
| | Constructor from a raw pointer.
|
| |
| | BlasSubvector (const Field &F, std::vector< Element > &v) |
| |
| BlasSubvector & | operator= (const BlasSubvector &V) |
| | Copy operator.
|
| |
| template<class Vect> |
| Self_t & | copy (const Vect &A) |
| |
| const Field & | field () const |
| |
| size_t | size () const |
| |
| size_t | max_size () const |
| |
| const_pointer | getPointer () const |
| | Get access to the vector data.
|
| |
| pointer | getPointer () |
| |
| const_pointer | getConstPointer () const |
| |
| size_t | getInc () const |
| | Get the increment in the vector.
|
| |
| void | setEntry (size_t i, const Element &a_i) |
| |
| reference | refEntry (size_t i) |
| |
| const_reference | getEntry (size_t i) const |
| |
| Element & | getEntry (Element &x, size_t i) const |
| |
| std::ostream & | write (std::ostream &os, Tag::FileFormat fmt=Tag::FileFormat::Pretty) const |
| |
| std::istream & | read (std::istream &is, Tag::FileFormat fmt=Tag::FileFormat::Pretty) |
| |
| iterator | begin (void) |
| |
| const_iterator | begin (void) const |
| |
| iterator | end (void) |
| |
| const_iterator | end (void) const |
| |
| reverse_iterator | rbegin (void) |
| |
| const_reverse_iterator | rbegin (void) const |
| |
| reverse_iterator | rend (void) |
| |
| const_reverse_iterator | rend (void) const |
| |
| reference | operator[] (size_t n) |
| |
| const_reference | operator[] (size_t n) const |
| |
| reference | at (size_t n) |
| |
| const_reference | at (size_t n) const |
| |
| reference | front (void) |
| |
| const_reference | front (void) const |
| |
| reference | back (void) |
| |
| const_reference | back (void) const |
| |
| bool | empty () const |
| |
◆ Field
template<class _Vector>
| typedef _Vector::Field Field |
◆ Element
◆ value_type
◆ Storage
◆ Self_t
◆ pointer
◆ const_pointer
const pointer type to elements
◆ reference
◆ const_reference
◆ vectorType
◆ subVectorType
◆ constSubVectorType
◆ iterator
◆ const_iterator
◆ reverse_iterator
◆ const_reverse_iterator
◆ BlasSubvector() [1/6]
◆ BlasSubvector() [2/6]
Constructor from an existing BlasVector and dimensions.
- Parameters
-
| V | Pointer to BlasVector of which to construct subvector |
| beg | Starting idx |
| dim | dimension |
| inc | distance between two element |
◆ BlasSubvector() [3/6]
Constructor from an existing BlasSubvector and dimensions.
- Parameters
-
| V | Pointer to DenseSubector of which to construct subvector |
| beg | Starting idx |
| dim | dimension |
| inc | distance between two element |
◆ BlasSubvector() [4/6]
Constructor from an existing BlasVector.
- Parameters
-
| V | Pointer to BlasVector of which to construct submatrix |
◆ BlasSubvector() [5/6]
Constructor from a raw pointer.
- Parameters
-
| ptr | Pointer to first element of the vector of which to construct submatrix |
◆ BlasSubvector() [6/6]
◆ operator=()
◆ copy()
template<class _Vector>
template<class Vect>
| Self_t & copy |
( |
const Vect & | A | ) |
|
|
inline |
◆ field()
template<class _Vector>
| const Field & field |
( |
| ) |
const |
|
inline |
◆ size()
◆ max_size()
template<class _Vector>
| size_t max_size |
( |
| ) |
const |
|
inline |
◆ getPointer() [1/2]
Get access to the vector data.
- Returns
- a pointer to the first element of the vector : constness is according to _Vector constness
◆ getPointer() [2/2]
◆ getConstPointer()
◆ getInc()
Get the increment in the vector.
- Returns
- the inc value of the subvector
◆ setEntry()
template<class _Vector>
| void setEntry |
( |
size_t | i, |
|
|
const Element & | a_i ) |
|
inline |
◆ refEntry()
◆ getEntry() [1/2]
◆ getEntry() [2/2]
◆ write()
◆ read()
◆ begin() [1/2]
◆ begin() [2/2]
◆ end() [1/2]
◆ end() [2/2]
◆ rbegin() [1/2]
◆ rbegin() [2/2]
◆ rend() [1/2]
◆ rend() [2/2]
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ at() [1/2]
◆ at() [2/2]
◆ front() [1/2]
◆ front() [2/2]
◆ back() [1/2]
◆ back() [2/2]
◆ empty()
◆ _ptr
◆ _size
◆ _inc
◆ _field
The documentation for this class was generated from the following file: