c# - Is there a word for the number of dimensions of a data set? -
i have code generates code, , want store number of dimensions of resulting data structure in variable. i'm looking right name variable. example, int
should have value 0, list<int>
should have value 1, list<list<int>>
should have value 2, , on.
is there word set theory or otherwise describes number? (at first thought cardinality apparently that's size of set, not nested-ness of set....)
the word looking for, seem rank
in computer programming, rank no further specifications synonym (or refers to) "number of dimensions"; thus, bi-dimensional array has rank two, three-dimensional array has rank 3 , on. strictly, no formal definition can provided applies every programming language, since each of them has own concepts, semantics , terminology; term may not applicable or, contrary, applied specific meaning in context of given language.
the same term used in linear algebra:
in linear algebra, rank of matrix size of largest collection of linearly independent columns of (the column rank) or size of largest collection of linearly independent rows of (the row rank). every matrix, column rank equal row rank. measure of "nondegenerateness" of system of linear equations , linear transformation encoded a. there multiple equivalent definitions of rank. matrix's rank 1 of fundamental characteristics.
also refer this discussion on definition of rank related sets maths stackexchange.
finally this how ops employer names arrays :d