fvec_local_hfc method

double fvec_local_hfc(
  1. Pointer<fvec_t> v
)

compute the High Frequency Content of a vector

The High Frequency Content is defined as \f$ \sum_0^{N-1} (k+1) vk \f$.

\param v vector to get the energy from

\return the HFC of v

Implementation

double fvec_local_hfc(
  ffi.Pointer<fvec_t> v,
) {
  return _fvec_local_hfc(
    v,
  );
}