Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"full" does not work
#2
Are you using an older version of NumPy that doesn't have full? Of course you could create an array of 1s (using numpy.ones) and then multiply that by the infinity value. Note also that NumPy has an inf constant to represent infinity.
Reply


Messages In This Thread
"full" does not work - by coltson - Oct-31-2020, 11:18 PM
RE: "full" does not work - by ndc85430 - Nov-01-2020, 05:58 AM

Forum Jump:

User Panel Messages

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