Struct spaces::product::LinearSpace
source · pub struct LinearSpace<D: Space> { /* private fields */ }
Expand description
N-dimensional homogeneous space.
Implementations§
source§impl<D: Space> LinearSpace<D>
impl<D: Space> LinearSpace<D>
source§impl LinearSpace<Interval>
impl LinearSpace<Interval>
pub fn partitioned(self, density: usize) -> LinearSpace<Partition>
Trait Implementations§
source§impl<D: Space> Add<D> for LinearSpace<D>
impl<D: Space> Add<D> for LinearSpace<D>
source§impl<D: Space> Add<LinearSpace<D>> for LinearSpace<D>
impl<D: Space> Add<LinearSpace<D>> for LinearSpace<D>
§type Output = LinearSpace<D>
type Output = LinearSpace<D>
The resulting type after applying the
+
operator.source§impl<D: Clone + Space> Clone for LinearSpace<D>
impl<D: Clone + Space> Clone for LinearSpace<D>
source§fn clone(&self) -> LinearSpace<D>
fn clone(&self) -> LinearSpace<D>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de, D: Space> Deserialize<'de> for LinearSpace<D>where
D: Deserialize<'de>,
impl<'de, D: Space> Deserialize<'de> for LinearSpace<D>where
D: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<D: Space> FromIterator<D> for LinearSpace<D>
impl<D: Space> FromIterator<D> for LinearSpace<D>
source§fn from_iter<I: IntoIterator<Item = D>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = D>>(iter: I) -> Self
Creates a value from an iterator. Read more