Welcome to the new Splunkbase! To return to the old Splunkbase, click here.
Math extensions app icon

Math extensions

The Math extensions Add-on provides a set of math related macros. # Supported Macros (Version 1.0.0) -- Factorial -- * `factorial_stirling(stirling_input)` calculates the factorial using stirlings approximation. Results are correct up to factorial 4. After that, only approximations are calculated. * `factorial_lookup(factorial_lookup_input, factorial_lookup_output)` calculates the factorial based on an lookup. It is possible to calculate the factorial up to 200. -- Haversine -- Calculates the distance between two points on earth * `haversine(hav_input_lat1,hav_input_lon1,hav_input_lat2,hav_input_lon2)` defaults to unit = 'km', output field to 'distance'. * `haversine(hav_input_lat1,hav_input_lon1,hav_input_lat2,hav_input_lon2,hav_unit)` defaults output field to 'distance', it is possible to choose 'km', 'nm' or 'mi' as output unit. * `haversine(hav_input_lat1,hav_input_lon1,hav_input_lat2,hav_input_lon2,hav_unit,hav_output_field)` * `nCk(nck_n, nck_k, nck_output)` calculates the binomial coefficient * `nPk(npk_n, npk_k, npk_output)` calculates the permutations from n of k

splunk product badge

Latest Version 1.0.1
May 6, 2024
Compatibility
Not Available
Platform Version: 9.4, 9.3, 9.2, 9.1, 9.0, 8.2, 8.1, 8.0, 7.3, 7.2
Rating

0

(0)

Log in to rate this app
The Math extensions Add-on provides a set of math related macros. # Supported Macros (Version 1.0.0) -- Factorial -- * `factorial_stirling(stirling_input)` calculates the factorial using stirlings approximation. Results are correct up to factorial 4. After that, only approximations are calculated. * `factorial_lookup(factorial_lookup_input, factorial_lookup_output)` calculates the factorial based on an lookup. It is possible to calculate the factorial up to 200. -- Haversine -- Calculates the distance between two points on earth * `haversine(hav_input_lat1,hav_input_lon1,hav_input_lat2,hav_input_lon2)` defaults to unit = 'km', output field to 'distance'. * `haversine(hav_input_lat1,hav_input_lon1,hav_input_lat2,hav_input_lon2,hav_unit)` defaults output field to 'distance', it is possible to choose 'km', 'nm' or 'mi' as output unit. * `haversine(hav_input_lat1,hav_input_lon1,hav_input_lat2,hav_input_lon2,hav_unit,hav_output_field)` * `nCk(nck_n, nck_k, nck_output)` calculates the binomial coefficient * `nPk(npk_n, npk_k, npk_output)` calculates the permutations from n of k

Categories

Created By

Consist Software Solutions

Type

addon

Downloads

552

Resources

Login to report this app listing