Description Usage Arguments Details Value Note Author(s) See Also Examples

Print methods for objects with options for printing in matrix form or multivariate polynomial form

1 2 3 4 |

`x` |
\mjseqn k-form or \mjseqnk-tensor |

`...` |
Further arguments (currently ignored) |

The print method is designed to tell the user that an object is a
tensor or a \mjseqnk-form. It prints a message to this effect (with
special dispensation for zero tensors), then calls the `spray`

print method.

Returns its argument invisibly.

The print method asserts that its argument is a map from \mjseqnR^n
to \mjseqnR, where \mjseqnn is the largest element in the index
matrix. However, such a map naturally furnishes a map from
\mjseqnR^m to \mjseqnR provided that \mjeqnm\geq nm>=n via the
natural projection from \mjseqnR^n to \mjseqnR^m. Formally this
would be
\mjeqn\left(x_1,...,x_n\right)\mapsto\left(x_1,...,x_n,0,...,0\right)\in
R^mequation omitted. In the case of the zero \mjseqnk-form or
\mjseqnk-tensor, β`n`

β is to be interpreted as
βany \mjeqnn\geq 0n>=0β.

By default, the print method uses the spray print methods, and
as such respects the `polyform`

option.

However, the print method is sensitive to the
`stokes_symbolic_print`

option. If `TRUE`

, it uses
`as.symbolic()`

to give an alternate way of displaying
\mjseqnk-forms.

Robin K. S. Hankin

1 2 3 4 5 6 7 8 9 10 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.