From ac01f75eaa0475879647e8c6e1343e4c49d7c18c Mon Sep 17 00:00:00 2001 From: rupak Date: Thu, 10 Oct 2019 12:57:46 +0530 Subject: added help for toolbox --- help/en_US/octave_fun.xml | 143 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 help/en_US/octave_fun.xml (limited to 'help/en_US/octave_fun.xml') diff --git a/help/en_US/octave_fun.xml b/help/en_US/octave_fun.xml new file mode 100644 index 0000000..bfbb118 --- /dev/null +++ b/help/en_US/octave_fun.xml @@ -0,0 +1,143 @@ + + + + + + + + octave_fun + Calls an octave function with given inputs and returns the expected output + + + + + Syntax + + [y1, y2, ...] = octave_fun("octave_function",input1,input2,...) + [y1, y2, ...] = octave_fun("octave_function",input1,input2,...,optional_input1,optional_input2,...) + [y1, y2, ...] = octave_fun("octave_function","octave_package",input1,input2,...) + [y1, y2, ...] = octave_fun("octave_function","octave_package",input1,input2,...,optional_input1,optional_input2,...) + + + + + + Parameters + + + y : + ouput as returned by octave. It can be a vector or matrix of doubles + + + octave_function : + name of the function in octave that has to be called. It has to be a string in double quotes + + + input : + input as expected by the octave function. It can be a vector or matrix of doubles + + + optional_input : + an optional argument that the given octave function can accept. It has to be a string in double quotes + + + octave_package : + name of the package in octave that has to be loaded as required by the octave function. It has to be a string in double quotes + + + + + + Description + +This function accepts an octave function name with the relevant inputs and returns the output as generated. It requires Octave to be installed along with necessary packages. + + + +\begin{eqnarray} +&\mbox{min}_{x} +& C^T⋅x \\ +& \text{subject to}& A⋅x = b \\ +& & G⋅x \preceq_K h \\ +& & x_i \in \{0,1\}, i \in \!\, bool_vars\ +& & x_j \in \!\, \mathbb{Z}, i \in \!\, int_vars\\ +\end{eqnarray} + + + + + + + + Examples + + + + + Examples + + + + + Examples + + + + + Examples + + + + + Examples + + + + + Authors + + Rupak Rokade + + + -- cgit