pub struct AbcdMatrix<R>(/* private fields */)
where
R: RealField;Expand description
ABCD Matrix. $2 \times 2$ Ray Transfer Matrix.
Implementations§
Source§impl<R> AbcdMatrix<R>where
R: RealField,
impl<R> AbcdMatrix<R>where
R: RealField,
pub fn new(tensor: CausalTensor<R>) -> AbcdMatrix<R>
pub fn inner(&self) -> &CausalTensor<R>
Trait Implementations§
Source§impl<R> Clone for AbcdMatrix<R>
impl<R> Clone for AbcdMatrix<R>
Source§fn clone(&self) -> AbcdMatrix<R>
fn clone(&self) -> AbcdMatrix<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R> Debug for AbcdMatrix<R>
impl<R> Debug for AbcdMatrix<R>
Source§impl<R> Default for AbcdMatrix<R>
impl<R> Default for AbcdMatrix<R>
Source§fn default() -> AbcdMatrix<R>
fn default() -> AbcdMatrix<R>
Returns the “default value” for a type. Read more
Source§impl<R> PartialEq for AbcdMatrix<R>
impl<R> PartialEq for AbcdMatrix<R>
impl<R> StructuralPartialEq for AbcdMatrix<R>
Auto Trait Implementations§
impl<R> Freeze for AbcdMatrix<R>where
CausalTensor<R>: Freeze,
impl<R> RefUnwindSafe for AbcdMatrix<R>where
CausalTensor<R>: RefUnwindSafe,
impl<R> Send for AbcdMatrix<R>where
CausalTensor<R>: Send,
impl<R> Sync for AbcdMatrix<R>where
CausalTensor<R>: Sync,
impl<R> Unpin for AbcdMatrix<R>where
CausalTensor<R>: Unpin,
impl<R> UnsafeUnpin for AbcdMatrix<R>where
CausalTensor<R>: UnsafeUnpin,
impl<R> UnwindSafe for AbcdMatrix<R>where
CausalTensor<R>: UnwindSafe,
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<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 more