mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
fix bug #597: typo in sparse documentation
This commit is contained in:
parent
26c35b95c7
commit
a4a575e2a3
@ -290,9 +290,9 @@ sm3 = 4 * sm1.adjoint() * sm2;
|
|||||||
\endcode
|
\endcode
|
||||||
The second algorithm prunes on the fly the explicit zeros, or the values smaller than a given threshold. It is enabled and controlled through the prune() functions:
|
The second algorithm prunes on the fly the explicit zeros, or the values smaller than a given threshold. It is enabled and controlled through the prune() functions:
|
||||||
\code
|
\code
|
||||||
sm3 = (sm1 * sm2).prune(); // removes numerical zeros
|
sm3 = (sm1 * sm2).pruned(); // removes numerical zeros
|
||||||
sm3 = (sm1 * sm2).prune(ref); // removes elements much smaller than ref
|
sm3 = (sm1 * sm2).pruned(ref); // removes elements much smaller than ref
|
||||||
sm3 = (sm1 * sm2).prune(ref,epsilon); // removes elements smaller than ref*epsilon
|
sm3 = (sm1 * sm2).pruned(ref,epsilon); // removes elements smaller than ref*epsilon
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
- \b permutations. Finally, permutations can be applied to sparse matrices too:
|
- \b permutations. Finally, permutations can be applied to sparse matrices too:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user