arithmetic | R Documentation |
Binary arithmetic numeric/float matrices.
## S4 method for signature 'float32,float32'
e1 + e2
## S4 method for signature 'float32,float32'
e1 * e2
## S4 method for signature 'float32,float32'
e1 - e2
## S4 method for signature 'float32,float32'
e1 / e2
## S4 method for signature 'float32,float32'
e1 ^ e2
## S4 method for signature 'float32,BaseLinAlg'
e1 + e2
## S4 method for signature 'float32,BaseLinAlg'
e1 * e2
## S4 method for signature 'float32,BaseLinAlg'
e1 - e2
## S4 method for signature 'float32,BaseLinAlg'
e1 / e2
## S4 method for signature 'float32,BaseLinAlg'
e1 ^ e2
## S4 method for signature 'BaseLinAlg,float32'
e1 + e2
## S4 method for signature 'BaseLinAlg,float32'
e1 * e2
## S4 method for signature 'BaseLinAlg,float32'
e1 - e2
## S4 method for signature 'BaseLinAlg,float32'
e1 / e2
## S4 method for signature 'BaseLinAlg,float32'
e1 ^ e2
## S4 method for signature 'float32,float32'
e1 < e2
## S4 method for signature 'float32,float32'
e1 <= e2
## S4 method for signature 'float32,float32'
e1 == e2
## S4 method for signature 'float32,float32'
e1 > e2
## S4 method for signature 'float32,float32'
e1 >= e2
## S4 method for signature 'float32,BaseLinAlg'
e1 < e2
## S4 method for signature 'float32,BaseLinAlg'
e1 <= e2
## S4 method for signature 'float32,BaseLinAlg'
e1 == e2
## S4 method for signature 'float32,BaseLinAlg'
e1 > e2
## S4 method for signature 'float32,BaseLinAlg'
e1 >= e2
## S4 method for signature 'BaseLinAlg,float32'
e1 < e2
## S4 method for signature 'BaseLinAlg,float32'
e1 <= e2
## S4 method for signature 'BaseLinAlg,float32'
e1 == e2
## S4 method for signature 'BaseLinAlg,float32'
e1 > e2
## S4 method for signature 'BaseLinAlg,float32'
e1 >= e2
e1 , e2 |
Numeric/float vectors/matrices. |
A matrix of the same type as the highest precision input.
library(float)
s1 = flrunif(5, 5)
s2 = flrunif(5, 5)
x = matrix(1:25, 5)
s1 + s2 # float
typeof(x) # integer
x + s2 # float
storage.mode(x) = "double"
x + s2 # double
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.