Surge
Surge copied to clipboard
A Swift library that uses the Accelerate framework to provide high-performance functions for matrix math, digital signal processing, and image manipulation.
failed - XCTAssertEqualWithAccuracy failed: Failure at index [16]: (0.13038404) is not equal to (0.13038406) +/- (1e-08) test_rec_in_place_array_float() also failed at failed - XCTAssertEqualWithAccuracy failed: Failure at index [0]: (999.9999) is...
I am attempting to plot a periodogram in Swift of a signal using Surge. Code: ``` var fft_mat = Surge.pow(Surge.fft(signal), 2) var const_mult = 2.0/Double(signal.count) for var i in 0..
I have a simple numerical analysis that uses Surge working on iOS (iPadOS, and via Catalyst, on macOS) that I would like to try on an Apple Watch. Despite setting...
If I'm not mistaken, randomNormal is not documented (along with some of the enhancements in the latest release) on the main page. Should this be added to the list of...
Surge functionality is, for the most part, "self-documenting". Functions follow standard naming conventions and take typed LHS / RHS arguments in such a way that anyone familiar with the domain...
## tl;dr Surge currently provides separate implementations for each function for `Float` and `Double`, respectively. This makes Surge basically incompatible with Swift's `T: FloatingPoint` generics. By introducing a little bit...
I would like to propose the following (WIP) roadmap of changes for a future 3.0 release: # Code ## Non-breaking - [ ] [Auto-generate unit tests & benchmarks](https://github.com/Jounce/Surge/issues/145) - [...
# tl;dr A pair of functions seems to have been marked as `public` at some point in the past, that should have remained `internal` and have since been obsoleted. We...
# tl;dr Surge's API naming scheme does not quite follow Swift's [API Design Guidelines](https://swift.org/documentation/api-design-guidelines/). We might want to fix that. # What Swift and its stdlib have gone through several...