Show / Hide Table of Contents

    Class Times

    Represents the Operator for a multiplication

    Inheritance
    System.Object
    Expression
    OperatorExpression
    Times
    Inherited Members
    OperatorExpression.Expressions
    OperatorExpression.ContainsNoVariables
    OperatorExpression.ContainsAtMostOneVariable
    OperatorExpression.Terms
    OperatorExpression.Variables
    Expression.NonZeroTerms
    Expression.Constant
    Expression.Evaluate(IDictionary<String, Double>)
    Expression._bigMUserValue
    Expression.BigM
    Expression.EmptyExpression
    Expression.Sum(IEnumerable<Expression>)
    Expression.Sum(IEnumerable<Double>)
    Expression.Sum(IEnumerable<Term>)
    Expression.Sum(IEnumerable<Variable>)
    Expression.Sum(Int32, Int32, Func<Int32, Expression>)
    Expression.Sum(Int32, Int32, Func<Int32, Term>)
    Expression.Minimum(IEnumerable<Expression>, Nullable<Double>)
    Expression.Maximum(IEnumerable<Expression>, Nullable<Double>)
    Expression.Absolute(Expression, Nullable<Double>)
    Expression.Floor(Expression, Nullable<Double>)
    Expression.Ceiling(Expression, Nullable<Double>)
    Expression.Normalize()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: OPTANO.Modeling.Optimization.Operators
    Assembly: Optimization.dll
    Syntax
    [DataContract]
    [Serializable]
    public sealed class Times : OperatorExpression, IOperator, ITimes, IOperatorExpression

    Constructors

    Times(IEnumerable<Expression>)

    Initializes a new instance of the Times class.

    Declaration
    public Times(IEnumerable<Expression> expressions)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<Expression> expressions

    The expressions.

    Properties

    IsLinear

    Gets or sets a value indicating whether this instance is linear.

    Declaration
    public override bool IsLinear { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is linear; otherwise, false.

    Overrides
    Expression.IsLinear

    PreservesLinearity

    Gets a value indicating whether this operator always preserves linearity when used with terms.

    Declaration
    public override bool PreservesLinearity { get; }
    Property Value
    Type Description
    System.Boolean

    true if linearity is preserved otherwise, false.

    Overrides
    OperatorExpression.PreservesLinearity

    Methods

    ToString()

    Returns a System.String that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String that represents this instance.

    Overrides
    System.Object.ToString()

    Operators

    Multiply(Expression, Times)

    Implements the operator *.

    Declaration
    public static Expression operator *(Expression expression1, Times expression2)
    Parameters
    Type Name Description
    Expression expression1

    The left expression.

    Times expression2

    The right expression.

    Returns
    Type Description
    Expression

    The result of the operator.

    Multiply(Times, Expression)

    Implements the operator *.

    Declaration
    public static Expression operator *(Times times, Expression expression2)
    Parameters
    Type Name Description
    Times times

    The left expression.

    Expression expression2

    The right expression.

    Returns
    Type Description
    Expression

    The result of the operator.

    Multiply(Times, Times)

    Implements the operator *.

    Declaration
    public static Times operator *(Times times1, Times times2)
    Parameters
    Type Name Description
    Times times1

    The left factor.

    Times times2

    The right factor.

    Returns
    Type Description
    Times

    The result of the operator as single Times.

    Extension Methods

    ReflectionHelper.GetFieldValue(Object, String)
    ReflectionHelper.SetFieldValue(Object, String, Object)
    ExtensionMethods.Clone<T>(T)
    ExtensionMethods.ThrowIfArgumentIsNull<T>(T, String)
    Back to top Copyright © OPTANO GmbH generated with DocFX
    Privacy Policy | Impressum – Legal Notice