encodeVecDouble method
Encodes a list of doubles into a Plaintext.
Implementation
Plaintext encodeVecDouble(List<double> vec) {
Pointer ptr =
_c_encode_vector_double(library, doubleListToArray(vec), vec.length);
raiseForStatus();
// String cannot be extracted from C object for CKKS
return Plaintext.fromPointer(backend, ptr, extractStr: false);
}