You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this issue, I consider the Function.draw() method. This method has many input arguments, but some of them could be simplified or reduced.
The current API requires xMin and xMax to draw the function. But this could be specified as an Interval.
The current API requires an outputMarginalIndex. This is useless in practice, since we can use function.getMarginal(outputMarginalIndex).draw(), which is more simple. In this case, the API could remove the outputMarginalIndex input argument and generate an exception if the function has multiple outputs.
The centralPoint could be removed because the user can define a ParametricFunction before calling the draw() method.
What happened?
In this issue, I consider the
Function.draw()
method. This method has many input arguments, but some of them could be simplified or reduced.Interval
.outputMarginalIndex
. This is useless in practice, since we can usefunction.getMarginal(outputMarginalIndex).draw()
, which is more simple. In this case, the API could remove theoutputMarginalIndex
input argument and generate an exception if the function has multiple outputs.centralPoint
could be removed because the user can define aParametricFunction
before calling thedraw()
method.How to reproduce the issue?
The current implementation requires:
This should be:
Version
1.22
Operating System
unknown
Installation media
unknown
Additional Context
No response
The text was updated successfully, but these errors were encountered: