Uniform Interface for positive definite matrices of various structures