Docs.rs
oxiphysics-gpu-0.1.1
oxiphysics-gpu 0.1.1
Permalink
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
cool-japan
Dependencies
bytemuck ^1
normal
optional
cudarc ^0.19
normal
optional
oxiphysics-core ^0.1.1
normal
pollster ^0.4
normal
optional
rand ^0.10
normal
rayon ^1
normal
thiserror ^2
normal
wgpu ^29
normal
optional
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
scale_vec
oxiphysics_
gpu
0.1.1
In oxiphysics_
gpu::
sparse_
gpu
oxiphysics_gpu
::
sparse_gpu
Function
scale_
vec
Copy item path
Source
pub fn scale_vec(x: &[
f64
], s:
f64
) ->
Vec
<
f64
>
Expand description
Scale every element of
x
by
s
.