[SciPy-User] MATLAB accumarray equivalent ?

josef.pktd@gmai... josef.pktd@gmai...
Fri Mar 26 09:47:33 CDT 2010


On Fri, Mar 26, 2010 at 10:39 AM, Mohammad Abdollahi
<m.abdollahi@gmail.com> wrote:
> Hi,
>
> Does anyone know what is the equivalent function of MATLAB's "accumarray()"
> in scipy/numpy,  with the exact same functionality ?

A description or link would be helpful.
I never used accumarray
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html

but it looks similar to np.bincount(labels, weights=values)

I don't know what the equivalent options are?

Josef

>
> Thanks
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>


More information about the SciPy-User mailing list