Concrete real scalar value.
Rounding is a display concern only: toString and display round for output; eval propagates the stored Double as-is. ±∞ serialises as "inf" / "-inf" for round-trip safety through the parser.
Value parameters
- d
-
the exact double-precision value
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait _Valuetrait _Expressionclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Sub-expressions subject to recursive structural traversal. Binder positions (e.g. the differentiation variable) are excluded.
Sub-expressions subject to recursive structural traversal. Binder positions (e.g. the differentiation variable) are excluded.
Attributes
- Definition Classes
Renders this number at precision decimal places for REPL display.
Renders this number at precision decimal places for REPL display.
Value parameters
- precision
-
number of decimal places to show
Attributes
Returns Right(this) — a concrete number needs no further reduction.
Returns Right(this) — a concrete number needs no further reduction.
Attributes
- Definition Classes
Reconstructs the same node shape with replacement sub-expressions.
Reconstructs the same node shape with replacement sub-expressions.
Value parameters
- newChildren
-
replacements in the same order and count as
children
Attributes
- Definition Classes
Renders this number at Environment.DefaultPrecision decimal places. ±∞ renders as "inf" / "-inf" for round-trip safety.
Renders this number at Environment.DefaultPrecision decimal places. ±∞ renders as "inf" / "-inf" for round-trip safety.
Attributes
- Definition Classes
-
Any
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Inherited fields
Cached set of free variable names; O(1) after the first access.
Cached set of free variable names; O(1) after the first access.
Attributes
- Inherited from:
- _Expression