Assuming m
is a matrix of type Matrix<double>
and s
is a scalar of type double
, then
m.Divide(s)
is equivalent to m/s
where the scalar is the divisor
m.DivideByThis(s)
is equivalent to s/m
where the scalar is the dividend (point-wise)
Beware that both operations are point-wise divisions, so DivideByThis
does not do a matrix inversion or pseudo-inversion but instead divides the scalar by each value of the matrix.
Unfortunately the tool used to generate the API reference has some issues and fails to render the xml docs in this case. We hope to replace it with something more useful and better integrated into the docs in the future.