/** * Calculates the hypothesis of a multidimensional triangle * * @param number|array $arg[0] * @param number|array $arg[1] * ...... * * @return float */ public static function pythagoras() { return sqrt(Math::sumOfSquares(func_get_args())); }