Nothing
## OPENFHE PYTHON SOURCE: src/lib/bindings.cpp (ElementParams wrapper)
#' Element Parameters (opaque)
#'
#' Wraps `std::shared_ptr<typename DCRTPoly::Params>` on the C++ side.
#' Used by the `params` argument of CKKS plaintext factories and
#' returned by `get_element_params()`. This class ships as
#' scaffolding only: no constructor surface other than
#' wrapping an existing external pointer.
#'
#' @param ptr External pointer (internal use)
#' @return An S7 object of class `ElementParams`, inheriting from
#' [OpenFHEObject], whose `ptr` property holds an external pointer to
#' the C++ `DCRTPoly::Params`. It is an opaque token describing the
#' ring the polynomials live in, obtained from `get_element_params()`
#' and passed on to the CKKS plaintext factories.
#' @export
ElementParams <- new_class("ElementParams",
parent = OpenFHEObject,
package = "openfhe.R"
)
method(print, ElementParams) <- function(x, ...) {
cli::cli_text("{.cls ElementParams} [{if (ptr_is_valid(x)) 'active' else 'null'}]")
invisible(x)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.