Expression

com.phasmidsoftware.number.expression.mill.Expression
See theExpression companion trait
object Expression

Represents an Expression in a symbolic mathematical computation system.

This class provides operations for mathematical and logical manipulations, including arithmetic, trigonometric, and monadic transformations.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Expression.type

Members list

Value members

Concrete methods

def parseToExpression(x: String): Option[Expression]

Parses a string in infix notation into an Expression, if valid. NOTE that Expression refers to the mill package Expression (not the core Expression).

Parses a string in infix notation into an Expression, if valid. NOTE that Expression refers to the mill package Expression (not the core Expression).

Value parameters

x

the input string representing a mathematical expression in infix notation.

Attributes

Returns

an Option containing the resulting Expression if parsing and evaluation are successful, or None otherwise.

Givens

Givens