Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8841

Save/DumpSave Interpolation doesn't work

From Ted Sariyski <tsariysk@craft-tech.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Save/DumpSave Interpolation doesn't work
Date 2012-03-03 11:57 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jit103$e7a$1@smc.vnet.net> (permalink)
References <201202240558.AAA17724@smc.vnet.net> <201202250658.BAA01406@smc.vnet.net>

Show all headers | View raw


Hi,
I have 2D data sets. Interpolation takes time, so I want to Save or 
DumpSave it. However when I Get it it doesn't return numerical values 
but reports:
  "A very large output was generated. Here is a sample of it:
        InterpolatingFunction[{{...  ".

Here is what I do.

intp = Interpolation[data,  InterpolationOrder -> 1];

?intp
    Global`intp
    intp=InterpolatingFunction[{{0.000905256,1.99937},...

intp[1., .8]
     -0.0632235

Save["intp.mat", intp]
Quit[]
Names["Global`*"]
     {}

Get["intp.mat"];
Names["Global`*"]
     {intp}

intp[1., .8]
      "A very large output was generated. Here is a sample of it:
        InterpolatingFunction[{{...  "

?intp
     Global`intp
    intp=InterpolatingFunction[{{0.000905256,1.99937},...

What I am missing here?
Thanks in advance,
--Ted



Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Save/DumpSave Interpolation doesn't work Ted Sariyski <tsariysk@craft-tech.com> - 2012-03-03 11:57 +0000

csiph-web