Работа над документацией по библиотеке

This commit is contained in:
Andrey Pokidov 2026-04-01 20:44:49 +07:00
parent 8ba075b557
commit e2bf8d28a8
17 changed files with 233 additions and 69 deletions

View file

@ -5,13 +5,13 @@
Quaternions are hypercomplex numbers that extend the concept of complex numbers.
They consist of one real component and three imaginary components:
q = s + ix + jy + kz
q = s + i⋅x + j⋅y + k⋅z
where:
- s, x, y, z ∈ R are real numbers
- i, j, k are imaginary units that satisfy the following conditions:
- i<sup>2</sup> = j<sup>2</sup> = k<sup>2</sup> = ijk = -1
- i<sup>2</sup> = j<sup>2</sup> = k<sup>2</sup> = i&sdot;j&sdot;k = -1
Quaternions were discovered by mathematician William Hamilton and introduced
to the public in 1843. They have found wide application in computer graphics,
@ -38,11 +38,15 @@ Structure definitions:
```
Fields:
- **s** is the real part of the quaternion. It is named after the word "scalar".
- **x**, **y**, **z** - Imaginary components of the quaternion.
- *s* is the real part of the quaternion. It is named after the word "scalar".
- *x*, *y*, *z* - Imaginary components of the quaternion.
## Functions
- [Reset](quaternion/reset-eng.md)
- bgc_fp32_quaternion_reset
- bgc_fp64_quaternion_reset
- [Reset](quaternion/reset-eng.md)
- bgc_fp32_quaternion_reset
- bgc_fp64_quaternion_reset