Function opendp::transformations::make_is_null
source · pub fn make_is_null<M, DIA>(
input_domain: VectorDomain<DIA>,
input_metric: M
) -> Fallible<Transformation<VectorDomain<DIA>, VectorDomain<AtomDomain<bool>>, M, M>>where
DIA: Domain + Default,
DIA::Carrier: 'static + CheckNull,
M: DatasetMetric,
(VectorDomain<DIA>, M): MetricSpace,
(VectorDomain<AtomDomain<bool>>, M): MetricSpace,
Expand description
Make a Transformation that checks if each element in a vector is null.
Generics
DIA
- Atomic Input Domain. Can be any domain for which the carrier type has a notion of nullity.