octfunction¶
Environment in package mumie.problem.
Synopsis¶
\begin{octfunction}{name}
...
\end{octfunction}
Description¶
Creates an author defined Octave function. name is the name of the function.
Example¶
\begin{octfunction}{expected_matrix_min}
function min = expected_matrix_min (A)
min = "undefined";
for i = 1:rows(A)
for j = 1:columns(A)
a = A(i,j);
if ( or(min == "undefined", a < min) )
min = a;
endif
endfor
endfor
endfunction
\end{octfunction}
This page is generated automatically and each change here will be replaced on a next update.