added an comment
All checks were successful
Build NuGet / build (push) Successful in 1m23s

This commit is contained in:
2026-04-13 23:22:55 -04:00
parent 94b37d02d5
commit 1d53af4b46

View File

@@ -4,6 +4,13 @@ namespace SJK.Math;
public static class SJKMath public static class SJKMath
{ {
/// <summary>
/// Gets the max number in a array of values.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="values"></param>
/// <returns></returns>
/// <exception cref="ArgumentException"></exception>
public static T Max<T>(params T[] values) where T : INumber<T> public static T Max<T>(params T[] values) where T : INumber<T>
{ {
if (values.Length == 0) if (values.Length == 0)