Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
matrix by vector
#9
s is the sum of the products in each row in a. Since it is for each row, you need to reset it at the start of each row. The i loop goes through the rows, so it should be reset at the start of each i loop.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
matrix by vector - by mcgrim - Apr-29-2019, 09:40 PM
RE: matrix by vector - by ichabod801 - Apr-29-2019, 10:17 PM
RE: matrix by vector - by mcgrim - May-01-2019, 08:36 AM
RE: matrix by vector - by paul18fr - May-01-2019, 09:39 AM
RE: matrix by vector - by ichabod801 - May-01-2019, 11:09 AM
RE: matrix by vector - by mcgrim - May-01-2019, 07:04 PM
RE: matrix by vector - by ichabod801 - May-01-2019, 07:59 PM
RE: matrix by vector - by mcgrim - May-01-2019, 08:07 PM
RE: matrix by vector - by ichabod801 - May-02-2019, 10:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create a function vector Cooketaker 4 958 Dec-27-2022, 08:22 PM
Last Post: Cooketaker
  Vector field cross product Eduard 2 2,525 Aug-20-2018, 02:54 PM
Last Post: Eduard

Forum Jump:

User Panel Messages

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