Struct dypdl::ContinuousVariable
source · pub struct ContinuousVariable(/* private fields */);Expand description
A struct wrapping an id.
Implementations§
source§impl ContinuousVariable
impl ContinuousVariable
sourcepub fn abs(self) -> ContinuousExpression
pub fn abs(self) -> ContinuousExpression
Returns an expression representing the absolute value
sourcepub fn sqrt(self) -> ContinuousExpression
pub fn sqrt(self) -> ContinuousExpression
Returns an expression representing the square root.
sourcepub fn floor(self) -> ContinuousExpression
pub fn floor(self) -> ContinuousExpression
Returns an expression representing the floor.
sourcepub fn ceil(self) -> ContinuousExpression
pub fn ceil(self) -> ContinuousExpression
Returns an expression representing the ceiling.
sourcepub fn round(self) -> ContinuousExpression
pub fn round(self) -> ContinuousExpression
Returns an expression representing the rounded value.
sourcepub fn trunc(self) -> ContinuousExpression
pub fn trunc(self) -> ContinuousExpression
Returns an expression representing the truncated value.
Trait Implementations§
source§impl AccessTarget<ContinuousVariable, f64> for Model
impl AccessTarget<ContinuousVariable, f64> for Model
source§fn get_target(&self, v: ContinuousVariable) -> Result<Continuous, ModelErr>
fn get_target(&self, v: ContinuousVariable) -> Result<Continuous, ModelErr>
source§fn set_target(
&mut self,
v: ContinuousVariable,
target: Continuous
) -> Result<(), ModelErr>
fn set_target( &mut self, v: ContinuousVariable, target: Continuous ) -> Result<(), ModelErr>
source§impl Add<ContinuousExpression> for ContinuousVariable
impl Add<ContinuousExpression> for ContinuousVariable
source§fn add(self, rhs: ContinuousExpression) -> ContinuousExpression
fn add(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousResourceVariable> for ContinuousVariable
impl Add<ContinuousResourceVariable> for ContinuousVariable
source§fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for ContinuousExpression
impl Add<ContinuousVariable> for ContinuousExpression
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for ContinuousResourceVariable
impl Add<ContinuousVariable> for ContinuousResourceVariable
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for IntegerExpression
impl Add<ContinuousVariable> for IntegerExpression
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for IntegerResourceVariable
impl Add<ContinuousVariable> for IntegerResourceVariable
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for IntegerVariable
impl Add<ContinuousVariable> for IntegerVariable
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for Continuous
impl Add<ContinuousVariable> for Continuous
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<ContinuousVariable> for Integer
impl Add<ContinuousVariable> for Integer
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<IntegerExpression> for ContinuousVariable
impl Add<IntegerExpression> for ContinuousVariable
source§fn add(self, rhs: IntegerExpression) -> ContinuousExpression
fn add(self, rhs: IntegerExpression) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<IntegerResourceVariable> for ContinuousVariable
impl Add<IntegerResourceVariable> for ContinuousVariable
source§fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn add(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<IntegerVariable> for ContinuousVariable
impl Add<IntegerVariable> for ContinuousVariable
source§fn add(self, rhs: IntegerVariable) -> ContinuousExpression
fn add(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<f64> for ContinuousVariable
impl Add<f64> for ContinuousVariable
source§fn add(self, rhs: Continuous) -> ContinuousExpression
fn add(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add<i32> for ContinuousVariable
impl Add<i32> for ContinuousVariable
source§fn add(self, rhs: Integer) -> ContinuousExpression
fn add(self, rhs: Integer) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl Add for ContinuousVariable
impl Add for ContinuousVariable
source§fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
fn add(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the addition.
§type Output = ContinuousExpression
type Output = ContinuousExpression
+ operator.source§impl AddEffect<ContinuousVariable, ContinuousExpression> for Transition
impl AddEffect<ContinuousVariable, ContinuousExpression> for Transition
source§fn add_effect<V>(
&mut self,
v: ContinuousVariable,
expression: V
) -> Result<(), ModelErr>where
ContinuousExpression: From<V>,
fn add_effect<V>(
&mut self,
v: ContinuousVariable,
expression: V
) -> Result<(), ModelErr>where
ContinuousExpression: From<V>,
source§impl CheckVariable<ContinuousVariable> for StateMetadata
impl CheckVariable<ContinuousVariable> for StateMetadata
source§fn check_variable(&self, v: ContinuousVariable) -> Result<(), ModelErr>
fn check_variable(&self, v: ContinuousVariable) -> Result<(), ModelErr>
source§impl Clone for ContinuousVariable
impl Clone for ContinuousVariable
source§fn clone(&self) -> ContinuousVariable
fn clone(&self) -> ContinuousVariable
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl ContinuousBinaryOperation<ContinuousExpression> for ContinuousVariable
impl ContinuousBinaryOperation<ContinuousExpression> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousExpression) -> ContinuousExpression
fn pow(self, rhs: ContinuousExpression) -> ContinuousExpression
source§fn log(self, rhs: ContinuousExpression) -> ContinuousExpression
fn log(self, rhs: ContinuousExpression) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousResourceVariable> for ContinuousVariable
impl ContinuousBinaryOperation<ContinuousResourceVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for ContinuousExpression
impl ContinuousBinaryOperation<ContinuousVariable> for ContinuousExpression
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for ContinuousResourceVariable
impl ContinuousBinaryOperation<ContinuousVariable> for ContinuousResourceVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for IntegerExpression
impl ContinuousBinaryOperation<ContinuousVariable> for IntegerExpression
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for IntegerResourceVariable
impl ContinuousBinaryOperation<ContinuousVariable> for IntegerResourceVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for IntegerVariable
impl ContinuousBinaryOperation<ContinuousVariable> for IntegerVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for Continuous
impl ContinuousBinaryOperation<ContinuousVariable> for Continuous
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<ContinuousVariable> for Integer
impl ContinuousBinaryOperation<ContinuousVariable> for Integer
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<IntegerExpression> for ContinuousVariable
impl ContinuousBinaryOperation<IntegerExpression> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerExpression) -> ContinuousExpression
fn pow(self, rhs: IntegerExpression) -> ContinuousExpression
source§fn log(self, rhs: IntegerExpression) -> ContinuousExpression
fn log(self, rhs: IntegerExpression) -> ContinuousExpression
source§impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousVariable
impl ContinuousBinaryOperation<IntegerResourceVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn log(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<IntegerVariable> for ContinuousVariable
impl ContinuousBinaryOperation<IntegerVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
fn pow(self, rhs: IntegerVariable) -> ContinuousExpression
source§fn log(self, rhs: IntegerVariable) -> ContinuousExpression
fn log(self, rhs: IntegerVariable) -> ContinuousExpression
source§impl ContinuousBinaryOperation<f64> for ContinuousVariable
impl ContinuousBinaryOperation<f64> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: Continuous) -> ContinuousExpression
fn pow(self, rhs: Continuous) -> ContinuousExpression
source§fn log(self, rhs: Continuous) -> ContinuousExpression
fn log(self, rhs: Continuous) -> ContinuousExpression
source§impl ContinuousBinaryOperation<i32> for ContinuousVariable
impl ContinuousBinaryOperation<i32> for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: Integer) -> ContinuousExpression
fn pow(self, rhs: Integer) -> ContinuousExpression
source§fn log(self, rhs: Integer) -> ContinuousExpression
fn log(self, rhs: Integer) -> ContinuousExpression
source§impl ContinuousBinaryOperation for ContinuousVariable
impl ContinuousBinaryOperation for ContinuousVariable
type Output = ContinuousExpression
source§fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
fn pow(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
fn log(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl Debug for ContinuousVariable
impl Debug for ContinuousVariable
source§impl Div<ContinuousExpression> for ContinuousVariable
impl Div<ContinuousExpression> for ContinuousVariable
source§fn div(self, rhs: ContinuousExpression) -> ContinuousExpression
fn div(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousResourceVariable> for ContinuousVariable
impl Div<ContinuousResourceVariable> for ContinuousVariable
source§fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for ContinuousExpression
impl Div<ContinuousVariable> for ContinuousExpression
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for ContinuousResourceVariable
impl Div<ContinuousVariable> for ContinuousResourceVariable
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for IntegerExpression
impl Div<ContinuousVariable> for IntegerExpression
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for IntegerResourceVariable
impl Div<ContinuousVariable> for IntegerResourceVariable
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for IntegerVariable
impl Div<ContinuousVariable> for IntegerVariable
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for Continuous
impl Div<ContinuousVariable> for Continuous
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<ContinuousVariable> for Integer
impl Div<ContinuousVariable> for Integer
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<IntegerExpression> for ContinuousVariable
impl Div<IntegerExpression> for ContinuousVariable
source§fn div(self, rhs: IntegerExpression) -> ContinuousExpression
fn div(self, rhs: IntegerExpression) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<IntegerResourceVariable> for ContinuousVariable
impl Div<IntegerResourceVariable> for ContinuousVariable
source§fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn div(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<IntegerVariable> for ContinuousVariable
impl Div<IntegerVariable> for ContinuousVariable
source§fn div(self, rhs: IntegerVariable) -> ContinuousExpression
fn div(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<f64> for ContinuousVariable
impl Div<f64> for ContinuousVariable
source§fn div(self, rhs: Continuous) -> ContinuousExpression
fn div(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div<i32> for ContinuousVariable
impl Div<i32> for ContinuousVariable
source§fn div(self, rhs: Integer) -> ContinuousExpression
fn div(self, rhs: Integer) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl Div for ContinuousVariable
impl Div for ContinuousVariable
source§fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
fn div(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the division.
§type Output = ContinuousExpression
type Output = ContinuousExpression
/ operator.source§impl From<ContinuousVariable> for ContinuousExpression
impl From<ContinuousVariable> for ContinuousExpression
source§fn from(v: ContinuousVariable) -> Self
fn from(v: ContinuousVariable) -> Self
source§impl From<ContinuousVariable> for CostExpression
impl From<ContinuousVariable> for CostExpression
source§fn from(cost: ContinuousVariable) -> Self
fn from(cost: ContinuousVariable) -> Self
source§impl MaxMin<ContinuousExpression> for ContinuousVariable
impl MaxMin<ContinuousExpression> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousExpression) -> ContinuousExpression
fn max(self, rhs: ContinuousExpression) -> ContinuousExpression
source§fn min(self, rhs: ContinuousExpression) -> ContinuousExpression
fn min(self, rhs: ContinuousExpression) -> ContinuousExpression
source§impl MaxMin<ContinuousResourceVariable> for ContinuousVariable
impl MaxMin<ContinuousResourceVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for ContinuousExpression
impl MaxMin<ContinuousVariable> for ContinuousExpression
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for ContinuousResourceVariable
impl MaxMin<ContinuousVariable> for ContinuousResourceVariable
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for IntegerExpression
impl MaxMin<ContinuousVariable> for IntegerExpression
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for IntegerResourceVariable
impl MaxMin<ContinuousVariable> for IntegerResourceVariable
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for IntegerVariable
impl MaxMin<ContinuousVariable> for IntegerVariable
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for Continuous
impl MaxMin<ContinuousVariable> for Continuous
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<ContinuousVariable> for Integer
impl MaxMin<ContinuousVariable> for Integer
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl MaxMin<IntegerExpression> for ContinuousVariable
impl MaxMin<IntegerExpression> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerExpression) -> ContinuousExpression
fn max(self, rhs: IntegerExpression) -> ContinuousExpression
source§fn min(self, rhs: IntegerExpression) -> ContinuousExpression
fn min(self, rhs: IntegerExpression) -> ContinuousExpression
source§impl MaxMin<IntegerResourceVariable> for ContinuousVariable
impl MaxMin<IntegerResourceVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn max(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn min(self, rhs: IntegerResourceVariable) -> ContinuousExpression
source§impl MaxMin<IntegerVariable> for ContinuousVariable
impl MaxMin<IntegerVariable> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: IntegerVariable) -> ContinuousExpression
fn max(self, rhs: IntegerVariable) -> ContinuousExpression
source§fn min(self, rhs: IntegerVariable) -> ContinuousExpression
fn min(self, rhs: IntegerVariable) -> ContinuousExpression
source§impl MaxMin<f64> for ContinuousVariable
impl MaxMin<f64> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: Continuous) -> ContinuousExpression
fn max(self, rhs: Continuous) -> ContinuousExpression
source§fn min(self, rhs: Continuous) -> ContinuousExpression
fn min(self, rhs: Continuous) -> ContinuousExpression
source§impl MaxMin<i32> for ContinuousVariable
impl MaxMin<i32> for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: Integer) -> ContinuousExpression
fn max(self, rhs: Integer) -> ContinuousExpression
source§fn min(self, rhs: Integer) -> ContinuousExpression
fn min(self, rhs: Integer) -> ContinuousExpression
source§impl MaxMin for ContinuousVariable
impl MaxMin for ContinuousVariable
type Output = ContinuousExpression
source§fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
fn max(self, rhs: ContinuousVariable) -> ContinuousExpression
source§fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
fn min(self, rhs: ContinuousVariable) -> ContinuousExpression
source§impl Mul<ContinuousExpression> for ContinuousVariable
impl Mul<ContinuousExpression> for ContinuousVariable
source§fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression
fn mul(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousResourceVariable> for ContinuousVariable
impl Mul<ContinuousResourceVariable> for ContinuousVariable
source§fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for ContinuousExpression
impl Mul<ContinuousVariable> for ContinuousExpression
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for ContinuousResourceVariable
impl Mul<ContinuousVariable> for ContinuousResourceVariable
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for IntegerExpression
impl Mul<ContinuousVariable> for IntegerExpression
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for IntegerResourceVariable
impl Mul<ContinuousVariable> for IntegerResourceVariable
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for IntegerVariable
impl Mul<ContinuousVariable> for IntegerVariable
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for Continuous
impl Mul<ContinuousVariable> for Continuous
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<ContinuousVariable> for Integer
impl Mul<ContinuousVariable> for Integer
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<IntegerExpression> for ContinuousVariable
impl Mul<IntegerExpression> for ContinuousVariable
source§fn mul(self, rhs: IntegerExpression) -> ContinuousExpression
fn mul(self, rhs: IntegerExpression) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<IntegerResourceVariable> for ContinuousVariable
impl Mul<IntegerResourceVariable> for ContinuousVariable
source§fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<IntegerVariable> for ContinuousVariable
impl Mul<IntegerVariable> for ContinuousVariable
source§fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
fn mul(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<f64> for ContinuousVariable
impl Mul<f64> for ContinuousVariable
source§fn mul(self, rhs: Continuous) -> ContinuousExpression
fn mul(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul<i32> for ContinuousVariable
impl Mul<i32> for ContinuousVariable
source§fn mul(self, rhs: Integer) -> ContinuousExpression
fn mul(self, rhs: Integer) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Mul for ContinuousVariable
impl Mul for ContinuousVariable
source§fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
fn mul(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the multiplication.
§type Output = ContinuousExpression
type Output = ContinuousExpression
* operator.source§impl Neg for ContinuousVariable
impl Neg for ContinuousVariable
source§impl PartialEq for ContinuousVariable
impl PartialEq for ContinuousVariable
source§fn eq(&self, other: &ContinuousVariable) -> bool
fn eq(&self, other: &ContinuousVariable) -> bool
self and other values to be equal, and is used
by ==.source§impl Rem<ContinuousExpression> for ContinuousVariable
impl Rem<ContinuousExpression> for ContinuousVariable
source§fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression
fn rem(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousResourceVariable> for ContinuousVariable
impl Rem<ContinuousResourceVariable> for ContinuousVariable
source§fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for ContinuousExpression
impl Rem<ContinuousVariable> for ContinuousExpression
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for ContinuousResourceVariable
impl Rem<ContinuousVariable> for ContinuousResourceVariable
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for IntegerExpression
impl Rem<ContinuousVariable> for IntegerExpression
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for IntegerResourceVariable
impl Rem<ContinuousVariable> for IntegerResourceVariable
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for IntegerVariable
impl Rem<ContinuousVariable> for IntegerVariable
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for Continuous
impl Rem<ContinuousVariable> for Continuous
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<ContinuousVariable> for Integer
impl Rem<ContinuousVariable> for Integer
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<IntegerExpression> for ContinuousVariable
impl Rem<IntegerExpression> for ContinuousVariable
source§fn rem(self, rhs: IntegerExpression) -> ContinuousExpression
fn rem(self, rhs: IntegerExpression) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<IntegerResourceVariable> for ContinuousVariable
impl Rem<IntegerResourceVariable> for ContinuousVariable
source§fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<IntegerVariable> for ContinuousVariable
impl Rem<IntegerVariable> for ContinuousVariable
source§fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
fn rem(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<f64> for ContinuousVariable
impl Rem<f64> for ContinuousVariable
source§fn rem(self, rhs: Continuous) -> ContinuousExpression
fn rem(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem<i32> for ContinuousVariable
impl Rem<i32> for ContinuousVariable
source§fn rem(self, rhs: Integer) -> ContinuousExpression
fn rem(self, rhs: Integer) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Rem for ContinuousVariable
impl Rem for ContinuousVariable
source§fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
fn rem(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the remainder.
§type Output = ContinuousExpression
type Output = ContinuousExpression
% operator.source§impl Sub<ContinuousExpression> for ContinuousVariable
impl Sub<ContinuousExpression> for ContinuousVariable
source§fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression
fn sub(self, rhs: ContinuousExpression) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousResourceVariable> for ContinuousVariable
impl Sub<ContinuousResourceVariable> for ContinuousVariable
source§fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for ContinuousExpression
impl Sub<ContinuousVariable> for ContinuousExpression
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for ContinuousResourceVariable
impl Sub<ContinuousVariable> for ContinuousResourceVariable
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for IntegerExpression
impl Sub<ContinuousVariable> for IntegerExpression
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for IntegerResourceVariable
impl Sub<ContinuousVariable> for IntegerResourceVariable
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for IntegerVariable
impl Sub<ContinuousVariable> for IntegerVariable
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for Continuous
impl Sub<ContinuousVariable> for Continuous
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<ContinuousVariable> for Integer
impl Sub<ContinuousVariable> for Integer
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<IntegerExpression> for ContinuousVariable
impl Sub<IntegerExpression> for ContinuousVariable
source§fn sub(self, rhs: IntegerExpression) -> ContinuousExpression
fn sub(self, rhs: IntegerExpression) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<IntegerResourceVariable> for ContinuousVariable
impl Sub<IntegerResourceVariable> for ContinuousVariable
source§fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerResourceVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<IntegerVariable> for ContinuousVariable
impl Sub<IntegerVariable> for ContinuousVariable
source§fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
fn sub(self, rhs: IntegerVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<f64> for ContinuousVariable
impl Sub<f64> for ContinuousVariable
source§fn sub(self, rhs: Continuous) -> ContinuousExpression
fn sub(self, rhs: Continuous) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub<i32> for ContinuousVariable
impl Sub<i32> for ContinuousVariable
source§fn sub(self, rhs: Integer) -> ContinuousExpression
fn sub(self, rhs: Integer) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.source§impl Sub for ContinuousVariable
impl Sub for ContinuousVariable
source§fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
fn sub(self, rhs: ContinuousVariable) -> ContinuousExpression
Returns an expression representing the subtraction.
§type Output = ContinuousExpression
type Output = ContinuousExpression
- operator.