Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1484
| From | Nabeel Butt <nabeel.butt@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Interpolation on a triangular region |
| Date | 2011-04-05 10:43 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <inerp4$j87$1@smc.vnet.net> (permalink) |
Dear All,
It seems to me as if Mathematica's Interpolation [ ] was designed for
square or rectangular regions.An example of this type would be
Interpolation[Table[{{x,y},f[x,y]},{x,0,1,0.1},{y,0,1,0.1}]].Now if I have a
slightly non-rectangular region say a triangular region for
Interpolation[Table[{{x,y},f[x,y]},{x,0,1,0.1},{y,0,1-x,0.1}]] -Mathematica
just gives a warning but still interpolates the data albeit with linear
order.Anyways , in this example it worked.However , with larger data sets
and in parallel program making use of triangular interpolation many times my
program either freezes or kernel shuts-does not happen with rectangular
region. Any ideas of how to interpolate on triangular regions or even
arbitrary non-rectangular regions using built-in features efficiently? Now I
know from numerical analysis texts that this is not a difficult task but I
am just looking for good built-in functions or even packages that could help
me .
Thanks !
Nabeel
--
"We have not succeeded in answering all our problems.The answers we have
found only serve to raise a whole set of new questions.In some ways we feel
that we are as confused as ever,but we believe we are confused on a higher
level and about more important things."
"Maybe one day we get to see all the beauty present in this world"
Nabeel Butt
UWO,London
Ontario, Canada
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Interpolation on a triangular region Nabeel Butt <nabeel.butt@gmail.com> - 2011-04-05 10:43 +0000
csiph-web