Created
June 30, 2021 14:54
-
-
Save Steboss89/95acc11c2e2d427b32e841a8c82f27b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let target_array = target.unwrap().to_ndarray::<Float64Type>().unwrap(); | |
// create a vec type and populate with y values | |
let mut y: Vec<f64> = Vec::new(); | |
for val in target_array.iter(){ | |
y.push(*val); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment