Skip to content

Commit

Permalink
Updated heading format and page name
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed Mar 22, 2024
1 parent 5b3824c commit 99acf56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ makedocs(;
),
pages=[
"Home" => "index.md",
"Types" => "types.md",
"Clifford number types" => "numeric.md",
"Operations" => "operations.md",
"API" => "api.md"
],
Expand Down
12 changes: 7 additions & 5 deletions docs/src/types.md → docs/src/numeric.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This package exports a variety of types that represents elements of Clifford algebras.

## `AbstractCliffordNumber{Q,T}`
## `AbstractCliffordNumber{Q,T}` and subtypes

The `AbstractCliffordNumber{Q,T}` type is the supertype for all implmentations of Clifford numbers.
`Q` is a `QuadraticForm`, which describes the number of dimensions with positive, negative, and zero
Expand Down Expand Up @@ -30,7 +30,7 @@ ones described below.
CliffordNumbers.CliffordNumber
```

### `EvenCliffordNumber{Q,T,L}` and `OddCliffordNumber{Q,T,L}`
### `EvenCliffordNumber{Q,T,L}` and `OddCliffordNumber{Q,T,L}`: even and odd graded elements

These types represent Clifford numbers of exclusively even or odd grade, respectively.

Expand All @@ -44,7 +44,7 @@ CliffordNumbers.OddCliffordNumber
CliffordNumbers.Z2CliffordNumber
```

### `KVector{K,Q,T,L}`
### `KVector{K,Q,T,L}`: elements of homogeneous grade

This type represents a k-vector, or a Clifford number of homogeneous grade, with the parameter `K`
indicating the grade.
Expand Down Expand Up @@ -124,6 +124,8 @@ ERROR: InexactError: ...
!!! danger
This is an extremely important point: **construction of a Clifford number type with fewer grades
than the input performs a grade projection operation.** Conversion *will* throw an error if the
result is not exactly representable. This is ***not*** how other subtypes of `Number` defined by
Julia Base behave, as the conversion operation is identical to the constructor.
result is not exactly representable.

**This is not how other subtypes of `Number` defined by Julia Base behave**, as their conversion
operations are generally defined to be identical to the constructor.

0 comments on commit 99acf56

Please sign in to comment.