Ansicht
Dokumentation

QF00_BETA - Beta function B(v,w)

QF00_BETA - Beta function B(v,w)

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Task

The function module calculates the beta function

Example

  DATA:
    B1 TYPE F,
    V1 TYPE F,
    W1 TYPE F,      ...
  ...
  CALL FUNCTION 'QF00_BETA'
    EXPORTING V     = V1
              W     = W1
    IMPORTING BETA  = B1.

Description

The beta function is a special mathematical function, defined for v > 0 and w > 0 by the integral

BETA(v,w) = INTEGRAL(0..1, t**(v-1) * (1-t)**(w-1) dt)

It is needed for example for various test and statistical estimation procedures.

The relationship between beta and gamma function is as follows:
BETA(v,w) = GAMMA(v) * GAMMA(w) / GAMMA(v+w) = BETA(w,v)

Reference

W.H.Press, B.P.Flannery, S.A.Teukolsky, W.T.Vetterling, Numerical Recipes in C. Cambridge University Press, Cambridge 1988





Parameters

BETA
V
W

Exceptions

NOT_POSITIVE

Function Group

QF00

CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1407 Date: 20240523 Time: 141016     sap01-206 ( 18 ms )