123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- #ifndef PLAINTEXT_DOCSTRINGS_H
- #define PLAINTEXT_DOCSTRINGS_H
- const char* ptx_GetScalingFactor_docs = R"doc(
- Get the scaling factor of the plaintext for CKKS-based plaintexts.
- :return: The scaling factor of the plaintext.
- :rtype: float
- )doc";
- const char* ptx_SetScalingFactor_docs = R"pbdoc(
- Set the scaling factor of the plaintext for CKKS-based plaintexts.
- :param sf: The scaling factor to set.
- :type sf: float
- )pbdoc";
- const char* ptx_GetLength_docs = R"pbdoc(
- Get method to return the length of the plaintext.
- :return: The length of the plaintext in terms of the number of bits.
- :rtype: int
- )pbdoc";
- const char* ptx_GetSchemeID_docs = R"pbdoc(
- Get the encryption technique of the plaintext for BFV-based plaintexts.
- :return: The scheme ID of the plaintext.
- :rtype: SCHEME
- )pbdoc";
- const char* ptx_SetLength_docs = R"pbdoc(
- Resize the plaintext; only works for plaintexts that support a resizable vector (coefpacked).
-
- :param newSize: The new size of the plaintext.
- :type newSize: int
- )pbdoc";
- const char* ptx_IsEncoded_docs = R"pbdoc(
- Check if the plaintext is encoded.
- :return: True if the plaintext is encoded, False otherwise.
- :rtype: bool
- )pbdoc";
- const char* ptx_GetLogPrecision_docs = R"pbdoc(
- Get the log of the plaintext precision.
- :return: The log of the plaintext precision.
- :rtype: float
- )pbdoc";
- const char* ptx_Encode_docs = R"pbdoc(
- Encode the plaintext into a polynomial.
- )pbdoc";
- const char* ptx_Decode_docs = R"pbdoc(
- Decode the polynomial into a plaintext.
- )pbdoc";
- const char* ptx_GetCKKSPackedValue_docs = R"pbdoc(
- Get the packed value of the plaintext for CKKS-based plaintexts.
- :return: The packed value of the plaintext.
- :rtype: List[complex]
- )pbdoc";
- #endif
|