'Getter for the precision matrix.
Returns
precision_ : array-like,
The precision matrix associated to the current covariance object.'

def get_precision(self):

    if self.store_precision:
        precision = self.precision_
    else:
        precision = linalg.pinvh(self.covariance_)
    return precision
