diff --git a/README.md b/README.md index 1120965..a4c015e 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,12 @@ pip install multivectors ``` ## Usage -```py -import math -from multivectors import x, y, z - -v = 2*x + 3*y + 4*z -print(v.rotate(math.pi/2, x * y)) -``` -Output: -``` +```python +>>> import math +>>> from multivectors import x, y, z +>>> v = 2*x + 3*y + 4*z +>>> print(v.rotate(math.pi/2, x * y)) (-3.00x + 2.00y + 4.00z) -``` \ No newline at end of file +``` + +For more see [the docs](https://github.com/Kenny2github/MultiVectors/wiki) \ No newline at end of file diff --git a/multivectors.py b/multivectors.py index d1c0f49..6f34ae4 100644 --- a/multivectors.py +++ b/multivectors.py @@ -8,17 +8,15 @@ ``` ## Usage -```py -import math -from multivectors import x, y, z - -v = 2*x + 3*y + 4*z -print(v.rotate(math.pi/2, x * y)) -``` -Output: -``` +```python +>>> import math +>>> from multivectors import x, y, z +>>> v = 2*x + 3*y + 4*z +>>> print(v.rotate(math.pi/2, x * y)) (-3.00x + 2.00y + 4.00z) ``` + +For more see [the docs](https://github.com/Kenny2github/MultiVectors/wiki) """ from __future__ import annotations from itertools import combinations @@ -36,7 +34,7 @@ 'w' ] -__version__ = '0.0.0' +__version__ = '0.1.0' NAMES = 'xyzw'