length.modello_number: Number Length

Description Usage Arguments Value Author(s) Examples

Description

S3 method to get the total size of a number

Usage

1
2
## S3 method for class 'modello_number'
length(x)

Arguments

x

a referecen object of class 'number'

Value

Returns the size of the number

Author(s)

Filippo Monari

Examples

1
2
3
4
modello.init(10, 10, 10, 10)
x = number(rnorm(3))
length(x) #3
modello.close()

modello documentation built on Feb. 2, 2021, 9:06 a.m.