chsvlib
chsv helper source code

◆ array_size

#define array_size (   x)    (sizeof(x) / sizeof(x[0]))

Returns a number of elements in an array.

Parameters
xis the array of size to be returned. For an array of rank \(N\) the returned value is a number of sub-arrays of rank \(N-1\).
See also
Chusov::Math::array_size.