Building support for matrix datatypes and operations (arithmetic, eigenvalues, and factorization) in PostgreSQL. I think I will use the Gnu Scientific Library, but I am still looking around at options with looser licenses.
Eigen doesn't help with the first problem, but it does with the second - written in C++ with some nice expression template magic for efficiency. Comparable performance to LAPACK and LGPL licensed.