Vaclav Petras wrote:
> I was not able to determine from svn why gmath.h contains la.h.
AFAICT, it's because the functions are in lib/gmath. Of course, that
then brings up the question why they're there, rather than in a
separate library ...
Incidentally, the whole of lib/gmath/la.c is conditionalised upon
#if defined(HAVE_LIBLAPACK) && defined(HAVE_LIBBLAS)
but individual functions (and even sections of functions) are
conditionalised as necessary.
And there are a few functions for which we could reasonably supply our
own implementation if BLAS/LAPACK aren't available. E.g.
G_matrix_product() and G_vector_norm_euclid() should be
straightforward.
AFAICT, G_matrix_LU_solve() is the only function that's moderately
complex.
--
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev