def linear(Ks, dim, num_q, rhos, nus):
    r'''
    Estimates the linear inner product \int p q between two distributions,
    based on kNN distances.
    '''
    return _get_linear(Ks, dim)(num_q, rhos, nus)
def linear(Ks, dim, num_q, rhos, nus):
    r'''
    Estimates the linear inner product \int p q between two distributions,
    based on kNN distances.
    '''
    return _get_linear(Ks, dim)(num_q, rhos, nus)
def linear ( Ks , dim , num_q , rhos , nus ) : return _get_linear ( Ks , dim ) ( num_q , rhos , nus )
r'''
    Estimates the linear inner product \int p q between two distributions,
    based on kNN distances.
r Estimates the linear inner product \ int p q between two distributions based on kNN distances .