From de571765f161a49129fd9e34150f6a892f388bdc Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Fri, 13 Dec 2019 04:00:31 +0100 Subject: Add fibartion matrices --- src/simulation/time_evolution.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/simulation/time_evolution.rs') diff --git a/src/simulation/time_evolution.rs b/src/simulation/time_evolution.rs index 61c609e..31ea4b1 100644 --- a/src/simulation/time_evolution.rs +++ b/src/simulation/time_evolution.rs @@ -1,11 +1,11 @@ use super::c64; -use ndarray::{Array1, Array2}; +use ndarray::Array2; pub trait MatrixGen { fn gen(t: f64) -> Array2; } pub trait State { - fn fibrate(&self) -> Array1; + fn fibrate(&self) -> Vec; fn evolve(self, t: f64) -> Self; } -- cgit v1.2.3-54-g00ecf