30 lines
718 B
Markdown
30 lines
718 B
Markdown
# MatrixMania
|
|
|
|
A small teaching package for basic linear algebra operations.
|
|
|
|
## Overview
|
|
|
|
**MatrixMania** is a lightweight educational package for performing basic linear algebra operations such as matrix multiplication, transposition, and generating 2D or 3D rotation matrices.
|
|
It is intended for learning and demonstration purposes.
|
|
|
|
---
|
|
|
|
## Functions
|
|
|
|
### `matmul(A, B)`
|
|
Performs matrix multiplication between two 2D lists (matrices).
|
|
|
|
**Parameters**
|
|
- `A` (`List[List[float]]`): The first matrix.
|
|
- `B` (`List[List[float]]`): The second matrix.
|
|
|
|
**Returns**
|
|
- `List[List[float]]`: The resulting matrix product.
|
|
|
|
**Example**
|
|
```python
|
|
from matrixmania import matmul
|
|
|
|
print(matmul([[1, 2]], [[3], [4]]))
|
|
# [[11]]
|