MCPcopy Create free account
hub / github.com/apache/madlib / update_prez

Function update_prez

src/modules/tsa/arima.cpp:506–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504// ----------------------------------------------------------------------
505
506static double * update_prez(double * prez, int q, double z)
507{
508 if (q != 0) {
509 for (int i = 1; i < q; i++)
510 prez[i - 1] = prez[i];
511 prez[q-1] = z;
512 }
513 return prez;
514}
515
516// ----------------------------------------------------------------------
517

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected