level

PlainMatrix.level
Shows the maximum possible number of multiplications for a plain matrix.
  • Output
    • level, int
import numpy as np

from desilofhe import Engine

engine = Engine(slot_count=64)

message = np.arange(64 * 64).reshape(64, 64)
plain_matrix = engine.encode_to_plain_matrix(message)
level = plain_matrix.level