npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
multivariateCosine.hh File Reference

Calculate scalar products of vectors whose length is normalized internally. More...

#include <cmath>
#include <cassert>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename Real >
long double npstat::multivariateCosine (const Real *x, const unsigned long strideX, const Real *y, const unsigned long strideY, const unsigned long len)
 

Detailed Description

Calculate scalar products of vectors whose length is normalized internally.

Author: I. Volobouev

February 2023