45 #ifndef CLIPPER_FFTMAP_SPARSE
46 #define CLIPPER_FFTMAP_SPARSE
71 ffttype*
map_uv(
const int& u,
const int& v );
73 std::complex<ffttype>*
map_kl(
const int& k,
const int& l );
103 void set_hkl(
const HKL& hkl,
const std::complex<ffttype>& f );
106 {
return map_kl( uvw.
v(), uvw.
w() )[ uvw.
u() ]; }
112 {
return row_uv( uvw.
u(), uvw.
v() )[ uvw.
w() ]; }
137 {
return map_uv( uvw.
u(), uvw.
v() )[ uvw.
w() ]; }
141 const std::complex<ffttype>
get_hkl(
const HKL& hkl )
const;
147 {
return row_kl( hkl.
v(), hkl.
w() )[ hkl.
u() ]; }