Fermat
Namespaces | Functions
project.h File Reference

Defines a function to project spherical functions on a given basis. More...

#include <cugar/basic/numbers.h>
#include <cugar/linalg/vector.h>
#include <cugar/spherical/mappings.h>

Go to the source code of this file.

Namespaces

 cugar
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

template<typename Basis_type , typename Fun_type >
void cugar::project (const Basis_type basis, const Fun_type &fun, const float a, const float b, const int32 n_samples, float *coeffs)
 

Detailed Description

Defines a function to project spherical functions on a given basis.