randomMatrices.h
bool get(RX &out, long i, long j, UNUSED long k) const override
Definition: randomMatrices.h:60
RandomMultiBlockMatrix(const EncryptedArray &_ea, long _dim)
Definition: randomMatrices.h:200
const EncryptedArray & getEA() const override
Definition: randomMatrices.h:242
virtual ~RandomMultiMatrix()
Definition: randomMatrices.h:87
Definition: randomMatrices.h:251
bool multipleTransforms() const override
Definition: randomMatrices.h:182
Definition: randomMatrices.h:25
RandomFullBlockMatrix(const EncryptedArray &_ea)
Definition: randomMatrices.h:296
bool get(mat_R &out, long i, long j) const override
Definition: randomMatrices.h:316
bool get(RX &out, long i, long j, long k) const override
Definition: randomMatrices.h:116
void restoreContext() const
Restores the NTL context for p^r.
Definition: PAlgebra.h:854
A simple wrapper for a smart pointer to an EncryptedArrayBase. This is the interface that higher-leve...
Definition: EncryptedArray.h:1233
const EncryptedArray & getEA() const override
Definition: randomMatrices.h:56
RandomMultiMatrix(const EncryptedArray &_ea, long _dim)
Definition: randomMatrices.h:88
bool multipleTransforms() const override
Definition: randomMatrices.h:244
void assertInRange(const T &elem, const T &min, const T &max, const std::string &message, bool right_inclusive=false)
Definition: assertions.h:183
Definition: randomMatrices.h:191
bool get(RX &out, long i, long j) const override
Definition: randomMatrices.h:273
const EncryptedArray & getEA() const override
Definition: randomMatrices.h:180
const EncryptedArray & getEA() const override
Definition: randomMatrices.h:283
MatMul1D * buildRandomMultiMatrix(const EncryptedArray &ea, long dim)
Definition: randomMatrices.cpp:36
long sizeOfDimension(long i) const
Definition: EncryptedArray.h:1359
Definition: matmul.h:60
const Context & getContext() const
Definition: EncryptedArray.h:1301
const EncryptedArray & getEA() const override
Definition: randomMatrices.h:326
BlockMatMul1D * buildRandomMultiBlockMatrix(const EncryptedArray &ea, long dim)
Definition: randomMatrices.cpp:68
const PAlgebraMod & getAlMod() const
Definition: EncryptedArray.h:1302
bool multipleTransforms() const override
Definition: randomMatrices.h:57
void random(const EncryptedArray &ea, PlaintextArray &pa)
Definition: EncryptedArray.cpp:875
Definition: randomMatrices.h:137
RandomMatrix(const EncryptedArray &_ea, long _dim)
Definition: randomMatrices.h:36
Definition: apiAttributes.h:21
BlockMatMulFull * buildRandomFullBlockMatrix(const EncryptedArray &ea)
Definition: randomMatrices.cpp:96
Definition: matmul.h:34
Definition: randomMatrices.h:77
Definition: matmul.h:102
MatMulFull * buildRandomFullMatrix(const EncryptedArray &ea)
Definition: randomMatrices.cpp:82
BlockMatMul1D * buildRandomBlockMatrix(const EncryptedArray &ea, long dim)
Definition: randomMatrices.cpp:52
RandomFullMatrix(const EncryptedArray &_ea)
Definition: randomMatrices.h:257
bool multipleTransforms() const override
Definition: randomMatrices.h:113
bool get(mat_R &out, long i, long j, UNUSED long k) const override
Definition: randomMatrices.h:169
bool get(mat_R &out, long i, long j, long k) const override
Definition: randomMatrices.h:228
Definition: randomMatrices.h:290
Definition: matmul.h:165
RandomBlockMatrix(const EncryptedArray &_ea, long _dim)
Definition: randomMatrices.h:146
const EncryptedArray & getEA() const override
Definition: randomMatrices.h:112
MatMul1D * buildRandomMatrix(const EncryptedArray &ea, long dim)
Definition: randomMatrices.cpp:22