pub struct StokesVector(/* private fields */);Expand description
Stokes Vector. Intensity vector $(S_0, S_1, S_2, S_3)$. Rank 1, Dim 4 Tensor. Constraint: $S_0^2 \ge S_1^2 + S_2^2 + S_3^2$.
Implementations§
Source§impl StokesVector
impl StokesVector
pub fn new(tensor: CausalTensor<f64>) -> Result<Self, PhysicsError>
pub fn inner(&self) -> &CausalTensor<f64>
Trait Implementations§
Source§impl Clone for StokesVector
impl Clone for StokesVector
Source§fn clone(&self) -> StokesVector
fn clone(&self) -> StokesVector
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 StokesVector
impl Debug for StokesVector
Source§impl Default for StokesVector
impl Default for StokesVector
Source§fn default() -> StokesVector
fn default() -> StokesVector
Returns the “default value” for a type. Read more
Source§impl PartialEq for StokesVector
impl PartialEq for StokesVector
impl StructuralPartialEq for StokesVector
Auto Trait Implementations§
impl Freeze for StokesVector
impl RefUnwindSafe for StokesVector
impl Send for StokesVector
impl Sync for StokesVector
impl Unpin for StokesVector
impl UnsafeUnpin for StokesVector
impl UnwindSafe for StokesVector
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