File tree Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,12 @@ pip install multivectors
7
7
```
8
8
9
9
## Usage
10
- ``` py
11
- import math
12
- from multivectors import x, y, z
13
-
14
- v = 2 * x + 3 * y + 4 * z
15
- print (v.rotate(math.pi/ 2 , x * y))
16
- ```
17
- Output:
18
- ```
10
+ ``` python
11
+ >> > import math
12
+ >> > from multivectors import x, y, z
13
+ >> > v = 2 * x + 3 * y + 4 * z
14
+ >> > print (v.rotate(math.pi/ 2 , x * y))
19
15
(- 3. 00x + 2. 00y + 4. 00z )
20
- ```
16
+ ```
17
+
18
+ For more see [ the docs] ( https://github.com/Kenny2github/MultiVectors/wiki )
Original file line number Diff line number Diff line change 8
8
```
9
9
10
10
## Usage
11
- ```py
12
- import math
13
- from multivectors import x, y, z
14
-
15
- v = 2*x + 3*y + 4*z
16
- print(v.rotate(math.pi/2, x * y))
17
- ```
18
- Output:
19
- ```
11
+ ```python
12
+ >>> import math
13
+ >>> from multivectors import x, y, z
14
+ >>> v = 2*x + 3*y + 4*z
15
+ >>> print(v.rotate(math.pi/2, x * y))
20
16
(-3.00x + 2.00y + 4.00z)
21
17
```
18
+
19
+ For more see [the docs](https://github.com/Kenny2github/MultiVectors/wiki)
22
20
"""
23
21
from __future__ import annotations
24
22
from itertools import combinations
36
34
'w'
37
35
]
38
36
39
- __version__ = '0.0 .0'
37
+ __version__ = '0.1 .0'
40
38
41
39
NAMES = 'xyzw'
42
40
You can’t perform that action at this time.
0 commit comments