Changeset 1948


Ignore:
Timestamp:
Oct 17, 2005, 4:52:03 PM (19 years ago)
Author:
duncan
Message:

feedback from Ole

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/wiki/least_squares_redesign.txt

    r1947 r1948  
    3838INTRODUCTION
    3939
    40 This document specifies the requirements of the refactoring of least squares.
     40This document specifies the requirements of the redesign of least squares.
    4141
    4242DEFINITIONS
     
    7575information for points outside the mesh is returned, that can only be
    7676a float, let the user set the default value that is returned for
    77 points outside the mesh.
     77points outside the mesh. if the value can be set to NAN, then set it
     78to NAN, if no default is given.
    7879
    7980Reduce the time spent building matrix A. (not a testable requirement)
    80 
    8181
    8282Points do not have to be supplied all at once.  They can be supplied
     
    9090Memory consumption of least squares equations must be indepenent on
    9191the number of datapoints. (Except for the memory used to store the points.)
    92 
    93 How should interpolate_sww respond to a ? 
    94 Warning and replace with given value.
    95 
    96 General Error Handling Guidelines
    97 
    98 Assume 4 ways of using the code (for Inperpolate class)
    99 1) command line interface
    100 2) API function - these have parameters of input  data file names,
    101 output file names, and carry out a process.
    102 3) External methods - These are the calls that the api function uses
    103 4) Internal methods.
    104 
    105 Way 1 is used by general users, so they should not return
    106 something that looks like a code crash from bad input.
    107 An option for way 2 is to raise an exception, which the user
    108 handles. Should the code display a warning, based on the error?
    109 
    110 Note, if a method is used by a gui, or by scripts change the requirements 
    111 Discus with Error Handling Ole
    112 
    113 
    11492___________________________________________________________________________
    11593Least Squares System Design Specification
     
    126104When interpolating, don't build AtA, B and D. (This has been implemented)
    127105When fitting, don't build A. - Work with AtA and Atz. Build Atz
    128 directly, rather than through At*z - use code similar to AtA
    129 
    130 
     106directly, rather than through At*z - use code similar to AtA.
    131107
    132108
Note: See TracChangeset for help on using the changeset viewer.