Compare commits
4 Commits
102e1da345
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d53af4b46 | |||
| 94b37d02d5 | |||
| 4543048f36 | |||
| 38565b7c42 |
@@ -1,24 +0,0 @@
|
|||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
jobs:
|
|
||||||
generate-docs:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Generate Docs
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup .NET
|
|
||||||
uses: actions/setup-dotnet@v4
|
|
||||||
with:
|
|
||||||
dotnet-version: 10.0.x
|
|
||||||
- name: Generate Documentation
|
|
||||||
uses: FuLagann/csharp-docs-generator@v1.0
|
|
||||||
with:
|
|
||||||
build-tasks: dotnet build
|
|
||||||
cleanup-tasks: dotnet clean
|
|
||||||
binaries: bin/Debug/net10.0/SjkScripts.dll
|
|
||||||
output-path: docs/api
|
|
||||||
user-email: ronnie.kisner.jr@gmail.com
|
|
||||||
user-name: C# Document Generator
|
|
||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user