Closed sloede closed 10 months ago
After giving it some thought, defining addition/subtract of vectors and scalars does not seem to be such a good idea, since it would not match what Julia allows with Array
. Since SecureArithmetic.jl is supposed to be as intuitive as possible, we will forego this option now and only add unary -
(i.e., to negate a secure vector)
Currently, multiplication of
SecureVector
s by a real scalar is already possible. We should also have this for addition and subtraction.Also, we would like to have the ability to negate a
SecureVector
, allowing to write something like-sv1 + 3 * sv2