Compute the PDF from the CDF.
distfun_genericpdf(x,cdffun) distfun_genericpdf(x,cdffun,iscontinuous)
a matrix of doubles, the points where to evaluate the PDF.
a list, the CDF function and its arguments
a 1-by-1 matrix of booleans, %t for continuous variables, %f for integer variables (default iscontinuous=%t)
a matrix of doubles, the density
The distfun_genericpdf function computes the PDF from a given CDF, by derivation.
The CDF function should have header :
The cdffun function must be a list(f,a) or (f,a,b) or (f,a,b,c) where f is the PDF function and a, b, or c scalars which are automatically added at the end of the calling sequence.
The performance of this function may be poor.