Enum cagra::operators::Value
[−]
[src]
pub enum Value<A: Scalar> { Scalar(A), Vector(Array1<A>), Matrix(Array2<A>), }
Value in graph
Each node has a value in the following types:
- Scalar
- Vector (represented by
Array1<A>
) - Matrix (represented by
Array2<A>
)
These types are selected dynamically, and operators returns Err
if it does not support the received value.
Variants
Scalar(A)
Vector(Array1<A>)
Matrix(Array2<A>)
Methods
impl<A: Scalar> Value<A>
[src]
Trait Implementations
impl<A: Debug + Scalar> Debug for Value<A>
[src]
impl<A: Clone + Scalar> Clone for Value<A>
[src]
fn clone(&self) -> Value<A>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more