subtract method
Subtracts two Ciphertexts.
Results in a new Ciphertext with the value of a
minus the value of b
.
Implementation
Ciphertext subtract(Ciphertext a, Ciphertext b) {
Pointer ptr = _c_subtract(library, a.obj, b.obj);
raiseForStatus();
return Ciphertext.fromPointer(backend, ptr);
}