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
- Each vertex costs 9 multiplications; there are 1000 vertices.
- 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.
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
- Select every computing area where linear algebra is central.
- GPUs were designed to transform vertices for games and turned out to be what deep learning needed. What made…
- Machine learning, computer graphics and search engines all reduce to matrix arithmetic. Why does that…
- Order the stages a 3D graphics pipeline applies to a vertex, from model to screen.
- Sort each computing task by the linear-algebra tool it primarily uses.