size#

swordfish.function.size()#

For a vector/matrix, size returns the number of elements. In comparison, count returns the number of non-null elements.

For an in-memory table, size returns the number of rows.

Parameters:

obj (Constant) – A scalar/vector/matrix/table.