An expression representing sine of an inner expression

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

expr: Expr

Accessors

  • get vars(): Set<Variable>
  • Get a set of all variables used by this expression

    Returns Set<Variable>

Methods

  • Check if a map of variables contains all variables used in this expression

    Parameters

    Returns void

  • Evaluate expression

    Parameters

    • vars: VarMap

      A map of variables to numbers to use while evaluating expressions

    • checkVars: boolean

      Weather to check if all needed variables are given or not

    Returns number

  • Simplify the expression. Can't do complete simplification
    Note: Simplification may remove expressions with no effect

    Returns Const | Sin

Generated using TypeDoc