Description Usage Arguments Format See Also Examples
RcppOctave provides a simple interface to Octave via the
object .O, an instance of class Octave, that allows for direct access
to Octave functions and variables using calls such as: .O$svd(matrix(1:9,3)).
The method $ provides a direct way of calling Octave functions or
retrieving variables from Octave base context, via e.g. .O$svd(x)
or .O$a.
It is equivalent to o_get(name).
The method $<- allow to directly assign/set Octave variables via e.g.
.O$a <- 10.
The method [[ provides an alternative way of retrieving Octave objects,
and is equivalent to o_get(name).
1 2 3 4 5 6 7 8 9 10 |
x |
an |
name |
name of the Octave obj ect to retrieve or assign. |
value |
value to assign to the Octave object. |
i |
name of the Octave object to retrieve. |
exact |
logical not used. |
.O is an object of class Octave.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.