pub struct ContinuousStateSpaceModel { /* private fields */ }Expand description
A struct representing a continuous state-space model.
This model is defined by the following matrices:
mat_a: The state matrix (A), which defines the system dynamics.mat_b: The input matrix (B), which defines how the input affects the state.mat_c: The output matrix (C), which defines how the state is mapped to the output.mat_d: The feedthrough matrix (D), which defines the direct path from input to output.
Implementations§
Source§impl ContinuousStateSpaceModel
Represents a continuous state-space model.
impl ContinuousStateSpaceModel
Represents a continuous state-space model.
Sourcepub fn from_matrices(
mat_a: &DMatrix<f64>,
mat_b: &DMatrix<f64>,
mat_c: &DMatrix<f64>,
mat_d: &DMatrix<f64>,
) -> ContinuousStateSpaceModel
pub fn from_matrices( mat_a: &DMatrix<f64>, mat_b: &DMatrix<f64>, mat_c: &DMatrix<f64>, mat_d: &DMatrix<f64>, ) -> ContinuousStateSpaceModel
Sourcepub fn state_space_size(&self) -> usize
pub fn state_space_size(&self) -> usize
Trait Implementations§
Source§impl Clone for ContinuousStateSpaceModel
impl Clone for ContinuousStateSpaceModel
Source§fn clone(&self) -> ContinuousStateSpaceModel
fn clone(&self) -> ContinuousStateSpaceModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContinuousStateSpaceModel
impl Debug for ContinuousStateSpaceModel
Source§impl Pole for ContinuousStateSpaceModel
impl Pole for ContinuousStateSpaceModel
Auto Trait Implementations§
impl Freeze for ContinuousStateSpaceModel
impl RefUnwindSafe for ContinuousStateSpaceModel
impl Send for ContinuousStateSpaceModel
impl Sync for ContinuousStateSpaceModel
impl Unpin for ContinuousStateSpaceModel
impl UnwindSafe for ContinuousStateSpaceModel
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.