chore: repo cleanup and code quality improvements

- Remove global.json (SDK pinning unnecessary)

- Remove nuget.config, move MyGet source to .csproj RestoreAdditionalProjectSources

- Gitignore ndepend/ entirely, move badges to docs/img/

- Update README.md and docs/ndepend.md badge paths

- Add NDepend project property to QuanTAlib.slnx

- Expand .editorconfig ReSharper/diagnostic suppressions

- Use ArgumentOutOfRangeException instead of ArgumentException

- Use discard _ for unused event sender parameters

- Remove quantalib.code-workspace and sonar-suppressions.json

- Add filter signature SVGs
This commit is contained in:
Miha Kralj
2026-03-03 09:22:55 -08:00
parent e1a6743bda
commit 1910fdca93
131 changed files with 216046 additions and 2027 deletions
-10
View File
@@ -87,13 +87,9 @@ public sealed class Rema : AbstractBase
}
source.Pub += Handle;
}
/// <inheritdoc/>
public override bool IsHot => _state.IsHot;
private const int StackAllocThreshold = 512;
/// <inheritdoc/>
public override void Prime(ReadOnlySpan<double> source, TimeSpan? step = null)
{
if (source.Length == 0)
@@ -162,8 +158,6 @@ public sealed class Rema : AbstractBase
}
return _lastValidValue;
}
/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
public override TValue Update(TValue input, bool isNew = true)
{
@@ -184,8 +178,6 @@ public sealed class Rema : AbstractBase
PubEvent(Last, isNew);
return Last;
}
/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
public override TSeries Update(TSeries source)
{
@@ -450,8 +442,6 @@ public sealed class Rema : AbstractBase
TSeries results = rema.Update(source);
return (results, rema);
}
/// <inheritdoc/>
public override void Reset()
{
_state = State.New();
-12
View File
@@ -47,8 +47,6 @@ public sealed class Rgma : AbstractBase
private const double COVERAGE_THRESHOLD = 0.05;
private const int ResyncInterval = 10000;
private const int StackAllocThreshold = 512;
/// <inheritdoc/>
public override bool IsHot => _state.IsHot;
/// <summary>
@@ -112,8 +110,6 @@ public sealed class Rgma : AbstractBase
}
return _lastValidValue;
}
/// <inheritdoc/>
public override void Prime(ReadOnlySpan<double> source, TimeSpan? step = null)
{
if (source.Length == 0)
@@ -190,8 +186,6 @@ public sealed class Rgma : AbstractBase
}
}
}
/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
public override TValue Update(TValue input, bool isNew = true)
{
@@ -234,8 +228,6 @@ public sealed class Rgma : AbstractBase
PubEvent(Last, isNew);
return Last;
}
/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
public override TSeries Update(TSeries source)
{
@@ -463,8 +455,6 @@ public sealed class Rgma : AbstractBase
TSeries results = rgma.Update(source);
return (results, rgma);
}
/// <inheritdoc/>
public override void Reset()
{
_state = State.New();
@@ -475,8 +465,6 @@ public sealed class Rgma : AbstractBase
Array.Fill(_p_filters, double.NaN);
Last = default;
}
/// <inheritdoc/>
protected override void Dispose(bool disposing)
{
if (!_disposed)