Exercises

  1. u02-02-9780128006450 7.1 It’s possible to implement a specialized version of ScrambledRadicalInverse() for base 2, along the lines of the implementation in RadicalInverse(). Determine how to map the random digit permutation to a single bitwise operation and implement this approach. Compare the values computed to those generated by the current implementation to ensure your method is correct and measure how much faster yours is by writing a small benchmark program.
  2. u02-02-9780128006450 7.2 Currently, the third through fifth dimensions of each sample vector are consumed for time and ...

Get Physically Based Rendering, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.