[SciPy-User] MATLAB accumarray equivalent ?

josef.pktd at gmail.com josef.pktd at gmail.com
Fri Mar 26 10:47:33 EDT 2010


On Fri, Mar 26, 2010 at 10:39 AM, Mohammad Abdollahi
<m.abdollahi at 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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>



More information about the SciPy-User mailing list