bugGNU Octave - Bugs: bug #43425, [optim] Please make use of default...

 
 

bug #43425: [optim] Please make use of default args easier in leasqr

Submitter:  Pascal Dupuis <cdemills>
Submitted:  Thu 16 Oct 2014 08:12:00 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Pascal Dupuis Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 16 Oct 2014 06:38:15 PM UTC, comment #2: 

Thanks, I've made the suggested change (in a bit different way, and also including dFdp in the so treated arguments).

But you know we have nonlin_curvefit, whose interface avoids these difficulties ...

Olaf Till <i7tiol>
Group Member
Thu 16 Oct 2014 04:33:09 PM UTC, comment #1: 

Adding package maintainer to list of CC

Carnë Draug <carandraug>
Group Member
Thu 16 Oct 2014 08:12:00 AM UTC, original submission:  

Hello,

herewith enclosed is a small patch to make the use of leasqr easier.

With this patch, the call is now

[f00, p00, cvg00, iter00, corp00, covp00, covr00, stdresid00, Z00,r200] = leasqr
 (resu0(:, 2), resu0(:, 4), pin, expfunc, [], [], [], [], dexpfunc);


where expfunc and dexpfunc are function handles to the function to match and its gradient; while arguments niter, stol, ... are taken from their default values.

Regards

Pascal

Pascal Dupuis <cdemills>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32280:  leasqr.pat added by cdemills (700B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by i7tiol (Posted a comment)
  • -email is unavailable- added by carandraug (Olaf Till - maintainer of optim package)
  • -email is unavailable- added by cdemills (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-17 carandraug StatusNone Fixed
        Open/ClosedOpen Closed
    2014-10-16 carandraug Carbon-Copy- Added -email is unavailable-
    2014-10-16 cdemills Attached File- Added leasqr.pat, #32280

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code