Rounding matrix/vector elements to a specified accuracy. For complex numbers, the real and imaginary parts are normalized separately. Returns matrix/vector with normalized elements;
vector vector::NormalizeDouble(
|
Parameters
digits
[in] Accuracy format, number of digits after point (0-11).
Return Value
Matrix/vector with normalized values.
Example
matrixf a={{ 1, 1, 2, 3, 4},
|