GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "error.h"
#include "oct-obj.h"
#include "ov.h"
#include "pt-cbinop.h"
#include "pt-bp.h"
#include "pt-unop.h"
#include "pt-walk.h"
Go to the source code of this file.
Functions | |
tree_binary_expression * | maybe_compound_binary_expression (tree_expression *a, tree_expression *b, int l, int c, octave_value::binary_op t) |
static octave_value::compound_binary_op | simplify_and_or_op (tree_expression *&a, tree_expression *&b, octave_value::binary_op op) |
static octave_value::compound_binary_op | simplify_ldiv_op (tree_expression *&a, tree_expression *&) |
static octave_value::compound_binary_op | simplify_mul_op (tree_expression *&a, tree_expression *&b) |
static octave_value::unary_op | strip_not (tree_expression *&exp) |
static octave_value::unary_op | strip_trans_herm (tree_expression *&exp) |
tree_binary_expression* maybe_compound_binary_expression | ( | tree_expression * | a, |
tree_expression * | b, | ||
int | l, | ||
int | c, | ||
octave_value::binary_op | t | ||
) |
Definition at line 205 of file pt-cbinop.cc.
References octave_value::op_el_and, octave_value::op_el_or, octave_value::op_ldiv, octave_value::op_mul, simplify_and_or_op(), simplify_ldiv_op(), simplify_mul_op(), and octave_value::unknown_compound_binary_op.
Referenced by octave_base_parser::make_binary_op().
|
static |
Definition at line 173 of file pt-cbinop.cc.
References octave_value::op_el_and, octave_value::op_el_and_not, octave_value::op_el_not_and, octave_value::op_el_not_or, octave_value::op_el_or, octave_value::op_el_or_not, octave_value::op_not, strip_not(), and octave_value::unknown_compound_binary_op.
Referenced by maybe_compound_binary_expression().
|
static |
Definition at line 155 of file pt-cbinop.cc.
References octave_value::op_herm_ldiv, octave_value::op_hermitian, octave_value::op_trans_ldiv, octave_value::op_transpose, strip_trans_herm(), and octave_value::unknown_compound_binary_op.
Referenced by maybe_compound_binary_expression().
|
static |
Definition at line 128 of file pt-cbinop.cc.
References octave_value::op_herm_mul, octave_value::op_hermitian, octave_value::op_mul_herm, octave_value::op_mul_trans, octave_value::op_trans_mul, octave_value::op_transpose, strip_trans_herm(), and octave_value::unknown_compound_binary_op.
Referenced by maybe_compound_binary_expression().
|
static |
Definition at line 104 of file pt-cbinop.cc.
References tree_expression::is_unary_expression(), octave_value::op_not, tree_unary_expression::op_type(), tree_unary_expression::operand(), and octave_value::unknown_unary_op.
Referenced by simplify_and_or_op().
|
static |
Definition at line 82 of file pt-cbinop.cc.
References tree_expression::is_unary_expression(), octave_value::op_hermitian, octave_value::op_transpose, tree_unary_expression::op_type(), tree_unary_expression::operand(), and octave_value::unknown_unary_op.
Referenced by simplify_ldiv_op(), and simplify_mul_op().