Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPTrack/open_ptrack_v2
/ scale_array
Function
scale_array
yolo_detector/darknet_opt/src/utils.c:581–587 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
579
}
580
581
void scale_array(float *a, int n, float s)
582
{
583
int i;
584
for(i = 0; i < n; ++i){
585
a[i] *= s;
586
}
587
}
588
589
int sample_array(float *a, int n)
590
{
Callers
2
sample_array
Function · 0.85
scale_data_rows
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected