Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-place all the things! (Arithmetic Edition) #119

Merged
merged 28 commits into from
Sep 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6214220
Added `Matrix += Matrix` and turned `Matrix + Matrix` into a shallow …
regexident Sep 23, 2019
55fca33
Added `mulAdd(Matrix, Matrix)` (multiply-add) and turned existing add…
regexident Sep 23, 2019
59cf4d7
Re-ordered functions in ‘Arithmetic.swift’ file
regexident Sep 24, 2019
6691d4b
Renamed `mulAdd…` to `muladd…` to match `elmul`, etc
regexident Sep 24, 2019
5bf036f
Renamed ‘General Arithmetic’ directory to ‘Arithmetic’
regexident Sep 24, 2019
6a5f1ad
Added `muladd`/`muladdInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
b861d15
Turned `add…`/`sub…` into thin wrappers of `muladd…` (in ‘Arithmetic.…
regexident Sep 24, 2019
051ba39
Changed `mul…` of ’Arithmetic.swift’ be implemented in terms of `mulI…
regexident Sep 24, 2019
0361ed7
Changed `div…` of ’Arithmetic.swift’ be implemented in terms of `divI…
regexident Sep 24, 2019
a71e256
Added `modInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
69f30da
Changed `mod…` of ’Arithmetic.swift’ be implemented in terms of `modI…
regexident Sep 24, 2019
1bf77ae
Added `remainderInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
1621284
Changed `remainder…` of ’Arithmetic.swift’ be implemented in terms of…
regexident Sep 24, 2019
75b3096
Added `expInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
deb2059
Changed `exp…` of ’Arithmetic.swift’ be implemented in terms of `expI…
regexident Sep 24, 2019
b74ce65
Added `exp2InPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
9be1987
Changed `exp2…` of ’Arithmetic.swift’ be implemented in terms of `exp…
regexident Sep 24, 2019
76db7ce
Added `powInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
a115c6a
Changed `pow…` of ’Arithmetic.swift’ be implemented in terms of `powI…
regexident Sep 24, 2019
5826dee
Added `sqrtInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
c7e192a
Changed `sqrt…` of ’Arithmetic.swift’ be implemented in terms of `sqr…
regexident Sep 24, 2019
85357d6
Removed unnecessary array allocation from `add`/`sub` in ‘Arithmetic.…
regexident Sep 24, 2019
037e33a
Added `modPlace` for `R: Float/Double` to ‘Arithmetic.swift’
regexident Sep 24, 2019
b4f985d
Changed `mod…` for `R: Float/Double` of ’Arithmetic.swift’ be impleme…
regexident Sep 24, 2019
196a7d3
Added `sq` & `sqInPlace` to ‘Arithmetic.swift’
regexident Sep 24, 2019
6e91179
Changed `distSq…` of ’Arithmetic.swift’ to be implemented in terms of…
regexident Sep 24, 2019
ddef618
Fixed missing `return` in `func add` of ‘Arithmetic.swift’
regexident Sep 24, 2019
d66ed75
Removed need for `let elementCount: Int32 = numericCast(lhs.count)` i…
regexident Sep 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading