Yet another linear algebra