pub enum RunOutput {
Show 17 variants
Scalar(f64),
Vector(Vec<f64>),
Pair(f64, f64),
Triple(f64, f64, f64),
Matrix(Vec<Vec<f64>>),
Boolean(bool),
Text(String),
Complex(f64, f64),
ComplexVector(Vec<(f64, f64)>),
ComplexMatrix(Vec<Vec<(f64, f64)>>),
PolynomialOut(Vec<f64>),
TensorOut {
data: Vec<f64>,
shape: Vec<usize>,
},
SparseOut {
rows: usize,
cols: usize,
row_ptr: Vec<usize>,
col_idx: Vec<usize>,
values: Vec<f64>,
},
Integer(i64),
IntVector(Vec<i64>),
PairVec(Vec<(f64, f64)>),
TimeSeries {
times: Vec<f64>,
values: Vec<f64>,
},
}Expand description
Typed output of an experiment execution.
Variants§
Scalar(f64)
Vector(Vec<f64>)
Pair(f64, f64)
Triple(f64, f64, f64)
Matrix(Vec<Vec<f64>>)
Boolean(bool)
Text(String)
Complex(f64, f64)
ComplexVector(Vec<(f64, f64)>)
ComplexMatrix(Vec<Vec<(f64, f64)>>)
PolynomialOut(Vec<f64>)
TensorOut
SparseOut
Integer(i64)
IntVector(Vec<i64>)
PairVec(Vec<(f64, f64)>)
TimeSeries
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunOutput
impl RefUnwindSafe for RunOutput
impl Send for RunOutput
impl Sync for RunOutput
impl Unpin for RunOutput
impl UnsafeUnpin for RunOutput
impl UnwindSafe for RunOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more