[GRASS-dev] [GRASS-SVN] r66413 - grass-addons/grass7/vector/v.kriging
Glynn Clements
glynn at gclements.plus.com
Wed Oct 7 16:00:05 PDT 2015
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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list