Learn R Programming

lessSEM (version 1.5.5)

makePtrs: makePtrs

Description

This function helps you create the pointers necessary to use the Cpp interface

Usage

makePtrs(fitFunName, gradFunName)

Value

a string which can be copied in the C++ function to create the pointers.

Arguments

fitFunName

name of your C++ fit function (IMPORTANT: This must be the name used in C++)

gradFunName

name of your C++ gradient function (IMPORTANT: This must be the name used in C++)

Examples

Run this code
# see vignette("General-Purpose-Optimization", package = "lessSEM") for an example

Run the code above in your browser using DataLab