comparison doc/interpreter/func.txi @ 8828:8463d1a2e544

Doc fixes. * 2]$$. => 2].$$ * @var{extrapval} => @var{extrapval}. * call helloworld.oct => called @file{helloworld.oct} * @itemize => @table @code * shows. => shows: * save => @code{save} * @ref{Breakpoints} => @pxref{Breakpoints} * add @noindent following example * which is computed => and compute it * clarify wording * remove comma * good => well * set => number * by writing => with the command * has the option of directly calling => can call * [-like-] {+of the right size,+} * solvers => routines * handle => test for * add introductory section * add following * {+the+} [0..bitmax] => [0,bitmax] * of the => with * number => value * add usual * Besides when doing comparisons, logical => Logical {+also+} * array comparison => array, comparisons * param => parameter * works very similar => is similar * strings, => strings * most simple => simplest * easier => more easily * like => as * called => called, * clarify wording * you should simply type => use * clarify wording * means => way * equally => also * [-way much-] {+way+} * add with mean value parameter given by the first argument, @var{l} * add Functions described as @dfn{mapping functions} apply the given operation to each element when given a matrix argument. * in this brief introduction => here * It is worth noticing => Note * add following * means => ways
author Brian Gough <bjg@network-theory.co.uk>
date Fri, 20 Feb 2009 11:17:01 -0500
parents 03b7f618ab3d
children eb63fbe60fab
comparison
equal deleted inserted replaced
8827:55d999c23728 8828:8463d1a2e544
633 @end menu 633 @end menu
634 634
635 @node Manipulating the load path 635 @node Manipulating the load path
636 @subsection Manipulating the load path 636 @subsection Manipulating the load path
637 637
638 When a function is called Octave searches a list of directories for 638 When a function is called, Octave searches a list of directories for
639 a file that contains the function declaration. This list of directories 639 a file that contains the function declaration. This list of directories
640 is known as the load path. By default the load path contains 640 is known as the load path. By default the load path contains
641 a list of directories distributed with Octave plus the current 641 a list of directories distributed with Octave plus the current
642 working directory. To see your current load path call the @code{path} 642 working directory. To see your current load path call the @code{path}
643 function without any input or output arguments. 643 function without any input or output arguments.
773 support symbolic links, it is possible to create a symbolic link to the 773 support symbolic links, it is possible to create a symbolic link to the
774 original file for each of the functions which it contains. 774 original file for each of the functions which it contains.
775 775
776 However, there is at least one well known operating system that doesn't 776 However, there is at least one well known operating system that doesn't
777 support symbolic links. Making copies of the original file for each of 777 support symbolic links. Making copies of the original file for each of
778 the functions is also possible, but is undesirable as it multiples the 778 the functions is undesirable as it increases the
779 amount of disk space used by Octave. Instead Octave supplies the 779 amount of disk space used by Octave. Instead Octave supplies the
780 @code{autoload} function, that permits the user to define in which 780 @code{autoload} function, that permits the user to define in which
781 file a certain function will be found. 781 file a certain function will be found.
782 782
783 @DOCSTRING(autoload) 783 @DOCSTRING(autoload)
813 @result{} ans = 0 813 @result{} ans = 0
814 @end group 814 @end group
815 @end example 815 @end example
816 816
817 A common use of @code{mlock} is to prevent persistent variables from 817 A common use of @code{mlock} is to prevent persistent variables from
818 being removed from memory, as the following example shows. 818 being removed from memory, as the following example shows:
819 819
820 @example 820 @example
821 @group 821 @group
822 function count_calls() 822 function count_calls()
823 persistent calls = 0; 823 persistent calls = 0;