Using the C++ Math Library    

Operators and Special Functions

Arithmetic Operator Functions 
Function
Purpose
kron
Kronecker tensor product.
minus
Array subtraction (-).
mldivide
Matrix left division (\).
mpower
Matrix power (^).
mrdivide
Matrix right division (/).
mtimes
Matrix multiplication (*).
plus
Array addition (+).
power
Array power (.^).
rdivide
Array right division (./).
times
Array multiplication (.*).
unaryminus
Unary minus (-).

Relational Operator Functions 
Function
Purpose
eq
Equality (==).
ge
Greater than or equal to (>=).
gt
Greater than (>).
le
Less than or equal to (<=).
lt
Less than (<).
neq
Inequality (~=).

Logical Operator Functions 
Function
Purpose
all
True if all elements of vector are nonzero.
and_func
Logical AND (&).
any
True if any element of vector is nonzero.
not_func
Logical NOT (~).
or_func
Logical OR (|).
xor_func
Logical exclusive-or operation.

Set Operators 
Function
Purpose
intersect
Set intersection of two vectors.
ismember
True for set member.
setdiff
Set difference.
setxor
Set exclusive OR.
union_func
Set union.
unique
Set unique.

Special Operator Functions 
Function
Purpose
colon
Colon operator (:).
ctranspose
Complex Conjugate Transpose (').
end
Indexes to the end of an array.
horzcat
Horizontal concatenation.
transpose
Noncomplex conjugate transpose (.').
vertcat
Vertical concatenation.

Logical Functions 
Function
Purpose
find
Find indices of nonzero elements.
finite
Make elements finite.
ischar
True for character arrays.
isempty
True for empty array.
isfinite
True for finite elements of an array.
isieee
True for IEEE floating-point arithmetic.
isequal
True for input arrays of the same type, size, and contents.
isinf
True for infinite elements.
isletter
True for string elements that are letters of the alphabet.
islogical
True for logical arrays.
isnan
True for Not-a-Number.
isreal
True for noncomplex matrices.
isspace
True for whitespace characters in string matrices.
isstr
True for text strings.
isstudent
True for student editions of MATLAB.
isunix
True on UNIX machines.
isvms
True on computers running DEC's VMS.
logical
Convert numeric values to logical.
tobool
Convert an array to a Boolean value by reducing the rank of the array to a scalar.

Bitwise Functions 
Function
Purpose
bitand_func
Bitwise AND.
bitcmp
Complement bits.
bitget
Get bit.
bitmax
Maximum floating-point integer.
bitor_func
Bitwise OR.
bitset
Set bit.
bitshift
Bitwise shift.
bitxor
Bitwise XOR.
MATLAB as a Programming Language 
Function
Purpose
feval
Function evaluation.
lasterr
Last error message.
mfilename
Return the NULL array. M-file execution does not apply to stand-alone applications.
nargchk
Validate number of input arguments.
xyzchk
Check arguments to 3-D data routines.

Message Display 
Function
Purpose
error
Display message and abort function.
warning
Display warning message.


 General Purpose Commands Elementary Matrices and Matrix Manipulation