style patterns

This commit is contained in:
Miha Kralj
2026-01-25 16:01:45 -08:00
parent 2836f253c4
commit e59665c8f0
399 changed files with 6892 additions and 1323 deletions
+5
View File
@@ -584,12 +584,17 @@ public class GBMTests
{
double mean = 0;
for (int i = 0; i < values.Length; i++)
{
mean += values[i];
}
mean /= values.Length;
double sumSquares = 0;
for (int i = 0; i < values.Length; i++)
{
sumSquares += (values[i] - mean) * (values[i] - mean);
}
return Math.Sqrt(sumSquares / values.Length);
}