ret_message: Return Text Strings for lbfgs Return Codes

View source: R/semidiscrete1.R

ret_messageR Documentation

Return Text Strings for lbfgs Return Codes

Description

Given a vector of return codes, give back the corresponding vector of return strings from the lbfgs library. Nonexistant codes are ignored.

Usage

ret_message(n = NULL)

Arguments

n

The vector of return codes or NULL meaning the whole list shall be returned.

Value

A named character vector of the corresponding return strings.

Note

Code 0 is ignored, since for technical reasons it is never returned by the function semidiscrete1.

Author(s)

Dominic Schuhmacher schuhmacher@math.uni-goettingen.de

See Also

semidiscrete1.

Examples

ret_message()
ret_message(c(2,-1023,-1019))


transport documentation built on July 9, 2023, 7:43 p.m.