38 @deftypefn {Mapping Function} {} betainc (@var{x}, @var{a}, @var{b})\n\
39 Compute the regularized incomplete Beta function.\n\
41 The regularized incomplete Beta function is defined by\n\
44 I (x, a, b) = {1 \\over {B (a, b)}} \\int_0^x t^{(a-z)} (1-t)^{(b-1)} dt.\n\
48 @c Set example in small font to prevent overfull line\n\
54 betainc (x, a, b) = ----------- | t^(a-1) (1-t)^(b-1) dt.\n\
62 If @var{x} has more than one component, both @var{a} and @var{b} must be\n\
63 scalars. If @var{x} is a scalar, @var{a} and @var{b} must be of\n\
64 compatible dimensions.\n\
65 @seealso{betaincinv, beta, betaln}\n\
70 int nargin = args.
length ();
334 @deftypefn {Mapping Function} {} betaincinv (@var{y}, @var{a}, @var{b})\n\
335 Compute the inverse of the incomplete Beta function.\n\
337 The inverse is the value @var{x} such that\n\
340 @var{y} == betainc (@var{x}, @var{a}, @var{b})\n\
342 @seealso{betainc, beta, betaln}\n\
347 int nargin = args.
length ();
OCTINTERP_API void print_usage(void)
bool is_scalar_type(void) const
#define DEFUN(name, args_name, nargout_name, doc)
float float_value(bool frc_str_conv=false) const
double betaincinv(double y, double p, double q)
FloatNDArray float_array_value(bool frc_str_conv=false) const
octave_idx_type length(void) const
double betainc(double x, double a, double b)
NDArray array_value(bool frc_str_conv=false) const
bool is_single_type(void) const
double double_value(bool frc_str_conv=false) const
F77_RET_T const double * x