Struct au::transfer_function::discretization::TfDiscretization [−][src]
Discretization of a transfer function
Implementations
impl<T: Float> TfDiscretization<T>
[src]
Implementation of TfDiscretization
struct.
pub fn discretize(tf: Tf<T>, ts: Seconds<T>, method: Discretization) -> Self
[src]
Discretize a transfer function.
Arguments
tf
- Continuous transfer functionts
- Sampling periodmethod
- Discretization method
Example
use au::{ polynomial::Poly, transfer_function::discretization::TfDiscretization, Discretization, Seconds, Tf }; use au::num_complex::Complex64; let tf = Tf::new( Poly::new_from_coeffs(&[2., 20.]), Poly::new_from_coeffs(&[1., 0.1]), ); let tfz = TfDiscretization::discretize(tf, Seconds(1.), Discretization::BackwardEuler); let gz = tfz.eval(Complex64::i());
impl<T: Float> TfDiscretization<T>
[src]
pub fn eval(&self, z: Complex<T>) -> Complex<T>
[src]
Evaluate the discretization of the transfer function
Arguments
z
- Value at which the transfer function is evaluated.
Trait Implementations
impl<T: Debug + Num> Debug for TfDiscretization<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for TfDiscretization<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TfDiscretization<T> where
T: Send,
T: Send,
impl<T> Sync for TfDiscretization<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TfDiscretization<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TfDiscretization<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,