| dsqrt | R Documentation |
Applies the square root to each entry of 'X' in place, supporting both base R and ['bigmemory::big.matrix'] inputs.
dsqrt(N = NULL, X, INCX = 1L)
N |
Optional integer giving the number of elements. Defaults to 'length(X)'. |
X |
Double-precision vector, matrix or ['bigmemory::big.matrix'] input. |
INCX |
Integer stride for traversing 'X'. |
Invisibly returns the modified object 'X'.
vals <- matrix(c(1, 4, 9, 16), 2)
dsqrt(X = vals)
vals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.