com.phasmidsoftware.number.core.mill
Members list
Type members
Classlikes
Add operator (sub-type of Dyadic).
Add operator (sub-type of Dyadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Dyadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Add.type
CHS (change sign) operator (sub-type of Monadic).
CHS (change sign) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Chs.type
Close (close parenthesis) operator (sub-type of Item).
Close (close parenthesis) operator (sub-type of Item).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Close.type
Clr (clear) operator (sub-type of Item).
Clr (clear) operator (sub-type of Item).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Clr.type
Trait to define the behavior of a "mill."
Trait to define the behavior of a "mill."
CONSIDER rename Stack as ListMill and extract push, pop and isEmpty as Stack[Item].
Attributes
- Companion
- object
- Supertypes
-
trait Iterable[CoreMillItem]trait IterableOnce[CoreMillItem]class Objecttrait Matchableclass AnyShow all
- Known subtypes
- Self type
Trait representing a mathematical expression, which can be combined or transformed using various operations. This is intended as a fundamental building block for creating complex expressions or performing symbolic computations.
Trait representing a mathematical expression, which can be combined or transformed using various operations. This is intended as a fundamental building block for creating complex expressions or performing symbolic computations.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Represents an Expression in a symbolic mathematical computation system.
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CoreMillExpression.type
Companion object to Item.
Companion object to Item.
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CoreMillItem.type
Trait to model the behavior of an item that goes into the Mill.
Trait to model the behavior of an item that goes into the Mill.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Cos (cosine) operator (sub-type of Monadic).
Cos (cosine) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Cos.type
Divide operator (sub-type of Dyadic).
Divide operator (sub-type of Dyadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Dyadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Divide.type
Sub-class of Item which represents a dyadic operator.
Sub-class of Item which represents a dyadic operator.
Value parameters
- leftAssociativity
-
the left-associativity of the operator.
- precedence
-
the precedence level of the operator.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Represents a dyadic (binary) expression consisting of a left operand, a right operand, and an operator connecting them in an infix notation.
Represents a dyadic (binary) expression consisting of a left operand, a right operand, and an operator connecting them in an infix notation.
Value parameters
- left
-
the left-hand side operand of the expression, represented as an
Expression. - operator
-
the operator as a
Stringconnecting the left and right operands. - right
-
the right-hand side operand of the expression, represented as an
Expression.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CoreMillExpressionclass Objecttrait Matchableclass AnyShow all
Empty Mill definition.
Empty Mill definition.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CoreMilltrait Iterable[CoreMillItem]trait IterableOnce[CoreMillItem]class Objecttrait Matchableclass AnyShow all
- Self type
-
Empty.type
Exponent (e^x) operator (sub-type of Monadic).
Exponent (e^x) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Exponent.type
Expr (expression) operator (sub-type of Item). In old-fashioned terminology, x is the augend for the + operator, and the multiplier for the * operator.
Expr (expression) operator (sub-type of Item). In old-fashioned terminology, x is the augend for the + operator, and the multiplier for the * operator.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
Inv (invert) operator (sub-type of Monadic).
Inv (invert) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Inv.type
Ln (natural logarithm) operator (sub-type of Monadic).
Ln (natural logarithm) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Ln.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A case class that models a monadic expression, which represents a single-operand operation applied to another Expression.
A case class that models a monadic expression, which represents a single-operand operation applied to another Expression.
Value parameters
- expression
-
the underlying
Expressionon which the monadic operation is applied. - str
-
a string representation of the operator.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CoreMillExpressionclass Objecttrait Matchableclass AnyShow all
Multiply operator (sub-type of Dyadic).
Multiply operator (sub-type of Dyadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Dyadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Multiply.type
Noop (no-op) operator (sub-type of Item).
Noop (no-op) operator (sub-type of Item).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Noop.type
Open (open parenthesis) operator (sub-type of Item).
Open (open parenthesis) operator (sub-type of Item).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Open.type
Power operator (sub-type of Dyadic).
Power operator (sub-type of Dyadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Dyadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Power.type
Sin (sine) operator (sub-type of Monadic).
Sin (sine) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Sin.type
Sqrt (square root) operator (sub-type of Monadic).
Sqrt (square root) operator (sub-type of Monadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Monadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Sqrt.type
A case class to represent a stack of Items, providing behavior of Mill.
A case class to represent a stack of Items, providing behavior of Mill.
Value parameters
- stack
-
a List[Item] which will represent the stack.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CoreMilltrait Iterable[CoreMillItem]trait IterableOnce[CoreMillItem]class Objecttrait Matchableclass AnyShow all
Subtract operator (sub-type of Dyadic).
Subtract operator (sub-type of Dyadic).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Dyadictrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Subtract.type
Swap operator (sub-type of Item).
Swap operator (sub-type of Item).
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CoreMillItemclass Objecttrait Matchableclass AnyShow all
- Self type
-
Swap.type
Represents a terminal expression in the expression hierarchy.
Represents a terminal expression in the expression hierarchy.
A TerminalExpression is a leaf node in the expression structure, encapsulating a numeric value. It directly stores a value of type com.phasmidsoftware.number.Number.
Value parameters
- value
-
The numeric value encapsulated by this terminal expression.
Attributes
- Constructor
-
Creates a TerminalExpression with the specified numeric value.
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CoreMillExpressionclass Objecttrait Matchableclass AnyShow all