''' General matrix and other utilities for statistics '''

import numpy as np
import numpy.linalg as npl
import scipy.interpolate

__docformat__ = 'restructuredtext'


def pos_recipr(X):
    """ Return element-wise reciprocal of array, setting `X`>=0 to 0