|
11 | 11 | "cell_type": "markdown",
|
12 | 12 | "metadata": {},
|
13 | 13 | "source": [
|
14 |
| - "A function that converts a set of orthogonal vectors to a set of orthonormal basis vectors." |
| 14 | + "A function that converts a set of linearly independent vectors to a set of orthonormal basis vectors." |
15 | 15 | ]
|
16 | 16 | },
|
17 | 17 | {
|
|
32 | 32 | "cell_type": "markdown",
|
33 | 33 | "metadata": {},
|
34 | 34 | "source": [
|
35 |
| - "The `vectorspace_orthonormalization` converts a set of orthogonal vectors to a set of orthonormal basis vectors using the Gram-Schmidt process [1]. " |
| 35 | + "The `vectorspace_orthonormalization` converts a set linearly independent vectors to a set of orthonormal basis vectors using the Gram-Schmidt process [1]. " |
36 | 36 | ]
|
37 | 37 | },
|
38 | 38 | {
|
|
55 | 55 | "cell_type": "markdown",
|
56 | 56 | "metadata": {},
|
57 | 57 | "source": [
|
58 |
| - "Note that to convert a set of orthogonal vectors into a set of orthonormal basis vectors, the `vectorspace_orthonormalization` function expects the vectors to be arranged as columns of a matrix (here: NumPy array). Please keep in mind that the `vectorspace_orthonormalization` function also works for non orthogonal vector sets; however, the resulting vectorset won't be orthonormal as a result. An easy way to check whether all vectors in the input set are orthogonal is to use the `numpy.linalg.det` (determinant) function." |
| 58 | + "Note that to convert a set of linearly independent vectors into a set of orthonormal basis vectors, the `vectorspace_orthonormalization` function expects the vectors to be arranged as columns of a matrix (here: NumPy array). Please keep in mind that the `vectorspace_orthonormalization` function also works for non-linearly independent vector sets; however, the resulting vectorset won't be orthonormal as a result. An easy way to check whether all vectors in the input set are linearly independent is to use the `numpy.linalg.det` (determinant) function." |
59 | 59 | ]
|
60 | 60 | },
|
61 | 61 | {
|
|
137 | 137 | "cell_type": "markdown",
|
138 | 138 | "metadata": {},
|
139 | 139 | "source": [
|
140 |
| - "However, in case of linear dependence(the second column is a linear combination of the first column in the example below), the vector elements of one of the dependent vectors will become zero. (For a pair of linear dependent vectors, the one with the larger column index will be the one that's zero-ed.)" |
| 140 | + "However, in case of linear dependence (the second column is a linear combination of the first column in the example below), the vector elements of one of the dependent vectors will become zero. (For a pair of linear dependent vectors, the one with the larger column index will be the one that's zero-ed.)" |
141 | 141 | ]
|
142 | 142 | },
|
143 | 143 | {
|
|
186 | 186 | "\n",
|
187 | 187 | "Transforms a set of column vectors to a orthonormal basis.\n",
|
188 | 188 | "\n",
|
189 |
| - "Given a set of orthogonal vectors, this functions converts such\n", |
| 189 | + "Given a set of linearly independent vectors, this functions converts such\n", |
190 | 190 | "column vectors, arranged in a matrix, into orthonormal basis\n",
|
191 | 191 | "vectors.\n",
|
192 | 192 | "\n",
|
193 | 193 | "**Parameters**\n",
|
194 | 194 | "\n",
|
195 | 195 | "- `ary` : array-like, shape=[num_vectors, num_vectors]\n",
|
196 | 196 | "\n",
|
197 |
| - " An orthogonal set of vectors (arranged as columns in a matrix)\n", |
| 197 | + " A set of vectors (arranged as columns in a matrix)\n", |
198 | 198 | "\n",
|
199 | 199 | "\n",
|
200 | 200 | "- `eps` : float (default: 1e-13)\n",
|
|
0 commit comments