Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25312

Re: from octave to python

From invis <invis87@gmail.com>
Newsgroups comp.lang.python
Subject Re: from octave to python
Date 2012-07-14 06:17 -0700
Organization http://groups.google.com
Message-ID <6fb74b9d-e1ca-4aa8-bd48-dea7f54ff2bb@googlegroups.com> (permalink)
References <403486d4-6afc-4da6-aadc-7b2a0d4270d0@googlegroups.com>

Show all headers | View raw


суббота, 14 июля 2012 г., 15:27:24 UTC+4 пользователь invis написал:
> Hello everyone !
> 
> I used Octave for matrix computations, but looks like Python will be useful everywhere so it is good idea to migrate (imho ofc).
> 
> But I am novice here and dont know how to get things that was easy in Octave, for example:
> [intersect iA iB] = intersect(a, b)
> 
> To do this in Python I use numpy.intersect1d(numpy.array, numpy.array), but how to get indexces ?
> 
> P.S. sry for my english, hope you can understand what I mean :)

Answer here:
http://stackoverflow.com/questions/11483863/python-intersection-indices-numpy-array

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

from octave to python invis <invis87@gmail.com> - 2012-07-14 04:27 -0700
  Re: from octave to python invis <invis87@gmail.com> - 2012-07-14 06:17 -0700

csiph-web