MCPcopy Create free account
hub / github.com/amov-lab/Prometheus / scale_array

Function scale_array

Modules/object_detection/src/darknet_lib/src/utils.c:584–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void scale_array(float *a, int n, float s)
585{
586 int i;
587 for(i = 0; i < n; ++i){
588 a[i] *= s;
589 }
590}
591
592int sample_array(float *a, int n)
593{

Callers 5

sample_arrayFunction · 0.85
scale_data_rowsFunction · 0.85
slerpFunction · 0.85
random_unit_vector_imageFunction · 0.85
train_dcganFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected