dovs: Dimension of the underlying vector space

dovsR Documentation

Dimension of the underlying vector space

Description

A k-form \omega\in\Lambda^k(V) maps V^k to the reals, where V=\mathbb{R}^n. Function dovs() returns n, 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 k-form or k-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 June 22, 2024, 11:56 a.m.