The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Bivariate Pchip
Replies: 9   Last Post: Jan 19, 2013 6:14 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
John D'Errico

Posts: 9,130
Registered: 12/7/04
Re: Bivariate Pchip
Posted: Jan 18, 2013 8:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kd8td4$2br$>...
> "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kd8ef0$qnh$>...
> > What about perform successively pchip along the first dimension, then along the second dimension.
> Just a note that I do not know successive 1D pchip gives the same result when swapping the dimensions. For splines with homogeneous conditions such as natural, not-a-knot, periodic, one can do either way, and it provides the same interpolation results as 2D, just the implementation and work-flow is different.
> Bruno

pchip in 2-d as a tensor product form has been shown
NOT to be adequate for the general desired behavior.
(It sometimes will produce an acceptable result, but in
general, it is not adequate.)

My memory tells me that there is a way to correct the
derivatives generated by pchip so that it WILL be
monotone in all desired aspects, and that this was
once implemented as the 2-d version of pchip. Sadly
I no longer have that work in my possession.

Also as you point out, since pchip is a not a linear
procedure, it is potentially not going to produce
the same result as if you do swap the axes.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.