Description Usage Arguments Value Author(s) Examples
S3 method to get the shape of a number
1 2 | ## S3 method for class 'modello_number'
dim(x)
|
x |
a reference object of class 'number' |
Returns the shape vector of the number
Filippo Monari
1 2 3 4 | modello.init(10, 10, 10, 10)
x = number(matrix(rnorm(9), 3, 3))
dim(x) # c(3, 3)
modello.close()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.