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
Vincent Esche
e87459e5ae
Fixed functions that had accidentally been marked as `public`
2019-09-27 17:13:03 +02:00
Vincent Esche
a2149dee03
Improved tests for `Trigonometric.swifs`
2019-09-27 17:13:03 +02:00
Vincent Esche
cdf7731530
Improved test fixtures
2019-09-27 17:13:03 +02:00
Vincent Esche
46563559a3
Improved test fixtures
2019-09-27 17:13:03 +02:00
Vincent Esche
e9ab0ec813
Added benchmarks for functions in ‘Trigonometric.swift’
2019-09-27 17:13:03 +02:00
Vincent Esche
80fdb0ad22
Added missing `…InPlace` functions in ‘Trigonometric.swift’, turning value-functions into thin wrappers
2019-09-27 17:13:03 +02:00
Vincent Esche
f1503320ed
Renamed `X`/`x`/`xm` variables to `L`/`lhs`/`lm` in Trigonometric.swift
2019-09-27 17:13:03 +02:00
Vincent Esche
05f5b667b4
Removed last stray `measure { … }` from ‘AuxiliaryTests.swift’
2019-09-27 17:13:03 +02:00
Vincent Esche
f743b0f2dd
Merged ‘HyperbolicTests.swift’ into ‘TrigonometricTests.swift’
2019-09-27 17:13:03 +02:00
Vincent Esche
3f2f221f3a
Removed unnecessary explicit `Swift.` namespace prefix
2019-09-27 17:12:22 +02:00
Vincent Esche
f2a6f0bed5
Improved vector tests; removed redundant benchmarks
2019-09-27 17:12:22 +02:00
Mattt
13520a128d
Remove stray close parentheses from links in README
2019-09-25 06:17:27 -07:00