Description Usage Arguments Details Value
View source: R/extendr-wrappers.R
Demonstrates the performance of multithreaded tasks using rayon in Rust
1 |
f |
a double vector to calculate the square root of |
This function uses the rayon crate to parallelize calculating the square root of each number in a slice of floats. The algorithm is the "Babylonian Method" of calculating square roots.
a double vector of square roots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.