Skip to main content

Expr

Struct Expr 

Source
pub struct Expr { /* private fields */ }
Expand description

Shareable symbolic expression represented internally as a directed acyclic graph.

Implementations§

Source§

impl Expr

Source

pub fn named(self, name: impl Into<Arc<str>>) -> Self

Assigns a display name to the expression root.

Source

pub fn tagged(self, tag: impl Into<Arc<str>>) -> Self

Adds a tag to the expression root.

Source

pub fn tagged_with( self, tags: impl IntoIterator<Item = impl Into<Arc<str>>>, ) -> Self

Adds each supplied tag to the expression root.

Source

pub fn project_tags<'a>(&self, tags: impl IntoIterator<Item = &'a str>) -> Self

Replace tagged components that do not match any requested tag with zero.

Untagged nodes remain active, while a matching tagged node retains its complete subtree.

Source

pub fn real(&self) -> Self

Returns an expression for the real part.

Source

pub fn imag(&self) -> Self

Returns an expression for the imaginary part.

Source

pub fn conj(&self) -> Self

Returns an expression for the complex conjugate.

Source

pub fn norm_sqr(&self) -> Self

Returns an expression for the squared complex norm.

Source

pub fn sqrt(&self) -> Self

Returns an expression for the principal square root.

Source

pub fn exp(&self) -> Self

Returns an expression for the exponential.

Source

pub fn sin(&self) -> Self

Returns an expression for the sine.

Source

pub fn cos(&self) -> Self

Returns an expression for the cosine.

Source

pub fn acos(&self) -> Self

Returns an expression for the principal arccosine.

Source

pub fn log(&self) -> Self

Returns an expression for the natural logarithm.

Source

pub fn powi(&self, power: i32) -> Self

Returns an expression raised to an integer power.

Source

pub fn component(&self, index: impl ComponentIndex) -> Self

Selects a component from a vector-valued expression.

Source

pub fn matrix_element(&self, row: usize, col: usize) -> Self

Selects an element from a matrix-valued expression.

Source

pub fn to_graph(&self) -> ExprGraph

Serializes the shareable expression DAG into a topologically ordered graph.

Source

pub fn from_graph(graph: ExprGraph) -> Result<Self, ExprGraphError>

Rebuilds a shareable expression DAG from its serialized graph form.

§Errors

Returns ExprGraphError when the graph is empty, its root or a child identifier is invalid, its metadata length does not match its node count, or its nodes are not topologically ordered.

Source

pub fn shape(&self) -> Result<ExprShape, ExprShapeError>

Determines and validates the expression’s structural shape.

§Errors

Returns ExprShapeError when this expression contains an operation whose operand shapes are incompatible.

Trait Implementations§

Source§

impl Add for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Complex64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Complex64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for f64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Parameter) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Parameter) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &f64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&f64> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &f64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Complex64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Complex64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for f64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Expr) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Parameter) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Parameter) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f64> for Expr

Source§

type Output = Expr

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl AddAssign for Expr

Source§

fn add_assign(&mut self, rhs: Expr)

Performs the += operation. Read more
Source§

impl AddAssign<&Complex<f64>> for Expr

Source§

fn add_assign(&mut self, rhs: &Complex64)

Performs the += operation. Read more
Source§

impl AddAssign<&Expr> for Expr

Source§

fn add_assign(&mut self, rhs: &Expr)

Performs the += operation. Read more
Source§

impl AddAssign<&Parameter> for Expr

Source§

fn add_assign(&mut self, rhs: &Parameter)

Performs the += operation. Read more
Source§

impl AddAssign<&f64> for Expr

Source§

fn add_assign(&mut self, rhs: &f64)

Performs the += operation. Read more
Source§

impl AddAssign<Complex<f64>> for Expr

Source§

fn add_assign(&mut self, rhs: Complex64)

Performs the += operation. Read more
Source§

impl AddAssign<Parameter> for Expr

Source§

fn add_assign(&mut self, rhs: Parameter)

Performs the += operation. Read more
Source§

impl AddAssign<f64> for Expr

Source§

fn add_assign(&mut self, rhs: f64)

Performs the += operation. Read more
Source§

impl Clone for Expr

Source§

fn clone(&self) -> Expr

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Expr

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Expr

Source§

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 Div for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Complex64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Complex64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for f64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Parameter) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Parameter) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &f64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&f64> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &f64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Complex64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Complex64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for f64

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Expr) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Parameter) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Parameter) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f64> for Expr

Source§

type Output = Expr

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl DivAssign for Expr

Source§

fn div_assign(&mut self, rhs: Expr)

Performs the /= operation. Read more
Source§

impl DivAssign<&Complex<f64>> for Expr

Source§

fn div_assign(&mut self, rhs: &Complex64)

Performs the /= operation. Read more
Source§

impl DivAssign<&Expr> for Expr

Source§

fn div_assign(&mut self, rhs: &Expr)

Performs the /= operation. Read more
Source§

impl DivAssign<&Parameter> for Expr

Source§

fn div_assign(&mut self, rhs: &Parameter)

Performs the /= operation. Read more
Source§

impl DivAssign<&f64> for Expr

Source§

fn div_assign(&mut self, rhs: &f64)

Performs the /= operation. Read more
Source§

impl DivAssign<Complex<f64>> for Expr

Source§

fn div_assign(&mut self, rhs: Complex64)

Performs the /= operation. Read more
Source§

impl DivAssign<Parameter> for Expr

Source§

fn div_assign(&mut self, rhs: Parameter)

Performs the /= operation. Read more
Source§

impl DivAssign<f64> for Expr

Source§

fn div_assign(&mut self, rhs: f64)

Performs the /= operation. Read more
Source§

impl From<&Complex<f64>> for Expr

Source§

fn from(value: &Complex64) -> Self

Converts to this type from the input type.
Source§

impl From<&Expr> for Expr

Source§

fn from(value: &Expr) -> Self

Converts to this type from the input type.
Source§

impl From<&Parameter> for Expr

Source§

fn from(parameter: &Parameter) -> Self

Converts to this type from the input type.
Source§

impl From<&f64> for Expr

Source§

fn from(value: &f64) -> Self

Converts to this type from the input type.
Source§

impl From<Complex<f64>> for Expr

Source§

fn from(value: Complex64) -> Self

Converts to this type from the input type.
Source§

impl From<Parameter> for Expr

Source§

fn from(parameter: Parameter) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for Expr

Source§

fn from(value: f64) -> Self

Converts to this type from the input type.
Source§

impl Mul for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Complex64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Complex64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for f64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Parameter) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Parameter) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &f64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&f64> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &f64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Complex64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Complex64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for f64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Expr) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Parameter) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Parameter) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f64> for Expr

Source§

type Output = Expr

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl MulAssign for Expr

Source§

fn mul_assign(&mut self, rhs: Expr)

Performs the *= operation. Read more
Source§

impl MulAssign<&Complex<f64>> for Expr

Source§

fn mul_assign(&mut self, rhs: &Complex64)

Performs the *= operation. Read more
Source§

impl MulAssign<&Expr> for Expr

Source§

fn mul_assign(&mut self, rhs: &Expr)

Performs the *= operation. Read more
Source§

impl MulAssign<&Parameter> for Expr

Source§

fn mul_assign(&mut self, rhs: &Parameter)

Performs the *= operation. Read more
Source§

impl MulAssign<&f64> for Expr

Source§

fn mul_assign(&mut self, rhs: &f64)

Performs the *= operation. Read more
Source§

impl MulAssign<Complex<f64>> for Expr

Source§

fn mul_assign(&mut self, rhs: Complex64)

Performs the *= operation. Read more
Source§

impl MulAssign<Parameter> for Expr

Source§

fn mul_assign(&mut self, rhs: Parameter)

Performs the *= operation. Read more
Source§

impl MulAssign<f64> for Expr

Source§

fn mul_assign(&mut self, rhs: f64)

Performs the *= operation. Read more
Source§

impl Neg for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Serialize for Expr

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Complex64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Complex64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for f64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Parameter) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Parameter) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &f64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&f64> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &f64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Complex<f64>> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Complex64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Complex<f64>> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Complex64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for &f64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for f64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for &Complex64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for Complex64

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for &Parameter

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Expr> for Parameter

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Expr) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Parameter> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Parameter) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Parameter> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Parameter) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f64> for &Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f64> for Expr

Source§

type Output = Expr

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl SubAssign for Expr

Source§

fn sub_assign(&mut self, rhs: Expr)

Performs the -= operation. Read more
Source§

impl SubAssign<&Complex<f64>> for Expr

Source§

fn sub_assign(&mut self, rhs: &Complex64)

Performs the -= operation. Read more
Source§

impl SubAssign<&Expr> for Expr

Source§

fn sub_assign(&mut self, rhs: &Expr)

Performs the -= operation. Read more
Source§

impl SubAssign<&Parameter> for Expr

Source§

fn sub_assign(&mut self, rhs: &Parameter)

Performs the -= operation. Read more
Source§

impl SubAssign<&f64> for Expr

Source§

fn sub_assign(&mut self, rhs: &f64)

Performs the -= operation. Read more
Source§

impl SubAssign<Complex<f64>> for Expr

Source§

fn sub_assign(&mut self, rhs: Complex64)

Performs the -= operation. Read more
Source§

impl SubAssign<Parameter> for Expr

Source§

fn sub_assign(&mut self, rhs: Parameter)

Performs the -= operation. Read more
Source§

impl SubAssign<f64> for Expr

Source§

fn sub_assign(&mut self, rhs: f64)

Performs the -= operation. Read more

Auto Trait Implementations§

§

impl Freeze for Expr

§

impl RefUnwindSafe for Expr

§

impl Send for Expr

§

impl Sync for Expr

§

impl Unpin for Expr

§

impl UnsafeUnpin for Expr

§

impl UnwindSafe for Expr

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.