Skip to content
Commit d3dd41ef authored by Karl Rupp's avatar Karl Rupp
Browse files

Power iteration: Improved performance by avoiding a temporary, reduced...

Power iteration: Improved performance by avoiding a temporary, reduced tolerance for the tutorial for shorter execution times.

The power iteration implementation included the operation
 r <- prod(A, r);
which requires the creation of a temporary vector. Since this is called in a loop,
the overhead can become quite substantial, hence this was split into
 r2 <- prod(A, r);
 r  <- r2;
parent 9cd3be1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment