Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5ocworkshop/bgraph
/ sample
Method
sample
src/classes/cls_fn_data_source.rs:43–45 ·
view source on GitHub ↗
(&self, x: f32)
Source
from the content-addressed store, hash-verified
41
F: Fn(f32) -> f32,
42
{
43
fn sample(&self, x: f32) -> f32 {
44
(self.func)(x)
45
}
46
}
47
48
// <FILE>src/classes/cls_fn_data_source.rs</FILE> - <DESC>Function-based data source wrapper</DESC>
Callers
1
sample_f32
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected