Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-science
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-science@g.o
From: rose@...
Subject: octave data-smoothing example failes
Date: Sun, 09 Oct 2011 21:33:56 +0200
The data smoothing example from  
http://octave.sourceforge.net/data-smoothing/function/regdatasmooth.html fails  
with:

rose@thinkpad:/home/rose(2)$ octave
GNU Octave, version 3.4.0
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

warning: function  
/usr/libexec/octave/packages/miscellaneous-1.0.9/i686-pc-linux-gnu-api-v47+/hex2num.oct shadows a core library  
function
warning: function /usr/share/octave/packages/optim-1.0.12/fminbnd.m  
shadows a core library function
warning: LOADPATH is now a function instead of a built-in variable.   
By assigning to LOADPATH, you have created a variable that hides the  
function LOADPATH.  To remove the variable and restore the function,  
type "clear LOADPATH"
octave:1> npts = 100;
octave:2> x = linspace(0,2*pi,npts)';
octave:3> x = x + 2*pi/npts*(rand(npts,1)-0.5);
octave:4> y = sin(x);
octave:5> y = y + 1e-1*randn(npts,1);
octave:6> yp = ddmat(x,1)*y;
octave:7> y2p = ddmat(x,2)*y;
octave:8> [yh, lambda] = regdatasmooth (x, y,  
"d",4,"stdev",1e-1,"midpointrule");
error: Invalid call to fminunc.  Correct usage is:

  -- Function File:  fminunc (FCN, X0)
  -- Function File:  fminunc (FCN, X0, OPTIONS)
  -- Function File: [X, FVEC, INFO, OUTPUT, GRAD, HESS] = fminunc (FCN,
           ...)

error: called from:
error:   /usr/share/octave/3.4.0/m/help/print_usage.m at line 87, column 5
error:   /usr/share/octave/3.4.0/m/optimization/fminunc.m at line 95, column 5
error:    
/usr/share/octave/packages/data-smoothing-1.2.0/regdatasmooth.m at  
line 117, column 17




Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
sci-mathematics/sage-4.7.1-r2 still circumvents the installation of numpy > numpy-1.5.1
Next by thread:
How can I install spline-gcvspl?
Previous by date:
sci-mathematics/sage-4.7.1-r2 still circumvents the installation of numpy > numpy-1.5.1
Next by date:
How can I install spline-gcvspl?


Updated Jul 05, 2012

Summary: Archive of the gentoo-science mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.