Description Usage Arguments Value Author(s) Examples
Sum of square function
ssq = ∑_i x_i^2
1 2 3 4 5 6 7 |
x |
a 'numeric' or a reference object of class 'number' |
Returns a 'numeric' or reference object of class 'number'
Filippo Monari
1 2 3 4 5 6 7 8 9 10 11 | modello.init(10, 10, 10, 10)
## For modello_numbers
x = number(rnorm(10))
y = ssq(x)
print(y)
print(y$v)
modello.close()
## For numerics
x = rnorm(10)
y = ssq(x)
print(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.