diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-05-04 14:25:12 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-05-04 14:25:12 +0000 |
commit | 28293142842c525eec1adde377999b065dea8cbf (patch) | |
tree | 22a6b32d00f507afaaa6a20c712ecd70c8b6ffb7 /bench | |
parent | ddb6e96d48e353099911cf4179ea6285dce40d4c (diff) |
new simplified API to fill sparse matrices (the old functions are
deprecated). Basically there are now only 2 functions to set a
coefficient:
1) mat.coeffRef(row,col) = value;
2) mat.insert(row,col) = value;
coeffRef has no limitation, insert assumes the coeff has not already
been set, and raises an assert otherwise.
In addition I added a much lower level, but more efficient filling
mechanism for
internal use only.
Diffstat (limited to 'bench')
0 files changed, 0 insertions, 0 deletions