math_and_overrides#
Math and override functions.
Functions
|
Are the three points aligned? with decimal_precision. |
|
Numpy cross product with decimal_precision. |
|
Numpy dot product with decimal_precision. |
|
Numpy rounding with decimal_precision. |
|
Override the decimal_precision default (10). |
- cross(vector_1: array, vector_2: array) float [source]#
Numpy cross product with decimal_precision.
- Parameters:
vector_1 (np.array) – First of the cross product vectors
vector_2 (np.array) – Second of the cross product vectors
- Returns:
Rounded cross product
- Return type:
float
- dot(vector_1: array, vector_2: array) float [source]#
Numpy dot product with decimal_precision.
- Parameters:
vector_1 (np.array) – First of the dot product vectors
vector_2 (np.array) – Second of the dot product vectors
- Returns:
Rounded dot product
- Return type:
float