The Operators module provides tools for performing arithmetic, logical, relational, and array operations in Nelson.
It supports element-wise and matrix computations, concatenation, subscripted referencing and assignment, and short-circuit logical operations.
This module enables flexible manipulation of data structures and numerical arrays, forming the foundation for both basic calculations and advanced mathematical expressions.
-
all
all of the elements of a matrix satisfy some condition.
-
and
logical 'AND' operator, &
-
any
any of the elements of a matrix satisfy some condition.
-
bitand
Bit-wise AND
-
bitcmp
Bitwise complement.
-
bitget
Get selected bits.
-
bitor
Bit-wise OR
-
bitset
Set bit at a specified position.
-
bitxor
Bit-wise XOR
-
cat
Concatenate arrays.
-
colon
colon operator ':'.
-
ctranspose
Returns complex conjugate transpose: ' operator.
-
eq
equality, == operator.
-
ge
greater than or equal, >= operator.
-
gt
greater than, > operator.
-
horzcat
Horizontal concatenation.
-
ismember
Array elements that are members of another array.
-
ldivide
Left division, .\ operator.
-
le
less than or equal, = operator.
-
lt
less than, < operator.
-
minus
Subtraction, - operator
-
mldivide
Matrix left division, \ operator.
-
mpower
Matrix power, ^ operator
-
mrdivide
Matrix right division, / operator.
-
mtimes
Matrix multiplication, * operator
-
ne
Inequality, ~= operator
-
not
not logical, ~ operator
-
or
logical 'OR' operator, |
-
plus
Addition, + operator
-
power
Element wise power, .^ operator
-
rdivide
Right division, ./ operator
-
shortcutand
Short circuit 'AND' operator, &
&
-
shortcutor
Short circuit 'OR' operator, ||
-
subsasgn
Redefine subscripted assignment.
-
subsindex
Convert an object to an index vector.
-
subsref
Subscripted reference.
-
mtimes
Element wise multiplication, .* operator
-
transpose
Returns vector or matrix transpose: .' operator.
-
uminus
Unary minus, - operator
-
uplus
Unary plus, + operator
-
vertcat
Vertical concatenation.