Description Public fields Methods
A push/pop capable vector
A push/pop capable vector
valuesA vector of values
new()Create a pvector
pvector$new(values = c())
valuesA vector of values
A new pvector
print()Print pvector
pvector$print()
NULL
length()Get length of pvector
pvector$length()
An integer
pop()Pop vector
pvector$pop()
Popped value
push()Push values
pvector$push(pushed.values)
pushed.valuesA vector of values
NULL
clone()The objects of this class are cloneable with this method.
pvector$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.