view m4/module.mk @ 18467:c5a101de2d88

Allow pinv to work on Diagonal Matrices with a tolerance (bug #41546). * pinv.cc (Fpinv): Validate tolerance argument and pass it through to pseudo_inverse(). CDiagMatrix.h, dDiagMatrix.h, fCDiagMatrix.h, fDiagMatrix.h: Redefine prototype for pseudo_inverse to accept a single argument for tolerance. * CDiagMatrix.cc (pseudo_inverse), dDiagMatrix.cc(pseudo_inverse), fCDiagMatrix.cc(pseudo_inverse), fDiagMatrix.cc(pseudo_inverse): Use std::abs(elem) to get magnitude of element and only invert if value is greater than tolerance.
author Rik <rik@octave.org>
date Sat, 15 Feb 2014 14:42:07 -0800
parents 501cb6a90f0f
children 81078b0e39e8
line wrap: on
line source

EXTRA_DIST += \
  m4/module.mk \
  m4/ax_blas.m4 \
  m4/ax_blas_f77_func.m4 \
  m4/ax_compare_version.m4 \
  m4/ax_lapack.m4 \
  m4/ax_pthread.m4 \
  m4/gnulib-cache.m4 \
  m4/libtool.m4 \
  m4/ltoptions.m4 \
  m4/ltsugar.m4 \
  m4/ltversion.m4 \
  m4/lt~obsolete.m4 \
  m4/pkg.m4