Lightning charts
these guys use the NMath library for their math:
CenterSpace
FloatVector v1 = new FloatVector(length);
FloatVector v2 = new FloatVector(length);
// Summing v1 and v2 will yield a vector of all 1's.
FloatVector sum = v1 + v2;
// Vector scalar operators are also provided.
float a = 2;
FloatVector asum = v1 + a * v2;
Filtering data code:
int numberLeft = 4; int numberRight = 5; DoubleVector filterCoefficients = MovingWindowFilter.MovingAverageCoefficients(numberLeft, numberRight); MovingWindowFilter movingAverageFilter = new MovingWindowFilter(numberLeft, numberRight, filterCoefficients); DoubleVector filteredSignal = movingAverageFilter.Filter(signal, MovingWindowFilter.BoundaryOption.PadWithZeros);
Summary:
I like the vecto math style for arithmethics. I assume this library could be used to allow performant math processing
the NMath is based on BLAS
No comments:
Post a Comment