What I'm attempting to do is perform a dot product of an int32 array
with a list of mpz integers.
z=np.zeros(10,np.int32)
y=[gmpy.mpz[1] *10 ]
summation = gmp.xmpz(0)
for i in range(0,10):
product = gmpy2.xmpz(z[i])
product *= y[i]
summation += product
The bug prevents this from
On Mon, 16 Nov 2015 10:36:21 -0800 David George Henderson III
wrote:
> What I'm attempting to do is perform a dot product of an int32 array
> with a list of mpz integers.
>
> z=np.zeros(10,np.int32)
> y=[gmpy.mpz[1] *10 ]
>
> summation = gmp.xmpz(0)
> for i in
2 matches
Mail list logo