Loading...
Searching...
No Matches
vector_projection.h
Go to the documentation of this file.
#include "phi.h"
struct vector_projection {
Float operator() (const Float& x) const {
if (x <= a) return 0;
return _phi(x-a)/x;
}
vector_projection (Float a1, Float n=1, Float c=1, Float r=0)
: a(a1), _phi(n,c,r) {}
Float a;
phi _phi;
};
Float
see the Float page for the full documentation
phi.h
The Mossolov problem – the phi function.
phi
Definition phi.h:25
vector_projection
Definition vector_projection.h:26
vector_projection::a
Float a
Definition vector_projection.h:33
vector_projection::_phi
phi _phi
Definition vector_projection.h:34
vector_projection::vector_projection
vector_projection(Float a1, Float n=1, Float c=1, Float r=0)
Definition vector_projection.h:31
vector_projection::operator()
Float operator()(const Float &x) const
Definition vector_projection.h:27