linear-algebra-engine/
├── .github/ # CI/CD pipelines and compilation workflows
├── build/ # Compiled binaries, static archives, and object targets
├── docs/ # API specifications, mathematical proofs, and JSF matrices
├── include/ # Public API headers (.hpp / .h)
│ ├── core/ # Fundamental vector and matrix definitions
│ │ ├── matrix.hpp # Matrix class template and structural definition
│ │ └── vector.hpp # N-dimensional vector template and inline arithmetic
│ ├── memory/ # Safety-critical allocation layer
│ │ ├── arena_allocator.hpp # Monolithic bump allocator implementation
│ │ └── memory_block.hpp # Statically sized arena block templates
│ ├── methods/ # Numerical solver implementations
│ │ ├── decomposition.hpp # LU, QR, and Cholesky factorization interfaces
│ │ ├── elimination.hpp # Gaussian elimination and pivoting logic
│ │ └── solvers.hpp # Direct and iterative system solvers (Ax = b)
│ └── structures/ # Specialized matrix structural layouts
│ ├── sparse_matrix.hpp # Compressed Sparse Row (CSR) implementation
│ └── tridiagonal.hpp # Highly optimized tridiagonal matrix storage
├── src/ # Source implementation files (.cpp / .c)
│ ├── core/
│ │ ├── matrix.cpp
│ │ └── vector.cpp
│ ├── memory/
│ │ └── arena_allocator.cpp
│ └── methods/
│ ├── decomposition.cpp
│ ├── elimination.cpp
│ └── solvers.cpp
├── demos/ # Reference implementations and modeling sandboxes
│ ├── ode_solver/
│ │ ├── main.cpp # Main executable for RK4 mass-spring system
│ │ └── state_space.cpp # Linear state-space vector differential maps
│ └── pde_heat_diffusion/
│ └── heat_solver.cpp # Finite difference matrix mesh simulation
├── tests/ # Unit testing suite and validation frameworks
│ ├── test_matrix_ops.cpp # Validation profiles for algebraic compliance
│ ├── test_solvers.cpp # Accuracy verification against ill-conditioned systems
│ └── test_memory.cpp # Boundary testing for bump allocator allocations
├── CMakeLists.txt # Main project build orchestration script
├── LICENSE # Licensing documentation
└── README.md # Project documentation overview