compute the arithmetic mean of the characters (bytes) in a string
ArithmeticMean( s )
The ArithmeticMean(s) command returns the arithmetic mean of the byte values of the characters present in the string s. The mean is computed as a floating-point number in hardware precision and is returned as a Maple float.
The arithmetic mean of a sufficiently long random string should be close to 128.
m ≔ ArithmeticMean⁡cat
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.