mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 05:28:05 +00:00
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:
@@ -65,7 +65,7 @@ public sealed class Cheby2 : AbstractBase
|
||||
double wc = 2.0 * Math.PI / period;
|
||||
double Wc = 2.0 * Math.Tan(wc * 0.5);
|
||||
double epsilon = 1.0 / Math.Sqrt(Math.Pow(10.0, safeAtten * 0.1) - 1.0);
|
||||
double mu = System.Math.Asinh(1.0 / epsilon) * 0.5;
|
||||
double mu = Math.Asinh(1.0 / epsilon) * 0.5;
|
||||
double sinhMu = Math.Sinh(mu);
|
||||
double coshMu = Math.Cosh(mu);
|
||||
double sqrt2 = Math.Sqrt(2.0);
|
||||
@@ -246,7 +246,7 @@ public sealed class Cheby2 : AbstractBase
|
||||
double wc = 2.0 * Math.PI / period;
|
||||
double Wc = 2.0 * Math.Tan(wc * 0.5);
|
||||
double epsilon = 1.0 / Math.Sqrt(Math.Pow(10.0, safeAtten * 0.1) - 1.0);
|
||||
double mu = System.Math.Asinh(1.0 / epsilon) * 0.5;
|
||||
double mu = Math.Asinh(1.0 / epsilon) * 0.5;
|
||||
double sinhMu = Math.Sinh(mu);
|
||||
double coshMu = Math.Cosh(mu);
|
||||
double sqrt2 = Math.Sqrt(2.0);
|
||||
|
||||
Reference in New Issue
Block a user