Changeset 1948
- Timestamp:
- Oct 17, 2005, 4:52:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/wiki/least_squares_redesign.txt
r1947 r1948 38 38 INTRODUCTION 39 39 40 This document specifies the requirements of the re factoringof least squares.40 This document specifies the requirements of the redesign of least squares. 41 41 42 42 DEFINITIONS … … 75 75 information for points outside the mesh is returned, that can only be 76 76 a float, let the user set the default value that is returned for 77 points outside the mesh. 77 points outside the mesh. if the value can be set to NAN, then set it 78 to NAN, if no default is given. 78 79 79 80 Reduce the time spent building matrix A. (not a testable requirement) 80 81 81 82 82 Points do not have to be supplied all at once. They can be supplied … … 90 90 Memory consumption of least squares equations must be indepenent on 91 91 the 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 Guidelines97 98 Assume 4 ways of using the code (for Inperpolate class)99 1) command line interface100 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 uses103 4) Internal methods.104 105 Way 1 is used by general users, so they should not return106 something that looks like a code crash from bad input.107 An option for way 2 is to raise an exception, which the user108 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 requirements111 Discus with Error Handling Ole112 113 114 92 ___________________________________________________________________________ 115 93 Least Squares System Design Specification … … 126 104 When interpolating, don't build AtA, B and D. (This has been implemented) 127 105 When 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 106 directly, rather than through At*z - use code similar to AtA. 131 107 132 108
Note: See TracChangeset
for help on using the changeset viewer.