The mth library is a library to support mathematical objects (vectors, matrices, tensors) templated over a scalar type and mathematical routines that use these objects. The math routines are intended to support small, dense linear algebra objects.