Feature SS-2339
3 votes

setup integral's accuracy from the canvas

Created by Davide on 5/7/2016 12:34 PM Last Updated by Martin Kraska on 9/10/2016 4:42 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

The proposal is to introduce a variable or a function to setup the integral accuracy from the canvas. This will make more consistent the calculation through the time (because the global value may change) and through different machines (if not used, the global value will be used). Moreover would be useful to customize the accuracy when multiple integrations are done in the same worksheet.

    Martin Kraska (Saturday, September 10, 2016 4:42 AM) #

A single block might contain multiple integrals which might require different accuracy settings. Thus I see no chance to circumvent a function for setting this value.

Except having a robust adaptive procedure without need for adjusting accuracy.

    Davide (Saturday, May 7, 2016 3:55 PM) #

Not sure that associate this property to a block of code is a good idea; exponential threshold/number of decimal affects only how a result is displayed, this is something about calculation and may leads in the same confusion that generates the optimization (if I define the integral as f(x):int(...), I assign an accuracy to the block, then I use this function in another block of code with another accuracy, what is the accuracy in use?).

    Mike Kaganski (Saturday, May 7, 2016 1:42 PM) #

I second the request, and suppose that this should be a property of a block that is accessible from context menu (like exponential threshold, number of decimals etc.) regardless of if there is an integration in it or not. In the end, the exponential threshold and kind of fractions isn't applicable to many blocks either, but they exist there, so why not another useful property?