Skip to content

Commit

Permalink
pdfs: make CPdf and Pdf protected methods accessible from Python space
Browse files Browse the repository at this point in the history
  • Loading branch information
strohel committed Aug 20, 2012
1 parent 96e3913 commit c800313
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pybayes/pdfs.pxd
Expand Up @@ -44,13 +44,13 @@ cdef class CPdf(object):
cpdef np.ndarray sample(self, np.ndarray cond = *) cpdef np.ndarray sample(self, np.ndarray cond = *)
cpdef np.ndarray samples(self, int n, np.ndarray cond = *) cpdef np.ndarray samples(self, int n, np.ndarray cond = *)


cdef bint _check_cond(self, np.ndarray cond) except False cpdef bint _check_cond(self, np.ndarray cond) except False
cdef bint _check_x(self, np.ndarray x) except False cpdef bint _check_x(self, np.ndarray x) except False
cdef bint _set_rvs(self, int exp_shape, rv, int exp_cond_shape, cond_rv) except False cpdef bint _set_rvs(self, int exp_shape, rv, int exp_cond_shape, cond_rv) except False




cdef class Pdf(CPdf): cdef class Pdf(CPdf):
cdef bint _set_rv(self, int exp_shape, rv) except False cpdef bint _set_rv(self, int exp_shape, rv) except False




cdef class UniPdf(Pdf): cdef class UniPdf(Pdf):
Expand Down

0 comments on commit c800313

Please sign in to comment.