array_object/
adaptor.rs

1/// Pair(re, im) for a single complex.
2pub struct Pair<T>(pub T, pub T);
3/// VecShape(elements in row major order, shape of array) for any type T.
4pub struct VecShape<T>(pub Vec<T>, pub Vec<u64>);
5/// VecVec(re vector, im vector) for complex vector.
6pub struct VecVec<T>(pub Vec<T>, pub Vec<T>);
7/// VecVecShape(real elements in row major order, imaginary elements in row major order, shape of array) for complex array.
8pub struct VecVecShape<T>(pub Vec<T>, pub Vec<T>, pub Vec<u64>);