Commit b65dc7d7 authored by Alexis SALZMAN's avatar Alexis SALZMAN

[xLinAlg] change resize API and behavior of xDenseMatrix class

After some discussion with other contributors the resize method of
class xDenseMatrix have been changed so that it initialize its newly
allocated memory with a defined value. By default this value is zero but
it can be changed.

Now use of resize guaranty a defined state for matrix term which avoid
some issue like having nan in some location that cannot be cleaned out
by use of *= operator with zero argument.
parent 3e77bf0d
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment