Re: Import polynomial from file and define function from it.
- To: mathgroup at smc.vnet.net
- Subject: [mg112146] Re: Import polynomial from file and define function from it.
- From: E. Pérez Herrero <enriqueperezherrero at gmail.com>
- Date: Thu, 2 Sep 2010 02:30:49 -0400 (EDT)
- References: <email@example.com>
Example: (* Exporting the formula *) Export["test.txt", "F[x_,y_]:=3*x^2+x*y+3"] (* Importing data *) ToExpression[Import["test.txt"]] Now you can use F: F[2,3] 21