symbolic {stokes}R Documentation

Symbolic form

Description

Returns a character string representing kk-tensor and kk-form objects in symbolic form. Used by the print method if either option kform_symbolic_print or ktensor_symbolic_print is non-null.

Usage

as.symbolic(M,symbols=letters,d="")

Arguments

M

Object of class kform or ktensor; a map from VkV^k to R\mathbb{R}, where V=RnV=\mathbb{R}^n

symbols

A character vector giving the names of the symbols

d

String specifying the appearance of the differential operator

Details

Spivak (p89), in archetypically terse writing, states:

A function ff is considered to be a 0-form and fωf\cdot\omega is also written fωf\wedge\omega. If f ⁣:RnRf\colon\mathbb{R}^n\longrightarrow\mathbb{R} is differentiable, then Df(p)Λ1(Rn)Df(p)\in\Lambda^1\left(\mathbb{R}^n\right). By a minor modification we therefore obtain a 1-form df\mathrm{d}f, defined by

df(p)(vp)=Df(p)(v).\mathrm{d}f(p)\left(v_p\right)=Df(p)(v).

Let us consider in particular the 1-forms dπi\mathrm{d}\pi^i. It is customary to let xix^i denote the function πi\pi^i (On R3\mathbb{R}^3 we often denote x1x^1, x2x^2, and x3x^3 by xx, yy, and zz). This standard notation has obvious disadvantages but it allows many classical results to be expressed by formulas of equally classical appearance. Since dxi(p)(vp)=dπi(p)(vp)=Dπi(p)(v)=vi\mathrm{d}x^i(p)(v_p)=\mathrm{d}\pi^i(p)(v_p)=D\pi^i(p)(v)=v^i, we see that dx1(p),,dxn(p)\mathrm{d}x^1(p),\ldots,\mathrm{d}x^n(p) is just the dual basis to (e1)p,,(en)p(e_1)_p,\ldots,(e_n)_p. Thus every k-form ω\omega can be written

ω=i1<<ikωi1,,ikdxi1dxik. \omega=\sum_{i_1 < \cdots < i_k}\omega_{i_1,\ldots,i_k} \mathrm{d}x^{i_1}\wedge\cdots\wedge\mathrm{d}x^{i_k}.

Function as.symbolic() uses this format. For completeness, we add (p77) that kk-tensors may be expressed in the form

i1,,ik=1nai1,,ikϕi1ϕik. \sum_{i_1,\ldots, i_k=1}^n a_{i_1,\ldots,i_k}\cdot \phi_{i_1}\otimes\cdots\otimes\phi_{i_k}.

and this form is used for kk-tensors.

Value

Returns a “noquote” character string.

Author(s)

Robin K. S. Hankin

See Also

print.stokes,dx

Examples

(o <- kform_general(3,2,1:3))
as.symbolic(o,d="d",symbols=letters[23:26])

(a <- rform(n=50))
as.symbolic(a,symbols=state.abb)


[Package stokes version 1.2-1 Index]