protected DoDivide ( Complex32 divisor, Matrix |
||
divisor | Complex32 | The scalar to divide the matrix with. |
result | Matrix |
The matrix to store the result of the division. |
return | void |
protected override void DoDivide(Complex32 divisor, Matrix<Complex32> result)
{
var denseResult = result as DenseMatrix;
if (denseResult == null)
{
base.DoDivide(divisor, result);
}
else
{
Control.LinearAlgebraProvider.ScaleArray(1.0f/divisor, _values, denseResult._values);
}
}