pub fn array1_to_vec<T>(array: Array1<T>) -> Vec<T>
where
    T: NdFloat,
{
    let mut result: Vec<T> = Vec::new();
    for i in 0..array.len() {
        result.push(array[i]);
    }
    result
}
/// Transforms a ndarray Array1 to a vec
Transforms a ndarray Array1 to a vec
Transforms a ndarray Array1 to a vec
pub fn array1_to_vec<T>(array: Array1<T>) -> Vec<T>
where
    T: NdFloat,
{
    let mut result: Vec<T> = Vec::new();
    for i in 0..array.len() {
        result.push(array[i]);
    }
    result
}
pub fn array1_to_vec < T > ( array : Array1 < T > ) -> Vec < T > where T : NdFloat , { let mut result : Vec < T > = Vec :: new ( ) ; for i in 0 .. array . len ( ) { result . push ( array [ i ] ) ; } result }
Transforms a ndarray Array1 to a vec
Transforms a ndarray Array1 to a vec
array
Array1<T>
array
Array1<T>