/* * basis.h * * Handle basis structures * * (c) 2007 Thomas White * * dtr - Diffraction Tomography Reconstruction * */ #ifndef BASIS_H #define BASIS_H #ifdef HAVE_CONFIG_H #include #endif #include "control.h" typedef struct { double x; double y; double z; } Vector; typedef struct basis_struct { Vector a; Vector b; Vector c; } Basis; extern double basis_efom(struct reflectionlist_struct *reflectionlist, Basis *basis); extern Basis basis_add(Basis u, Basis v); #endif /* BASIS_H */