get_cnst: Get Predefined Constant

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

This function returns numerical value of predefined named constants. Constants defined for this package are:

All these constants are exported from the package and available for use in callback functions written in R.

Usage

1

Arguments

s

character scalar, name of the constant whose value is to get.

Value

integer scalar, the value of the constant named by s

Examples

1
2
get_cnst("CV_SUCCESS")
# [1] 0

r2sundials documentation built on May 18, 2021, 1:07 a.m.