dovs: Dimension of the underlying vector space

dovsR Documentation

Dimension of the underlying vector space

Description

\loadmathjax

A \mjseqnk-form \mjeqn\omega\in\Lambda^k(V)omitted maps \mjseqnV^k to the reals, where \mjeqnV=\mathcalR^nomitted. Function dovs() returns \mjseqnn, the dimensionality of the underlying vector space. The function itself is almost trivial, returning the maximum of the index matrix.

Special dispensation is given for zero-forms and zero tensors, which return zero.

Vignette dovs provides more discussion.

Usage

dovs(K)

Arguments

K

A \mjseqnk-form or \mjseqnk-tensor

Value

Returns a non-negative integer

Author(s)

Robin K. S. Hankin

Examples

dovs(rform())

table(replicate(20,dovs(rform(3))))  


stokes documentation built on Aug. 19, 2023, 1:07 a.m.