Dense row-major matrix templated over scalar type T.
void matvec(const Matrix &A, const Vector &x, Vector &y)
void matmul(const Matrix &A, const Matrix &B, Matrix &C, idx block_size)
BasicMatrix< real > Matrix
Double-precision dense matrix with full backend dispatch (CPU + GPU).
BasicVector< real > Vector
Real-valued dense vector with full backend dispatch (CPU + GPU)
Dense vector storage and operations.