mpyc.numpy | index github.com/lschoe/mpyc/blob/v0.10/mpyc/numpy.py |
This module acts as a stub to avoid a (hard) dependency for the numpy package.
If the numpy package is not available, MPyC still runs but with less functionality.
Use of NumPy can be disabled to avoid loading the numpy package.
If NumPy is enabled (available and not disabled), the MPyC runtime supports array
types---along with vectorized implementations---for secure numbers and the underlying
finite field types. The array types are accessible through the 'array' attribute,
e.g., for secint48=mpc.SecInt(48), the array type is secint48.array and the array type
for the underlying prime field is secint48.field.array.
Modules | ||||||
|