StanDeclaration: A Stan variable declaration (an abstract base class)

StanDeclarationR Documentation

A Stan variable declaration (an abstract base class)

Description

A Stan variable declaration (an abstract base class)

A Stan variable declaration (an abstract base class)

Public fields

name

name of the variable

lower

lower bound

upper

upper bound

Methods

Public methods


Method new()

StanDeclaration is an abstract class that can't be initialized.

Usage
StanDeclaration$new()

Method declaration()

The variable declaration as a string.

Usage
StanDeclaration$declaration()

Method signature()

The variable when used in function signature

Usage
StanDeclaration$signature()

Method print()

Print

Usage
StanDeclaration$print()

Method can_be_made_parameter()

Can the object be made into a parameter?

Usage
StanDeclaration$can_be_made_parameter()

Method get_dims()

Get all declared dimensions related to the object.

Usage
StanDeclaration$get_dims()
Returns

A list.


Method clone()

The objects of this class are cloneable with this method.

Usage
StanDeclaration$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


jtimonen/odemodeling documentation built on Sept. 15, 2024, 4:29 a.m.