Learn R Programming

rLindo (version 8.0.1)

rLSgetInt32RV: Get the next integer random variate in the stream.

Description

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

Usage

rLSgetInt32RV(rg,iLow,iHigh)

Arguments

rg
A LINDO API random generator object, returned by rLScreateRG.
iLow
The lower bound.
iHigh
The upper bound.

Value

ErrorCode
Zero if successful, nonzero otherwise.
pnResult
The result.

References

LINDO SYSTEMS home page at www.lindo.com