Syntax
it.grypho.scala.leonardo.scalar.Syntax
object Syntax
Optional method-call syntax for the scalar algorithms.
Lets callers write e.simplify() instead of simplify(e). Kept in an object (and out of the _Expression trait) so core depends on no domain and the method names do not collide with the top-level package functions they forward to. Opt in with import scalar.Syntax.*.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Syntax.type
Members list
Extensions
Extensions
extension (e: _Expression)
def sample(v: _Variable, lo: Double, hi: Double, n: Int, env: Environment): Vector[(Double, Double)]
Fixpoint simplification; see simplifyFully.
Variable substitution; see substitute.
In this article