accsum

accsum Commit Details

Date:2014-05-21 10:47:53 (4 years 2 months ago)
Author:Sylvain Genin
Commit:30
Parents: 29
Message:replacing st_deviation by stdev
Changes:
M/demos/ademo.sce

File differences

demos/ademo.sce
3434
3535
3636
37
37
3838
3939
4040
// The values are large, of opposite signs and are so that the
// sum is small. This is a worst case for the sum, as it
// maximizes the possibilities of cancellation.
[min(x) mean(x) st_deviation(x) max(x)]
[min(x) mean(x) stdev(x) max(x)]
s=sum(x)
[s,e] = accsum_compsum ( x )
[s,e] = accsum_dblcompsum ( x )

Archive Download the corresponding diff file

Revision: 30