CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jan 2016 |
| SPMSupports SPM | ✗ |
Maintained by Daniel Lee.
This project is just a simple practice on Swift and Accelerate framework. The swift files contain some basic function used in numeric computation. The main functionality is build upon Accelearate framework which leaverages SIMD of the CPU, which make the codes run faster than native Swift code.
I am a big fan of python. In this project, you can find many of the functions mimic the API from numpy which is a popular package for scientific computation.
I hope you enjoy this package. Cheers.
Accelerate frameworkFoundation frameworkNumSwift make test-osx on Mac OSX.NumSwift make module NumSwiftModule NumSwift.swiftmodule, NumSwift.swiftdoc and libNumSwift.dylib NumSwiftModule in you XCode Project. swiftc instead with flags -I and -L main.swift and import NumSwift in it, you can run xcrun -sdk macosx swiftc -I /path/to/NumSwiftModule -L /path/to/NumSwiftModule -lNumSwift -o main. NumSwift.xcodeproj under NumSwift/NumSwift/ directory.Build.NumSwift.framework under NumSwift/NumSwift/. Drag the framework file to any project you’d like to use it.NumSwift in your project.vDSP_DFT_XXX rather than vDSP_fft_XXX.DFT over fft is located in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Kernel.framework/Versions/Current/Headers/vecLib on my computer. Go see it for yourself. MIT