octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41453] norm is really slow for sparse matrice


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #41453] norm is really slow for sparse matrices
Date: Thu, 03 Apr 2014 15:01:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Iceweasel/27.0.1

Follow-up Comment #20, bug #41453 (project octave):

> preparing a header file for eigs_base.cc. I don't know why that hasn't been
done before, and why also libinterp/dldfcn/__eigs__.cc includes the file I am
using as a .cc.

You have to understand the arrangement of Octave and why these functions are
in dldfcn. First, it's possible to compile Octave without ARPACK. Sometimes
people do this. Secondly, "dldfcn" means "dynamically loaded functions", i.e.
dynamically linked. The code in this directory gets turned into oct files
instead of being compiled into liboctave or libinterp. The idea here is to
only load the libraries into RAM with dlopen when the user requests them (this
is part of the reason why the first call to eigs is slower than later calls).
And the reason it doesn't have a header file is because it's just meant to be
a dynamically loaded oct file, somewhat "external" to Octave.

It may make sense to turn ARPACK into a core library like LAPACK, but it seems
weird to make ARPACK a hard requirement just for two Octave functions: eigs,
and svds.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41453>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]