Hello,
the following operation seems strange to me
>>> np.left_shift(2,-1)
0
I would have expected a right_shift by one.
The documentation on
http://docs.scipy.org/doc/numpy/reference/generated/numpy.left_shift.html#numpy.left_shift
also says that the operation is equivalent to multiplying x1 b
>> On Wed, Feb 3, 2010 at 8:43 PM, wrote:
>>
>> Hello,
>>
>> the following operation seems strange to me
>>
>> >>> np.left_shift(2,-1)
>> 0
>>
>> I would have expected a right_shift by one.
>
> I wouldn't expect anything, the behavior is simply not defined.
But it would prevent a state
Hello,
is there a possibility to create a dll from a numpy code?
Markus___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
numpy-discussion-boun...@scipy.org schrieb am 17.02.2010 01:43:03:
> markus.proel...@ifm.com wrote:
> >
> > Hello,
> >
> > is there a possibility to create a dll from a numpy code?
>
> What do you want to create a dll for ? For distribution purpose, to hide
> your code, etc... ?
>
To replace
numpy-discussion-boun...@scipy.org schrieb am 17.02.2010 01:43:03:
> markus.proel...@ifm.com wrote:
> >
> > Hello,
> >
> > is there a possibility to create a dll from a numpy code?
>
> What do you want to create a dll for ? For distribution purpose, to hide
> your code, etc... ?
To replace a
Hello everyone,
I save data to a file with the following statement:
np.savetxt(fileName, transpose((average_dist, std_deviation, maximum_dist,
sum_of_dist)), delimiter = ';', fmt='%6.10f')
is there a possibility to change the decimal seperator from a point to
comma ?
And another question I imp
>> I was fiddeling with the same problem here:
>> http://thread.gmane.org/gmane.comp.python.numeric.general/23418
>>
>> So far, one can only open the file and prepend the header line.
>>
>> I just files an enhancement request for this:
>> proposal: add a header and footer function to numpy.savetxt
Hello,
I'm always wondering why binary_repr doesn't allow arrays as input values.
I always have to use a work around like:
import numpy as np
def binary_repr(arr, width=None):
binary_list = map((lambda foo: np.binary_repr(foo, width)),
arr.flatten())
str_len_max = len(np.binary_repr(ar
numpy-discussion-boun...@scipy.org schrieb am 22.10.2009 12:36:46:
> >
> >
> > On Tue, Oct 20, 2009 at 11:17 AM, wrote:
> >
> > Hello,
> >
> > I'm always wondering why binary_repr doesn't allow arrays as input
> > values. I always have to use a work around like:
> >
> > import numpy as np