![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Creating an array of N values between two values. More...
#include "shambackends/DeviceBuffer.hpp"#include "shambackends/vec.hpp"#include "shamsys/NodeInstance.hpp"
Include dependency graph for linspace.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shamalgs |
| namespace to contain everything implemented by shamalgs | |
| namespace | shamalgs::primitives |
| namespace for primitive algorithm (e.g. sort, scan, reductions, ...) | |
Functions | |
| template<typename Tval > | |
| sham::DeviceBuffer< Tval > | shamalgs::primitives::linspace (Tval Rmin, Tval Rmax, u32 N) |
| Create an array of N values between two values. | |
Creating an array of N values between two values.
Definition in file linspace.hpp.