[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41428] Add an &~ binary operator
From: |
David Bateman |
Subject: |
[Octave-bug-tracker] [bug #41428] Add an &~ binary operator |
Date: |
Mon, 03 Feb 2014 20:06:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #6, bug #41428 (project octave):
I'm not proposing to add the operators as that are already there. I believe
Micheal added them a couple of years ago. Look in ov.h(enum
compound_binary_ops). The operators
op_trans_mul,
op_mul_trans,
op_herm_mul,
op_mul_herm,
op_trans_ldiv,
op_herm_ldiv,
op_el_not_and,
op_el_not_or,
op_el_and_not,
op_el_or_not,
num_compound_binary_ops,
are already defined and used for full matrices. I have a first try of the
operators op_el_not_and, op_el_not_or, op_el_and_not and op_el_or_not written
for scalar-sparse, sparse-scalar, full-sparse, sparse-full and sparse-sparse
with the exception of op_el_not_or and op_el_or_not for sparse-sparse binary
operators as I can't see a way of efficently implementing that.I just need to
debug it as it doesn't quite work yet ;-)
D.
PS: I was probably optomistic for the effort needed to implement the other
compound operators though UMFPACK and CHOLMOD seem to natively support the
transpose and hermitian version of the solvers
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41428>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/