Struct spaces::RegularSpace [] [src]

pub struct RegularSpace<D: Space> { /* fields omitted */ }

N-dimensional homogeneous space.

Methods

impl<D: Space> RegularSpace<D>
[src]

[src]

[src]

[src]

[src]

impl RegularSpace<Continuous>
[src]

[src]

impl RegularSpace<Partitioned>
[src]

[src]

Trait Implementations

impl<D: Clone + Space> Clone for RegularSpace<D>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<D: Debug + Space> Debug for RegularSpace<D>
[src]

[src]

Formats the value using the given formatter. Read more

impl<D: Space> Space for RegularSpace<D>
[src]

The data representation of the space.

[src]

Return the number of dimensions in the space.

[src]

Return the number of linear combinations of values in the space.

[src]

Generate a random sample from the space.

impl<D, X> Surjection<Vec<X>, Vec<D::Value>> for RegularSpace<D> where
    D: Space + Surjection<X, <D as Space>::Value>, 
[src]

[src]

Map value from domain onto codomain.

impl<D: Space> Index<usize> for RegularSpace<D>
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<D: Space> FromIterator<D> for RegularSpace<D>
[src]

[src]

Creates a value from an iterator. Read more

impl<D: Space> IntoIterator for RegularSpace<D>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<D: Space> Add<D> for RegularSpace<D>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<D: Space> Add<RegularSpace<D>> for RegularSpace<D>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

Auto Trait Implementations

impl<D> Send for RegularSpace<D> where
    D: Send

impl<D> Sync for RegularSpace<D> where
    D: Sync