pub enum MatrixExpression {
T(Box<Expression>),
Inv(Box<Expression>),
Det(Box<Expression>),
}
Variants§
Implementations§
source§impl MatrixExpression
impl MatrixExpression
pub fn assign(self, variables: &HashMap<&str, ConstantValue>) -> Expression
source§impl MatrixExpression
impl MatrixExpression
pub fn differential(&self, variable_ids: &[&str]) -> Vec<Expression>
source§impl MatrixExpression
impl MatrixExpression
pub fn variable_ids(&self) -> HashSet<&str>
Trait Implementations§
source§impl Clone for MatrixExpression
impl Clone for MatrixExpression
source§fn clone(&self) -> MatrixExpression
fn clone(&self) -> MatrixExpression
Returns a copy 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 MatrixExpression
impl Debug for MatrixExpression
source§impl<'de> Deserialize<'de> for MatrixExpression
impl<'de> Deserialize<'de> for MatrixExpression
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<MatrixExpression> for Expression
impl From<MatrixExpression> for Expression
source§fn from(m: MatrixExpression) -> Self
fn from(m: MatrixExpression) -> Self
Converts to this type from the input type.
source§impl PartialEq<MatrixExpression> for MatrixExpression
impl PartialEq<MatrixExpression> for MatrixExpression
source§fn eq(&self, other: &MatrixExpression) -> bool
fn eq(&self, other: &MatrixExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MatrixExpression
impl Serialize for MatrixExpression
impl StructuralPartialEq for MatrixExpression
Auto Trait Implementations§
impl RefUnwindSafe for MatrixExpression
impl Send for MatrixExpression
impl Sync for MatrixExpression
impl Unpin for MatrixExpression
impl UnwindSafe for MatrixExpression
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