Have builtin function to get mean also for array of (long) integers
Original Reporter info from Mantis: tudi_x
-
Reporter name: Tudor Hulban
Original Reporter info from Mantis: tudi_x
- Reporter name: Tudor Hulban
Description:
Currently as per https://www.freepascal.org/docs-html/rtl/math/mean.html there is built in function to get mean for arrays of real numbers.
To cover also array of integers the functionality could be extended.
Please see also:
http://forum.lazarus.freepascal.org/index.php/topic,38865.0.html
and:
https://stackoverflow.com/questions/38827605/easiest-way-to-find-the-mean-of-a-dynamic-array
Thank you
Mantis conversion info:
- Mantis ID: 32661
- OS: all
- Build: 3.0.4
- Platform: all
- Version: 3.0.2
- Fixed in revision: 37688 (#a5487d32)