|
| | RNS (size_t l, size_t ps=21) |
| | Create a RNS able to recover any integer of at most l bits.
|
| |
| void | initCRA () |
| | Inits cra.
|
| |
| void | cra (integer &result, const std::vector< double > &residues) |
| | Computes result corresponding to the residues.
|
| |
| void | cra (std::vector< integer > &result, const std::vector< std::vector< double > > &residues) |
| | Computes result corresponding to the residues.
|
| |
| template<typename Iteration> |
| void | cra (Ivect &result, Iteration &iter) |
| | Computes result corresponding to the iteration.
|
| |
| template<class Tinteger, class Tresidue> |
| void | cra (Tinteger &result, Tresidue &residues) |
| |
| template<class Tinteger, class Tresidue> |
| void | convert (Tinteger &result, Tresidue &residues) |
| |
| template<typename Function> |
| void | cra (Ivect &result, Function &unitCRA) |
| |
template<bool Unsigned>
class LinBox::RNS< Unsigned >
RNS.
Creates a RNS than can recover any number between 0 and q-1 if Unsigned=true or -q+1 and q-1 otherwise (where q=2 <up>bits </up>).
- Todo
- template by field and ring