In Fortran, dim (x, y) returns the difference xy if the result is positive; otherwise returns zero. What is it for? What is the meaning of the name dim?
Presumably, it comes from a dimension, i.e. the length, width, height of something. Since none of these values can be negative, it is calculated as a positive difference.
Since this is (in some earlier Fortran literature) defined as DIM (A, B): = A-MIN (A, B), I would say that this name is the abbreviation "difference from minimum".
Source: https://habr.com/ru/post/1707729/More articles:Существуют ли какие-либо тесты производительности для Direct2D? - windowsWPF Style Tabs Like Visual Studio Tabs - wpfAllowed memory * bytes exhausted in php - memory-managementC / C ++ Windows API sending text to clipboard - c ++Is there a way to detect page closure by javascript? - javascriptUsing a parser generator such as BISON while correctly handling bad input - parsingFormat international currencies - vb.netClosing modal JInternalFrame - javaКак подключиться к внутренним файлам в файле KMZ? - gisHow can I use bash (grep / sed / etc) to grab a section of a log file between two timestamps? - bashAll Articles