Rank: 2837 based on 47 downloads (last 30 days) and 2 files submitted
photo

Nick Henderson

E-mail
Company/University
Stanford University, ICME

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Nick View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Oct 2010 Hermite cubic interpolating polynomial with specified derivatives Computes piecewise cubic polynomial which interpolates function values and first derivatives. Author: Nick Henderson interpolation, piecewise polynomial 19 0
  • 5.0
5.0 | 2 ratings
24 Apr 2010 LU factorization with complete pivoting. An implementation of algorithm 3.4.2 from Matrix Computations. Author: Nick Henderson linear algebra, lu, factorization, complete pivoting, gaussian elimination 28 0
  • 3.0
3.0 | 1 rating
Comments and Ratings by Nick
Updated File Comments Rating
24 Apr 2010 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

Steve, I would like to suggest a change in the default floor_tol for relative tolerances. The issue is when testing values that are near zero:

>> assertElementsAlmostEqual(1e-10,1e-9)
??? Input elements are not all equal within relative tolerance: 1.49012e-08
First input:
1.0000e-10
Second input:
1.0000e-09

At first glance the error message is confusing. Of course this works if the 'absolute' option is used or floor_tol is set to sqrt(eps).

I recommend setting floor_tol to sqrt(eps). This would give more consistent default behavior.

Cheers,
Nick

Comments and Ratings on Nick's Files View all
Updated File Comment by Comments Rating
16 Jul 2013 Hermite cubic interpolating polynomial with specified derivatives Computes piecewise cubic polynomial which interpolates function values and first derivatives. Author: Nick Henderson I, M

23 May 2012 Hermite cubic interpolating polynomial with specified derivatives Computes piecewise cubic polynomial which interpolates function values and first derivatives. Author: Nick Henderson Radin, Max

25 Apr 2011 LU factorization with complete pivoting. An implementation of algorithm 3.4.2 from Matrix Computations. Author: Nick Henderson m, cidem

Contact us