StanVectorArray | R Documentation |
A Stan array of vectors
A Stan array of vectors
odemodeling::StanDeclaration
-> StanVectorArray
dims
list of array dimensions
length
length of the vector
new()
Create a StanVectorArray object.
StanVectorArray$new(name, dims, length, lower = NULL, upper = NULL)
name
name of the vector array
dims
list of array dimensions, must be a list of StanDimension objects
length
length of the vector, must be a StanDimension object
lower
lower bound
upper
upper bound
declaration()
Create a declaration for the array of vectors
StanVectorArray$declaration()
a string
signature()
The variable when used in function signature
StanVectorArray$signature()
can_be_made_parameter()
Can the object be made into a parameter?
StanVectorArray$can_be_made_parameter()
get_dims()
Get all declared dimensions related to the object.
StanVectorArray$get_dims()
A list.
clone()
The objects of this class are cloneable with this method.
StanVectorArray$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.