mirror of
https://github.com/DanilaFe/abacus
synced 2025-01-08 23:39:26 -08:00
Switch to using NumberRange in range-related areas.
This commit is contained in:
parent
2f4362e23b
commit
122b402ef4
@ -9,6 +9,7 @@ import org.nwapw.abacus.context.EvaluationContext
|
|||||||
import org.nwapw.abacus.context.MutableEvaluationContext
|
import org.nwapw.abacus.context.MutableEvaluationContext
|
||||||
import org.nwapw.abacus.number.NaiveNumber
|
import org.nwapw.abacus.number.NaiveNumber
|
||||||
import org.nwapw.abacus.number.NumberInterface
|
import org.nwapw.abacus.number.NumberInterface
|
||||||
|
import org.nwapw.abacus.number.NumberRange
|
||||||
import org.nwapw.abacus.plugin.StandardPlugin
|
import org.nwapw.abacus.plugin.StandardPlugin
|
||||||
import org.nwapw.abacus.tree.TreeNode
|
import org.nwapw.abacus.tree.TreeNode
|
||||||
|
|
||||||
@ -30,7 +31,7 @@ import org.nwapw.abacus.tree.TreeNode
|
|||||||
* @property pointInputVariable the variable which is substituted for the number of the input point being generated.
|
* @property pointInputVariable the variable which is substituted for the number of the input point being generated.
|
||||||
*/
|
*/
|
||||||
class Graph(val abacus: Abacus,
|
class Graph(val abacus: Abacus,
|
||||||
var domain: ClosedRange<NumberInterface>, var range: ClosedRange<NumberInterface>,
|
var domain: NumberRange, var range: NumberRange,
|
||||||
var inputVariable: String = "x", var pointInputVariable: String = "n") {
|
var inputVariable: String = "x", var pointInputVariable: String = "n") {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user