Vincent Esche
|
7f4543704f
|
Replaced `// MARK:` with `// MARK: - ` for nicer visual separation in Xcode
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
4bc8823311
|
Moved functions/operators with `lhs: Vector` into separate ‘Vector.swift’ file
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
c83f890f33
|
Moved functions/operators with `lhs: Scalar` into separate ‘Scalar.swift’ file
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
8dc7cbc180
|
Replaced use of named functions in ‘ArithmeticTests.swift’ with operators
By the latter forward to the former we thus essentually test both code-paths in one test.
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
202a4e5ed3
|
Moved arithmetic operators right next to their corresponding named functions
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
9b63cb159a
|
Unified file encodings to UTF-8
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
725a9baf85
|
Moved operator-precedence declarations into separate source file
|
2019-08-30 13:48:34 +02:00 |
Vincent Esche
|
03b3a35602
|
Deleted ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
1d149cec22
|
Moved improved ‘Inventory’ back into README
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
c111bc9e4c
|
Moved ‘License’ further up in README
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
4cdf019df6
|
Moved columns for `In-Place Function` into hidden HTML comments
This way they can still serve as good internal documentation, without cluttering the publicly visible README
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
b8cf92d630
|
Improved clustering of functions in ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
641b33b012
|
Added ‘DSP-specific Operations’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
e799af112e
|
Added ‘Matrix-specific Operations’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
d2dd38cc58
|
Added ‘Auxiliary Functions’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
71208d62a7
|
Added ‘Statistical Operations’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
93d93589d7
|
Added ‘Exponential Functions’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
bfd7b33396
|
Added ‘Trigonometric Operations’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
4a6210d643
|
Added ‘General Arithmetic Operations’ section to ‘INVENTORY.md’
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
1e073b24ad
|
Moved improved ‘Inventory’ section of ‘README.md’ into separate ‘Inventory.md’ file
|
2019-08-30 01:24:20 +02:00 |
Vincent Esche
|
4bbef2dc49
|
Added unit tests for diagonal matrix initializers
|
2019-08-30 01:08:04 +02:00 |
Vincent Esche
|
1d6a28ea7a
|
Added `static func eye(rows:columns:)` & `static func identity(size:)` to `Matrix<Scalar>`
|
2019-08-30 01:08:04 +02:00 |
Vincent Esche
|
805c28d844
|
Added `static func diagonal(rows:columns:repeatedValue)` to `Matrix<Scalar>`
|
2019-08-30 01:08:04 +02:00 |
Vincent Esche
|
0e7264bb45
|
Added missing `measure { … }` blocks in ‘ArithmeticTests.swift’
|
2019-08-30 00:48:05 +02:00 |
Vincent Esche
|
747f5aaa50
|
Resolved merge conflict
|
2019-08-30 00:48:05 +02:00 |
Vincent Esche
|
84ec46895a
|
Fix formatting
|
2019-08-30 00:48:05 +02:00 |
Vincent Esche
|
29ff1d8d53
|
Added unit tests & benchmarks for several arithmetic functions
|
2019-08-30 00:48:05 +02:00 |
Vincent Esche
|
cc1a716740
|
Fixed unit tests for `Matrix.sum(_:axies:)`
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
51f9480325
|
Added missing unit tests for matrix initializers
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
fd0a10dd8a
|
Moved computed test values into local `let actual` binding
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
2be03f3e08
|
Removed unused test function
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
28d7ea00c4
|
Fixed failing unit test due to large float and resulting decreased accuracy
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
a71761df7e
|
Fixed swiftlint violations
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
f077725674
|
Fix formatting
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
20487a63da
|
Renamed existing remaining test functions to match naming scheme
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
4a649d9c1a
|
Added unit tests for matrix arithmetic
|
2019-08-30 00:47:54 +02:00 |
Vincent Esche
|
f19efad153
|
Improved documentation of Surge-provided assert functions
|
2019-08-30 00:12:25 +02:00 |
Vincent Esche
|
f0b34e00c5
|
Improved assert helper ergonomics
|
2019-08-30 00:12:25 +02:00 |
Vincent Esche
|
3199fbce33
|
Added new files to ‘.xcodeproj’ file
|
2019-08-30 00:12:25 +02:00 |
Vincent Esche
|
5f186f0113
|
Changed `public func …InPlace` functions to `internal func …InPlace`
|
2019-08-29 12:20:45 +02:00 |
Vincent Esche
|
597aa02ac2
|
Fixed linting warnings
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
1c35503972
|
Fixed formatting
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
e67cfab808
|
Simplified `Vector<Scalar>` initializers
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
df03db0fd9
|
Fixed out-of-sync `// MARK - …` comments
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
00ad6b254a
|
Fixed indentation of test function
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
5eeeded84b
|
Added missing `…=` operators and tests for `Vector<Scalar>`
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
bc62fbf7fd
|
Added `func dist` & `func distSq` (squared distance) to `Vector`
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
de484bbac3
|
Added `func dist` & `func distSq` (squared distance) to `[Scalar]`
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
b3f098d716
|
Removed dead code from `Vector.swift`
|
2019-08-29 11:35:24 +02:00 |
Vincent Esche
|
2659ad8f20
|
Made `Vector<Scalar>`’s `var scalars` public, adding explicit test for changes in dimension
|
2019-08-29 11:35:24 +02:00 |