StanArray | R Documentation |
A Stan array
A Stan array
odemodeling::StanDeclaration
-> StanArray
dims
list of array dimensions
type
base type of the array
new()
Create a StanArray object.
StanArray$new(name, dims, type = "real", lower = NULL, upper = NULL)
name
name of the array
dims
list of array dimensions, must be a list of StanDimension objects
type
base type of the array
lower
lower bound
upper
upper bound
declaration()
Create a declaration for the array
StanArray$declaration()
a string
signature()
The variable when used in function signature
StanArray$signature()
can_be_made_parameter()
Can the object be made into a parameter?
StanArray$can_be_made_parameter()
get_dims()
Get all declared dimensions related to the object.
StanArray$get_dims()
A list.
clone()
The objects of this class are cloneable with this method.
StanArray$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.