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

Remove Octonion #100

Merged
merged 6 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,3 @@ Implemented functions are:
slerp
rand
randn

Currently, this package supports the `Octonion` type, but this will be removed in the next breaking release.
See https://github.com/JuliaGeometry/Quaternions.jl/issues/90 for more information.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Quaternions.jl

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

!!! note "Documentation"
The documentation is still work in progress.
Expand Down
187 changes: 0 additions & 187 deletions src/Octonion.jl

This file was deleted.

10 changes: 1 addition & 9 deletions src/Quaternions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,14 @@ module Quaternions
using LinearAlgebra: cross, dot
using Random

Base.@irrational INV_SQRT_EIGHT 0.3535533905932737622004 sqrt(big(0.125))

include("Quaternion.jl")
include("Octonion.jl")

export Quaternion,
QuaternionF16,
QuaternionF32,
QuaternionF64,
Octonion,
OctonionF16,
OctonionF32,
OctonionF64
QuaternionF64
export quat
export octo
export imag_part
export angleaxis
export angle
Expand All @@ -33,7 +26,6 @@ module Quaternions
export normalizea
export quatrand
export nquatrand
export octorand
export qrotation
export rotationmatrix
export slerp
Expand Down
Loading