Commit Graph

345 Commits

Author SHA1 Message Date
Mattt 6e4a47e63d
Bump version to 2.3.2 2021-01-14 10:39:32 -08:00
Mattt bc1c619487
Remove unnecessary imports of Foundation (#178) 2021-01-14 10:38:04 -08:00
Brett Park d1eeceea6c
Remove Dependance on Foundation NSString (#177)
* Remove Dependance on Foundation NSString

* Use array to represent V for eigenDecompose
2021-01-14 10:37:48 -08:00
Mattt 372ba2830c
Bump version to 2.3.1 2021-01-02 03:30:35 -08:00
Mattt 807d73e9be
Add release automation (#175)
* Add release workflow

* Update podspec file

* Set iOS deployment target to iOS 9

Fixes 'The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.2.99.'

* Specify paths for CI runs for PRs
2021-01-02 03:28:57 -08:00
Mattt 57d7ebc03f
Name CI Jobs (#174)
* Interpolate scheme from OS name

* Add names to CI jobs
2020-12-30 05:12:36 -08:00
p-x9 008ece8180
fix floor (#172) 2020-12-30 05:04:53 -08:00
Mattt 97457e9560
Fix lint job in CI workflow (#173)
* Update to norio-nomura/action-swiftlint@3.2.0

* Run swiftlint directly without external action

* Run on macos-latest

* Calculate diff relative to github.base_ref

* Update to actions/checkout@v2

* Checkout with ref to github.head_ref

* Specify bash shell

* Fetch origin master before running git diff

* Checkout with fetch-depth of 0

* Prefix base ref with origin/

* Fetch and find common ancestor manually

* Run SwiftLint against all files

* Lint with --strict
2020-12-30 04:53:49 -08:00
Vincent Esche d4e2aa0187 Fixed inventory listing of matrix addition/subtraction APIs 2020-05-16 20:53:03 +02:00
Vincent Esche 34edcb6400 Added missing power operators for `Array` 2020-05-16 20:52:49 +02:00
Vincent Esche ff1e0b6e08 Removed coercion of `inout` to temporary pointer 2020-05-16 20:52:40 +02:00
Mattt 868274ce26
Add GitHub Actions CI workflow (#168)
* Add CI workflow

* Remove .travis.yml

* Update CI badge in README
2020-05-12 10:55:42 -07:00
Mattt de80b69526
Resolve SwiftLint Warnings (#167)
* Disable implicit_return rule

* Unescape slashes in file header pattern

Decrease indentation level for file header pattern

* Fix 'warning: Contains over first not nil Violation: Prefer `contains` over `first(where:) != nil` (contains_over_first_not_nil)'

* Fix 'warning: Mark Violation: MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...' (mark)'
2020-05-12 07:44:58 -07:00
Shiva Huang b150e4f895 Update usage of `mul` in README and playground should to `elmul`. 2019-12-19 14:52:12 +01:00
Vincent Esche b9777a8d0c Fixed repository urls in podspec file 2019-11-02 18:20:48 +01:00
Vincent Esche d6a68e890c Updated 'README.md' file 2019-11-02 18:11:11 +01:00
Vincent Esche 4344c8dabe Updated podspec file, deleted deprecated '.swift-version' file 2019-11-02 18:11:11 +01:00
Vincent Esche da8da3835a Replaced `mu`/`sigma` with the more descriptive `mean`/`stdDeviation` 2019-11-02 17:02:50 +01:00
Vincent Esche 844fd175cf Configured 'SurgeTests' test bundle to run tests in parallel and randomized order for faster and more correct testing 2019-11-01 14:17:34 +01:00
Vincent Esche d2318c4c34
Added functions for generating uniform/normal distributed randomness (#154)
Added functions for generating uniform/normal distributed randomness
2019-10-29 18:10:20 +01:00
Aaron Nance 4c3a462741 Fix minor arithmetic typo. 2019-10-23 11:56:15 +02:00
Vincent Esche 2f35e09724 Added `var shape: Shape` to `Matrix<Scalar>` (with possible values `.tall`, `.wide`, `.square`) 2019-10-16 14:54:34 +02:00
Vincent Esche bbbfbd722e Added `var isSquare: Bool` to `Matrix<Scalar>` 2019-10-16 14:27:34 +02:00
Vincent Esche 538cf0c7fa Added '.swiftpm' to tracked git files 2019-10-15 16:00:48 +02:00
Vincent Esche 46c7030c4d Fixed unit tests 2019-10-15 15:44:35 +02:00
Vincent Esche 3628056b3b Fixed typo in unit test 2019-10-10 23:04:07 +02:00
Vincent Esche d9a1652ec7 Refactored test fixtures to allow mapping to a range, rather than just scaling 2019-10-10 23:04:07 +02:00
Vincent Esche 4daa68a023 Added `…InPlace` variants for functions in ‘Auxiliary.swift’ and added missing unit tests 2019-10-10 23:04:07 +02:00
Vincent Esche a30b24ca18 Renamed `internal`-scoped `func modInPlace([_], [_])` to the more appropriate `elmodInPlace` 2019-10-10 22:51:38 +02:00
Vincent Esche 9d217f4e45 Added caching for Homebrew 2019-10-10 22:42:03 +02:00
Mattt f9137e3121
Update README.md
Fix build status url
2019-10-10 19:35:27 +02:00
Mattt 728063f1bc
Merge pull request #141 from mattt/mattt/update-readme
Update README
2019-10-10 03:07:10 -07:00
Mattt d2b3b04371
Update badges in README 2019-10-10 12:06:23 +02:00
Mattt d95b7658d3
Update urls for Surge in README 2019-10-10 12:06:23 +02:00
Mattt 2758ba8d84
Update section about naming of Surge and Jounce 2019-10-10 12:06:14 +02:00
Vincent Esche ed2efa9a01 Added ‘xcpretty’ to Travis-CI config 2019-10-05 17:00:54 +02:00
Vincent Esche 5f264ac56e Moved generic type constraints into `where` clause 2019-10-05 17:00:42 +02:00
Vincent Esche 5cb86b9e3f Unified generic parameter names 2019-10-05 17:00:42 +02:00
Vincent Esche 0cb5f892ab Added ‘.swiftformat’ config file 2019-10-05 16:41:22 +02:00
Vincent Esche 540307b52a Improved formatting
# Conflicts:
#	Sources/Surge/Linear Algebra/Matrix.swift
2019-10-05 16:41:22 +02:00
Vincent Esche 8fdbdf5cbf Fixed name misnamed test functions 2019-10-03 17:49:35 +02:00
Vincent Esche ba7acd70a7 Fixed typos in test fixture 2019-10-03 15:54:38 +02:00
Vincent Esche 254da517d9 Added closure-based initializer function for Vector and corresponding unit test 2019-10-03 12:59:09 +02:00
Vincent Esche 2d370f39de Added closure-based initializer function for Matrix and corresponding unit test 2019-10-03 12:59:09 +02:00
Vincent Esche 8af8d180db Set access-level of members of `MatrixEigenDecompositionResult<Scalar>` to `public` 2019-10-02 01:32:06 +02:00
Vincent Esche 3d2fe603dd Updated ‘README.md’ 2019-10-02 01:31:29 +02:00
Vincent Esche eaac5da763 Added unit tests for ‘Statistics.swift’ 2019-10-02 01:31:29 +02:00
Vincent Esche 3b121749be Improved comments of ‘Statistics.swift’ 2019-10-02 01:31:29 +02:00
Vincent Esche 47393dae7f Refactored `func std` based on `func variance` 2019-10-02 01:31:29 +02:00
Vincent Esche 4b543d8f15 Added functions for calculating variance 2019-10-02 01:31:29 +02:00