mod amp;
mod combinatorial;
mod constraint;
mod linear_synthesis;
mod nls;
#[macro_export]
macro_rules! to_holo {
($self:expr) => {
$self
.foci
.iter()
.map(|(p, a)| {
Ok(Holo {
pos: Some(p.to_msg(None)?),
amp: Some(a.to_msg(None)?),
})
})
.collect::<Result<Vec<_>, AUTDProtoBufError>>()?
};
}