linbox
1
|
A base class for BlackboxBlockContainer. The primary member function is begin(). More...
#include <blackbox-block-container-base.h>
Inherited by BlackboxBlockContainer< _Field, _Blackbox >, and BlackboxBlockContainerRecord< _Field, _Blackbox >.
Protected Member Functions | |
virtual void | _launch ()=0 |
virtual void | _wait ()=0 |
void | Mul (Block &M1, const Blackbox &M2, const Block &M3) |
Initializers. | |
void | init (const Block &U, const Block &V) |
User Left and Right blocks. | |
Protected Attributes | |
Field | _F |
Members. |
A base class for BlackboxBlockContainer. The primary member function is begin().
It returns an iterator which after i increments (++) dereferences to $U A^i V$, for $U$ and $V$ determined by the init function. It is designed to be used with implementations of Block Berlekamp-Massey such as BlockMasseyDomain.
Subclasses complete the implementation by defining _launch() and _wait().
virtual void _launch | ( | ) | [protected, pure virtual] |
Launches a process to do the computation of the next sequence value: $U A^{i+1} V$. ...or just does it.
virtual void _wait | ( | ) | [protected, pure virtual] |
If a separate process is computing the next value of $U A^{i+1} V$, _wait() blocks until the value is ready.