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