Function random_scalar
Source pub fn random_scalar(u: &mut Unstructured<'_>, dtype: &DType) -> Result<Scalar>
Expand description
Generates an arbitrary Scalar of the given DType.
ยงErrors
Returns an error if the underlying arbitrary generation fails.