1#ifndef PRDC_CPU_REDUCE_H
2#define PRDC_CPU_REDUCE_H
11#include <util/containers/Array.h>
Array container class template.
Functions that perform array reductions on the Cpu.
double minAbs(Array< double > const &in)
Get minimum absolute magnitude of array elements .
double sum(Array< double > const &in)
Compute sum of array elements .
double maxAbs(Array< double > const &in)
Get maximum absolute magnitude of array elements .
double innerProduct(Array< double > const &a, Array< double > const &b)
Compute inner product of two real arrays .
double max(Array< double > const &in)
Get maximum of array elements .
double min(Array< double > const &in)
Get minimum of array elements .
Fields and FFTs for periodic boundary conditions (CPU)
Periodic fields and crystallography.
PSCF package top-level namespace.
Utility classes for scientific computation.