[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41428] Add an &~ binary operator

From: David Spies
Subject: [Octave-bug-tracker] [bug #41428] Add an &~ binary operator
Date: Sun, 02 Feb 2014 05:11:39 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.102 Chrome/32.0.1700.102 Safari/537.36


                 Summary: Add an &~ binary operator
                 Project: GNU Octave
            Submitted by: dspyz
            Submitted on: Sun 02 Feb 2014 05:11:38 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



In pretty much every project I write, I always end up writing an andnot.m

function [r] = andnot(a,b)
  a(logical(b)) = false
  r = logical(a)

It comes up consistently with logical operations and if you're dealing with
sparse matrices, you can't say a & ~b without invoking an OOM


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]