Struct concrete_core::math::random::UniformTernary [−][src]
pub struct UniformTernary;
Expand description
A distribution type representing uniform sampling for ternary type.
Trait Implementations
fn generate_tensor(
generator: &mut RandomGenerator,
distribution: D,
size: usize
) -> Tensor<Vec<Self>>
fn fill_tensor<Tens>(
generator: &mut RandomGenerator,
distribution: D,
tensor: &mut Tens
) where
Tens: AsMutTensor<Element = Self>,
fn generate_tensor(
generator: &mut RandomGenerator,
distribution: D,
size: usize
) -> Tensor<Vec<Self>>
fn fill_tensor<Tens>(
generator: &mut RandomGenerator,
distribution: D,
tensor: &mut Tens
) where
Tens: AsMutTensor<Element = Self>,
fn generate_tensor(
generator: &mut RandomGenerator,
distribution: D,
size: usize
) -> Tensor<Vec<Self>>
fn fill_tensor<Tens>(
generator: &mut RandomGenerator,
distribution: D,
tensor: &mut Tens
) where
Tens: AsMutTensor<Element = Self>,
fn generate_tensor(
generator: &mut RandomGenerator,
distribution: D,
size: usize
) -> Tensor<Vec<Self>>
fn fill_tensor<Tens>(
generator: &mut RandomGenerator,
distribution: D,
tensor: &mut Tens
) where
Tens: AsMutTensor<Element = Self>,
Auto Trait Implementations
impl RefUnwindSafe for UniformTernary
impl Send for UniformTernary
impl Sync for UniformTernary
impl Unpin for UniformTernary
impl UnwindSafe for UniformTernary
Blanket Implementations
Mutably borrows from an owned value. Read more