Skip to content

Commit d15ad86

Browse files
hyrodiumsethaxen
andauthored
Remove Octonion (#100)
* remove Octonion * update documentation * remove `INV_SQRT_EIGHT` Co-authored-by: Seth Axen <[email protected]> * remove `octo` Co-authored-by: Seth Axen <[email protected]> * remove octorand Co-authored-by: Seth Axen <[email protected]>
1 parent 5758dad commit d15ad86

File tree

6 files changed

+2
-714
lines changed

6 files changed

+2
-714
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,3 @@ Implemented functions are:
6161
slerp
6262
rand
6363
randn
64-
65-
Currently, this package supports the `Octonion` type, but this will be removed in the next breaking release.
66-
See https://github.com/JuliaGeometry/Quaternions.jl/issues/90 for more information.

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quaternions.jl
22

3-
A Julia package implementing [quaternions](https://en.wikipedia.org/wiki/Quaternion) and [octonions](https://en.wikipedia.org/wiki/Octonion).
3+
A Julia package implementing [quaternions](https://en.wikipedia.org/wiki/Quaternion).
44

55
!!! note "Documentation"
66
The documentation is still work in progress.

src/Octonion.jl

Lines changed: 0 additions & 187 deletions
This file was deleted.

src/Quaternions.jl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,14 @@ module Quaternions
1010
using LinearAlgebra: cross, dot
1111
using Random
1212

13-
Base.@irrational INV_SQRT_EIGHT 0.3535533905932737622004 sqrt(big(0.125))
1413

1514
include("Quaternion.jl")
16-
include("Octonion.jl")
1715

1816
export Quaternion,
1917
QuaternionF16,
2018
QuaternionF32,
21-
QuaternionF64,
22-
Octonion,
23-
OctonionF16,
24-
OctonionF32,
25-
OctonionF64
19+
QuaternionF64
2620
export quat
27-
export octo
2821
export imag_part
2922
export angleaxis
3023
export angle
@@ -33,7 +26,6 @@ module Quaternions
3326
export normalizea
3427
export quatrand
3528
export nquatrand
36-
export octorand
3729
export qrotation
3830
export rotationmatrix
3931
export slerp

0 commit comments

Comments
 (0)