Struct gmt_dos_clients_m2_ctrl::Preprocessor
source · pub struct Preprocessor { /* private fields */ }
Expand description
ASM voicecoil position pre-processor
Implementations§
source§impl Preprocessor
impl Preprocessor
sourcepub fn new<'a>(
nodes: Vec<f64>,
stiffness: DMatrixView<'a, f64>,
positions2modes: Option<DMatrix<f64>>
) -> Self
pub fn new<'a>( nodes: Vec<f64>, stiffness: DMatrixView<'a, f64>, positions2modes: Option<DMatrix<f64>> ) -> Self
Creates a new pre-processor for an ASM voicecoils position command vector
sourcepub fn nodes_by<F>(nodes: &[f64], pred: F) -> Vec<bool>
pub fn nodes_by<F>(nodes: &[f64], pred: F) -> Vec<bool>
Returns a mask on the nodes
The mask is true for the nodes which radius match the predicate
Trait Implementations§
source§impl Debug for Preprocessor
impl Debug for Preprocessor
source§impl Default for Preprocessor
impl Default for Preprocessor
source§fn default() -> Preprocessor
fn default() -> Preprocessor
Returns the “default value” for a type. Read more
source§impl Mul<&[f64]> for &Preprocessor
impl Mul<&[f64]> for &Preprocessor
source§impl Read<AsmCommand<7>> for Preprocessor
impl Read<AsmCommand<7>> for Preprocessor
source§fn read(&mut self, data: Data<AsmCommand<7>>)
fn read(&mut self, data: Data<AsmCommand<7>>)
Read data from an input
source§impl Write<AsmCommand<7>> for Preprocessor
impl Write<AsmCommand<7>> for Preprocessor
source§impl Write<FaceSheetFigure<7>> for Preprocessor
impl Write<FaceSheetFigure<7>> for Preprocessor
Auto Trait Implementations§
impl Freeze for Preprocessor
impl RefUnwindSafe for Preprocessor
impl Send for Preprocessor
impl Sync for Preprocessor
impl Unpin for Preprocessor
impl UnwindSafe for Preprocessor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.