922ee7739e11fe8033e55f0ae26801dd7a63f326
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
from matrixmania import matmul
print(matmul([[1, 2]], [[3], [4]]))
# [[11]]
Languages
Python
100%