Computer Science I / Applications of Linear Algebra in Computing
Practice question · Numerical answer

A graphics engine applies a single 3x3 transformation matrix to each of 1000 vertices. If each matrix-vector product costs 9 multiplications, how many multiplications is that in total?

Hints
  1. Each vertex costs 9 multiplications; there are 1000 vertices.
  2. 9 times 1000.
Show the answer

9000

Why

9 multiplications per vertex times 1000 vertices = 9000. Real scenes have millions of vertices, which is exactly why GPUs are built to do matrix-vector products in parallel at huge scale.

Read the lesson: Applications of Linear Algebra in Computing →

Practise Applications of Linear Algebra in Computing

The app has 5 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Applications of Linear Algebra in Computing