Skip to main content

r/interpreter/value/
complex.rs

1use derive_more::{Deref, DerefMut, From, Into};
2use num_complex::Complex64;
3
4/// Newtype for R complex vectors: `Vec<Option<Complex64>>` where `None` = NA.
5#[derive(Debug, Clone, PartialEq, Deref, DerefMut, From, Into)]
6pub struct ComplexVec(pub Vec<Option<Complex64>>);