I am trying to rewrite a matlab code in python27. There is a matlab line as follows:

vector_C = vector_A &gt; vector_B;


If I try to write this in python using numpy it will be the same, but the result will be an array of booleans instead of binaries. I want the result to be in binaries. Is there a way to make it return binary or should I convert manually each time? Is there a quick way of converting it? I am new to python. Thanks.


Question: Send & Delete in GMail
Answer: There's nothing in Labs to do this at this time.

Depending on what you're after, you might be able to get close using filters. Create a filter that looks for a particular string in the content ("Contains:"). Make the string something innocuous that no one would ever think to put in a message (something like ///d\\\). Then set your filter to delete any such message.

When you send a message with that string in it the message will get labelled "Trash" (as if you'd deleted it yourself).

Two possible complications


If the recipient replies and quotes your "tag" the message will go straight to Trash. If they don't it won't
If you use this to reply to a message, the reply will go to Trash, but the original won't. It doesn't delete the whole thread


Depending on what you're trying to accomplish these may or may not be a problem.