added reset_seed
This commit is contained in:
1 parent
ece43b6213
commit
eab24f7896
6 files changed
+21
-2
No files matched your search
@@ -313,6 +313,11 @@ public class Expression
|
||||
addUnaryFunction(name, (v) -> new NumericValue(fun.apply(NumericValue.asNumber(v).getDouble())));
|
||||
}
|
||||
|
||||
public void addMathematicalUnaryIntFunction(String name, Function<Double, Long> fun)
|
||||
{
|
||||
addUnaryFunction(name, (v) -> new NumericValue(fun.apply(NumericValue.asNumber(v).getDouble())));
|
||||
}
|
||||
|
||||
public void addMathematicalBinaryFunction(String name, BiFunction<Double, Double, Double> fun)
|
||||
{
|
||||
addBinaryFunction(name, (w, v) ->
|
||||
|
||||
Reference in new issue
Block a user