@@ -7,16 +7,16 @@ This module contains some useful classes and functions for dealing with linear a
77## Overview
88
99- class Vector
10- - This class represents a vector of arbitray size and operations on it.
10+ - This class represents a vector of arbitrary size and operations on it.
1111
1212 ** Overview about the methods:**
1313
1414 - constructor(components : list) : init the vector
15- - set(components : list) : changes the vector components.
15+ - set(components : list) : changes the vector components
1616 - __ str__ () : toString method
17- - component(i : int): gets the i-th component (start by 0)
17+ - component(i : int): gets the i-th component (start with 0)
1818 - size() : gets the size of the vector (number of components)
19- - euclidLength() : returns the eulidean length of the vector.
19+ - euclidLength() : returns the euclidean length of the vector.
2020 - operator + : vector addition
2121 - operator - : vector subtraction
2222 - operator * : scalar multiplication and dot product
@@ -58,20 +58,20 @@ This module contains some useful classes and functions for dealing with linear a
5858
5959The module is well documented. You can use the python in-built ``` help(...) ``` function.
6060For instance: ``` help(Vector) ``` gives you all information about the Vector-class.
61- Or ``` help(unitBasisVector) ``` gives you all information you needed about the
62- global function ``` unitBasisVector(...) ``` . If you need informations about a certain
61+ Or ``` help(unitBasisVector) ``` gives you all information you need about the
62+ global function ``` unitBasisVector(...) ``` . If you need information about a certain
6363method you type ``` help(CLASSNAME.METHODNAME) ``` .
6464
6565---
6666
6767## Usage
6868
69- You will find the module in the ** src** directory its called ``` lib.py ``` . You need to
70- import this module in your project. Alternative you can also use the file ``` lib.pyc ``` in python-bytecode.
69+ You will find the module in the ** src** directory called ``` lib.py ``` . You need to
70+ import this module in your project. Alternatively you can also use the file ``` lib.pyc ``` in python-bytecode.
7171
7272---
7373
7474## Tests
7575
76- In the ** src** directory you also find the test-suite, its called ``` tests.py ``` .
76+ In the ** src** directory you can also find the test-suite, its called ``` tests.py ``` .
7777The test-suite uses the built-in python-test-framework ** unittest** .
0 commit comments