Skip to content

Commit fadbbde

Browse files
author
andrewtliew
committed
- First push of hpc.geometry.basic.
1 parent 94f1e9c commit fadbbde

File tree

3 files changed

+637
-2
lines changed

3 files changed

+637
-2
lines changed

src/compas/geometry/basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ def multiply_matrices(A, B):
926926
--------
927927
>>> A = [[2.0, 0.0, 0.0], [0.0, 2.0, 0.0], [0.0, 0.0, 2.0]]
928928
>>> B = [[2.0, 0.0, 0.0], [0.0, 2.0, 0.0], [0.0, 0.0, 2.0]]
929-
>>> dot_matrices(A, B)
929+
>>> multiply_matrices(A, B)
930930
[[4.0, 0.0, 0.0], [0.0, 4.0, 0.0], [0.0, 0.0, 4.0]]
931931
932932
"""
@@ -973,7 +973,7 @@ def multiply_matrix_vector(A, b):
973973
--------
974974
>>> matrix = [[2.0, 0.0, 0.0], [0.0, 2.0, 0.0], [0.0, 0.0, 2.0]]
975975
>>> vector = [1.0, 2.0, 3.0]
976-
>>> dot_matrix_vector(matrix, vector)
976+
>>> multiply_matrix_vector(matrix, vector)
977977
[2.0, 4.0, 6.0]
978978
979979
"""
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from .basic import *
2+
3+
from .basic import __all__ as a
4+
5+
__all__ = a

0 commit comments

Comments
 (0)