Mercurial > hg > octave-nkf
diff libinterp/parse-tree/pt-cbinop.h @ 19857:bf88eab464b8
Detect binary operations with a transposed matrix and forward to BLAS (bug #42716).
* pt-cbinop.cc (tree_compound_binary_expression::rvalue,
tree_compound_binary_expression::rvalue1): New functions.
::rvalue validates input and calls ::rvalue1.
rvalue1 calls do_binary_op with the correct transpose flag.
* pt-cbinop.h: Add new functions to header file.
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 03 Feb 2015 12:27:58 -0800 |
parents | ebb3ef964372 |
children | 4197fc428c7d |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-cbinop.h +++ b/libinterp/parse-tree/pt-cbinop.h @@ -52,6 +52,12 @@ octave_value::compound_binary_op cop_type (void) const { return etype; } + bool rvalue_ok (void) const { return true; } + + octave_value rvalue1 (int nargout = 1); + + octave_value_list rvalue (int nargout); + private: tree_expression *op_lhs;