rLSsampEvalUserDistr: Evaluate the specified multivariate function associated with...

Description Usage Arguments Value References

View source: R/rLindo.R

Description

R interface function for LINDO API function LSsampEvalUserDistr. For more information, please refer to LINDO API User Manual.

Usage

1
rLSsampEvalUserDistr(sample,nFuncType,padXval,nDim)

Arguments

sample

A LINDO API sample object, returned by rLSsampCreate.

nFuncType

An integer specifying the function type to evaluate. Possible values are:

  • LS_PDF probability density function.

  • LS_CDF cummulative density function.

  • LS_CDFINV inverse of cummulative density function.

  • LS_PDFDIFF derivative of the probability density function.

  • LS_USER a user-defined function.

padXval

A double array containing the values required to evaluate the specified function.

nDim

An integer specifying the number of values required in the computation of the sample point.

Value

ErrorCode

Zero if successful, nonzero otherwise.

pdResult

A double value to return the result.

References

LINDO SYSTEMS home page at www.lindo.com


rLindo documentation built on May 1, 2019, 10:11 p.m.