encodeDouble method
Encodes a double into a Plaintext.
Implementation
Plaintext encodeDouble(double value) {
Pointer ptr = _c_encode_double(library, value);
raiseForStatus();
// String cannot be extracted from C object for CKKS
return Plaintext.fromPointer(backend, ptr, extractStr: false);
}