pub struct AbcdMatrix(/* private fields */);Expand description
ABCD Matrix. $2 \times 2$ Ray Transfer Matrix.
Implementations§
Source§impl AbcdMatrix
impl AbcdMatrix
pub fn new(tensor: CausalTensor<f64>) -> Self
pub fn inner(&self) -> &CausalTensor<f64>
Trait Implementations§
Source§impl Clone for AbcdMatrix
impl Clone for AbcdMatrix
Source§fn clone(&self) -> AbcdMatrix
fn clone(&self) -> AbcdMatrix
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 AbcdMatrix
impl Debug for AbcdMatrix
Source§impl Default for AbcdMatrix
impl Default for AbcdMatrix
Source§fn default() -> AbcdMatrix
fn default() -> AbcdMatrix
Returns the “default value” for a type. Read more
Source§impl PartialEq for AbcdMatrix
impl PartialEq for AbcdMatrix
impl StructuralPartialEq for AbcdMatrix
Auto Trait Implementations§
impl Freeze for AbcdMatrix
impl RefUnwindSafe for AbcdMatrix
impl Send for AbcdMatrix
impl Sync for AbcdMatrix
impl Unpin for AbcdMatrix
impl UnwindSafe for AbcdMatrix
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