Python Forum
Array Dimensions - NEWBIE
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array Dimensions - NEWBIE
#3
I just provide a link which may help to understand numpy broadcasting rules: Array Broadcasting in Numpy.

Documentation states:

Quote:The term broadcasting describes how numpy treats arrays with different shapes during arithmetic operations.

Therefore it is impossible 'to understand' arithmetic operations between numpy arrays of different shapes without understanding concept of broadcasting.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
Array Dimensions - NEWBIE - by willowman - Apr-12-2020, 06:54 AM
RE: Array Dimensions - NEWBIE - by perfringo - Apr-12-2020, 12:21 PM
Array Dimensions - NEWBIE - by willowman - Apr-12-2020, 08:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie here. Create an array from file data? Rayj00 2 1,295 Jan-13-2023, 01:35 PM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020