Hi all,
So, in advanced indexing, numpy decides where to put new axes based on
whether the "advanced indices" are all next to each other.
>>> np.random.random((3,4,5,6,7,8))[:, [[0,0],[0,0]], 1, :].shape
(3, 2, 2, 6, 7, 8)
>>> np.random.random((3,4,5,6,7,8))[:, [[0,0],[0,0]], :, 1].shape
(2, 2, 3
You will need to convert "a[(2,3,5),][mask]" into a single indexing
expression, e.g, by using utility functions like np.nonzero() on mask.
NumPy can't support assignment in chained indexing.
On Tue, Jun 19, 2018 at 1:25 PM Emil Sidky wrote:
> Hello,
> The following is an example where an array e
Hello,
The following is an example where an array element assignment didn't work
as I expected.
Create a 6 x 3 matrix:
In [70]: a = randn(6,3)
In [71]: a
Out[71]:
array([[ 1.73266816, 0.948849 , 0.69188222],
[-0.61840161, -0.03449826, 0.15032552],
[ 0.4963306 , 0.77028209, -0
Hi,
On Tue, Jun 19, 2018 at 6:27 PM, Matti Picus wrote:
> On 19/06/18 09:58, Charles R Harris wrote:
>>
>> > What I was curious about is that there were no more "daily" builds of
>> > master.
>>
>> Is that right? That there were daily builds of master, on Appveyor?
>> I don't know how those work
On 19/06/18 09:58, Charles R Harris wrote:
> What I was curious about is
that there were no more "daily" builds of
> master.
On Tue, Jun 19, 2018 at 10:36 AM, Matthew Brett
wrote:
> On Tue, Jun 19, 2018 at 2:46 PM, Charles R Harris
> wrote:
> >
> >
> > On Tue, Jun 19, 2018 at 4:57 AM, Matthew Brett
> > wrote:
> >>
> >> Hi,
> >>
> >> On Tue, Jun 19, 2018 at 2:44 AM, Charles R Harris
> >> wrote:
> >> >
> >> >
> >> > O
On Tue, Jun 19, 2018 at 2:46 PM, Charles R Harris
wrote:
>
>
> On Tue, Jun 19, 2018 at 4:57 AM, Matthew Brett
> wrote:
>>
>> Hi,
>>
>> On Tue, Jun 19, 2018 at 2:44 AM, Charles R Harris
>> wrote:
>> >
>> >
>> > On Mon, Jun 18, 2018 at 5:58 PM, Matthew Brett
>> > wrote:
>> >>
>> >> On Tue, Jun 19
On Tue, Jun 19, 2018 at 4:57 AM, Matthew Brett
wrote:
> Hi,
>
> On Tue, Jun 19, 2018 at 2:44 AM, Charles R Harris
> wrote:
> >
> >
> > On Mon, Jun 18, 2018 at 5:58 PM, Matthew Brett
> > wrote:
> >>
> >> On Tue, Jun 19, 2018 at 12:24 AM, Charles R Harris
> >> wrote:
> >> >
> >> >
> >> > On Mon,
I am pleased to announce release 2018.2 of SfePy.
Description
---
SfePy (simple finite elements in Python) is a software for solving systems of
coupled partial differential equations by the finite element method or by the
isogeometric analysis (limited support). It is distributed under t
Hi,
On Tue, Jun 19, 2018 at 2:44 AM, Charles R Harris
wrote:
>
>
> On Mon, Jun 18, 2018 at 5:58 PM, Matthew Brett
> wrote:
>>
>> On Tue, Jun 19, 2018 at 12:24 AM, Charles R Harris
>> wrote:
>> >
>> >
>> > On Mon, Jun 18, 2018 at 3:13 PM, Matthew Brett
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> On
10 matches
Mail list logo