Cookbook: Difference between revisions

71 bytes added ,  21 September 2012
m
Line 141: Line 141:


The [http://www.gnu.org/software/octave/doc/interpreter/Anonymous-Functions.html#Anonymous-Functions anonympus function]
The [http://www.gnu.org/software/octave/doc/interpreter/Anonymous-Functions.html#Anonymous-Functions anonympus function]
<pre>
{{Code||<syntaxhighlight lang="octave" style="font-size:13px">
   @(x, t) sprime (x, t, k)
   @(x, t) sprime (x, t, k)
</pre>
</syntaxhighlight>}}


is a function of only <math>x, t</math> where the parameter <math>k</math> is 'frozen' to the value it has at the moment in the current scope.
is a function of only <math>x, t</math> where the parameter <math>k</math> is 'frozen' to the value it has at the moment in the current scope.
657

edits