abs_d

Command: abs_d


Description

implemented by C/C++
double fabs(double)

Author
Diesmann
Synopsis
double abs -> double

References
Stroustrup 3rd ed p 660
Examples
-3.456 abs_d -> 3.456

File
sli/slimath.cc
Remarks
If you are not sure if the value is of type double or integer use abs.
If e.g. abs_d gets an integer as argument NEST will exit throwing an assertion.

FirstVersion