MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / sscale

Function sscale

OTHER/METIS/util.c:462–468  ·  view source on GitHub ↗

* This function sums the entries in an array **************************************************************************/

Source from the content-addressed store, hash-verified

460* This function sums the entries in an array
461**************************************************************************/
462void sscale(int n, float alpha, float *x)
463{
464 int i;
465
466 for (i=0; i<n; i++)
467 x[i] *= alpha;
468}
469
470
471/*************************************************************************

Callers 1

MlevelRecursiveBisectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected