Programming

Bit operations

Return the bitwise AND of non-negative integers.
Return the K-bit complement of integers in A.
Return the status of bit(s) N of unsigned integers in A the lowest significant bit is N = 1.
Return the largest integer that can be represented as a floating point value.
Return the bitwise OR of non-negative integers.
Set or reset bit(s) N of unsigned integers in A.
Return a K bit shift of N-digit unsigned integers in A.
Return the bitwise XOR of non-negative integers.
Return the largest integer that can be represented in an integer type.
Return the smallest integer that can be represented in an integer type.

Cell arrays

Create a new cell array object.
Convert the cell array C into a matrix by concatenating all elements of C into a hyperrectangle.
Convert CELL to a structure.
Recursively display the contents of a cell array.
Evaluate the function named NAME on the elements of the cell array C.
cellplot
not implemented
Copy the input parameters into the corresponding output parameters.
deref
not implemented
Return true if X is a cell array object.
Convert the matrix A to a cell array.
Convert the matrix M into a cell array.
Create a new cell array from the objects stored in the struct object.

Constants

Return a scalar, matrix, or N-dimensional array whose elements are all equal to the base of natural logarithms.
Return a scalar, matrix or N-dimensional array whose elements are all eps, the machine precision.
Return 1 for elements of X that are finite values and zero otherwise.
i
not implemented
Return a scalar, matrix, or N-dimensional array whose elements are all equal to the pure imaginary unit, defined as `sqrt (-1)'.
Return a scalar, matrix or N-dimensional array whose elements are all equal to the IEEE representation for positive infinity.
inf
not implemented
isfinite
not implemented
Return 1 for elements of X that are infinite and zero otherwise.
Return 1 for elements of X that are NA (missing) values and zero otherwise.
Return 1 for elements of X that are NaN values and zero otherwise.
j
not implemented
J
not implemented
Return a matrix or N-dimensional array whose elements are all equal to the special constant used to designate missing values.
Return a scalar, matrix, or N-dimensional array whose elements are all equal to the IEEE symbol NaN (Not a Number).
nan
not implemented
Return a scalar, matrix, or N-dimensional array whose elements are all equal to the ratio of the circumference of a circle to its diameter.
Return a scalar, matrix or N-dimensional array whose elements are all equal to the largest floating point number that is representable.
Return a scalar, matrix or N-dimensional array whose elements are all equal to the smallest normalized floating point number that is representable.

Control structures

break
not implemented
case
not implemented
catch
not implemented
else
not implemented
elseif
not implemented
end
not implemented
for
not implemented
if
not implemented
otherwise
not implemented
return
not implemented
switch
not implemented
try
not implemented
while
not implemented

Deprecated

This function has been deprecated.
This function has been deprecated.
This function has been deprecated.
This function has been deprecated.
This function has been deprecated.
This function has been deprecated.

Function arguments

fcnchk
not implemented
Return the text defining N-th input to the function.
Return an appropriate error message string (or structure) if the number of inputs requested is invalid.
Within a function, return the number of arguments passed to the function.
Within a function, return the number of values the caller expects to receive.
Return an appropriate error message string (or structure) if the number of outputs requested is invalid.
Return in REG the cell elements of PARAM up to the first string element and in PROP all remaining elements beginning with the first string element.
The function read_options parses arguments to a function as, [ops,nread] = read_options (args,...) - Read options
Print the message MSG, prefixed by the string `usage: ', and set Octave's internal error state such that control will return to the top level without evaluating any more commands.
varargin
not implemented
varargout
not implemented

Inline functions

Return a cell array of character strings containing the names of the arguments of the inline function FUN.
Create a string array from one or more numeric matrices, character matrices or cell arrays.
Return a character string representing the inline function FUN.
@c ov-fcn-inline.cc
Create a vectorized version of the inline function FUN by replacing all occurrences of `*', `/', etc., with `.*', `./', etc.

Interpreter interface

The most recently computed result that was not explicitly assigned to a variable.
Assign VALUE to VARNAME in context CONTEXT, which may be either `"base\"' or `\"caller\"'.
Register a function to be called when Octave exits.
Call the base function F even if F is overloaded to some other function for the given type signature.
Parse the string TRY and evaluate it as if it were an Octave program.
evalc
not implemented
Like `eval', except that the expressions are evaluated in the context CONTEXT, which may be either `"caller\"' or `\"base\"'.
Evaluate the function named NAME.
Return a string containing the name of the function referenced by the function handle FCN_HANDLE.
Return a struct containing information about the function handle FCN_HANDLE.
Create unique variable(s) from STR.
input_event_hook
not implemented
Return true if NAME is an Octave keyword.
Return true if NAME is a valid variable name
Evaluate the function named NAME.
Run scripts in the current workspace that are not necessarily on the path.
Return a function handle constructed from the string FCN_NAME.
name = temp_name(rootname, quick=1) - Return a name that is not used

Lists

Return a new list created by appending A1, A2, ..., to LIST.
Return nonzero if X is a list.
Evaluate the function named NAME.
Create a new list with elements given by the arguments A1, A2, ....
usage: result = map ( FUN_HANDLE, ARG1, ... )
Return the N-th element of LIST.
Return a new list created by reversing the elements of LIST.
Replace LENGTH elements of LIST_1 beginning at OFFSET with the contents of LIST_2 (if any).

Logical functions

The function `all' behaves like the function `any', except that it returns true only if all the elements of a vector, or all the elements along dimension DIM of a matrix, are nonzero.
For a vector argument, return 1 if any element of the vector is nonzero.
Return a matrix or N-dimensional array whose elements are all logical 0.
isbool
not implemented
Return a matrix or N-dimensional array whose elements are all logical 1.
Return the `exclusive or' of the entries of X and Y.

Operations

Return the concatenation of N-d array objects, ARRAY1, ARRAY2, ..., ARRAYN along dimension DIM.
Array index, function argument, or command separator.
Return the horizontal concatenation of N-d array objects, ARRAY1, ARRAY2, ..., ARRAYN along dimension 2.
This function is equivalent to `! x'.
Array index or function argument delimeter.
Array row or command separator.
Return the vertical concatenation of N-d array objects, ARRAY1, ARRAY2, ..., ARRAYN along dimension 1.

Sets

Return the elements of set Y that are not in set X.
This function has been deprecated.
Return the elements in both A and B, sorted in ascending order.
This function has been deprecated.
Return a matrix TF the same shape as A which has 1 if `A(i,j)' is in S or 0 if it isn't.
Return the elements in A that are not in B, sorted in ascending order.
Return the elements exclusive to A or B, sorted in ascending order.
Return the set of elements that are in either of the sets A and B.
Return the unique elements of X, sorted in ascending order.

Structures

Return a cell array of strings naming the elements of the structure STRUCT.
Extract fields from a structure.
Return true if the expression EXPR is a structure and it includes an element named NAME.
Return 1 if the value of the expression EXPR is a structure.
Return a struct with fields arranged alphabetically or as specified by S2 and a corresponding permutation vector.
Remove field F from the structure S.
Set field members in a structure.
Create a structure and initialize its value.
Evaluate the function named NAME on the fields of the structure S.
This function has been deprecated.
This function has been deprecated.

Symbol table

command
not implemented
Return 1 if the name exists as a variable, 2 if the name is an absolute file name, an ordinary file in Octave's `path', or (after appending `.m') a function file in Octave's `path', 3 if the name is a `.oct' or `.mex' file in Octave's `path', 5 if the name is a built-in function, 7 if the name is a directory, or 103 if the name is a function not associated with a file (entered on the command line).
global
not implemented
Return 1 if NAME is globally visible.
Return the name of the currently executing file.
Return true if the named function is locked.
Lock the current function into memory so that it can't be cleared.
Unlock the named function.
persistent
not implemented
static
not implemented
Return the type of the expression EXPR, as a string.

Types

Create a new cell array object.
Convert X to 16-bit integer type.
Convert X to 32-bit integer type.
Convert X to 64-bit integer type.
Convert X to 8-bit integer type.
Return true if X is an integer object (int8, uint8, int16, etc.).
Return the size of VAL in bytes
Create a sparse matrix from the full matrix or row, column, value triplets.
Create a structure and initialize its value.
Swaps the byte order on values, converting from little endian to big endian and vice versa.
Convert from one datatype to another without changing the underlying data.
Convert X to unsigned 16-bit integer type.
Convert X to unsigned 32-bit integer type.
Convert X to unsigned 64-bit integer type.
Convert X to unsigned 8-bit integer type.

User I/O

Produce a beep from the speaker (or visual bell).
Clear the terminal screen and move the cursor to the upper left corner.
Display the value of X.
Format the optional arguments under the control of the template string TEMPLATE using the same rules as the `printf' family of functions (*note Formatted Output::) and print the resulting message on the `stderr' stream.
home
not implemented
Print a prompt and wait for user input.
Read a single keystroke from the keyboard.
This function is normally used for simple debugging.
Without any arguments, return the last error message.
Returns or sets the last error message.
Without any arguments, return the last warning message.
Print a title string followed by a series of options.
Suspend the execution of the program.
Print optional arguments under the control of the template string TEMPLATE to the stream `stdout' and return the number of characters printed.
Print the usage message for a function.
Write a string to the standard output with no formatting.
Reissues a previous error as defined by ERR.
displays a text-based wait bar.
Format the optional arguments under the control of the template string TEMPLATE using the same rules as the `printf' family of functions (*note Formatted Output::) and print the resulting message on the `stderr' stream.
Ask the user a yes-or-no question.