#include <blackbox-container-base.h>
Subclasses complete the implementation by defining _launch() and _wait().
Public Types | |
| typedef Field::Element | Element |
Public Methods | |
| BlackboxContainerBase () | |
| BlackboxContainerBase (const Blackbox *BB, const Field &F) | |
| BlackboxContainerBase (const Blackbox *BB, const Field &F, unsigned long size) | |
| virtual | ~BlackboxContainerBase () |
| const_iterator | begin () |
| const_iterator | end () |
| long | size () const |
| const Field & | getField () const |
| Blackbox * | getBB () const |
Protected Methods | |
| virtual void | _launch ()=0 |
| virtual void | _wait ()=0 |
| const Element & | getvalue () |
| template<class Vector1, class Vector2> Element & | init (const Vector1 &uu, const Vector2 &vv) |
| User Left and Right vectors. | |
| template<class RandIter> Element & | init (RandIter &g) |
| Random Left vectors, Zero Right vector. | |
| template<class Vector> Element & | init (const Vector &uu) |
| User Left vectors, Zero Right vector. | |
Protected Attributes | |
| Field | _F |
| Members. | |
| VectorDomain< Field > | _VD |
| const Blackbox * | _BB |
| long | _size |
| long | casenumber |
| std::vector< Element > | u |
| std::vector< Element > | v |
| Element | _value |
Friends | |
| class | const_iterator |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Launches a process to do the computation of the next sequence value: $v^T A^{i+1} u$. ...or just does it. Implemented in BlackboxContainerSymmetric, BlackboxContainer, and DenseContainer. |
|
|
If a separate process is computing the next value of $v^T A^{i+1} u$, _wait() blocks until the value is ready. Implemented in BlackboxContainerSymmetric, BlackboxContainer, and DenseContainer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User Left vectors, Zero Right vector.
|
|
|
Random Left vectors, Zero Right vector.
|
|
||||||||||||
|
User Left and Right vectors.
|
|
|
|
|
|
|
|
|
|
|
|
Members.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18