show {jordan}R Documentation

Print methods

Description

Show methods, to display objects at the prompt

Usage

albert_show(x)
spin_show(x)
jordan_matrix_show(x)
description(x,plural=FALSE)

Arguments

x

Jordan object

plural

Boolean, indicating whether plural form is to be given

Details

The special algebras use a bespoke show method, jordan_matrix_show() or spin_show(). If the number of elements is small, they display a concise representation and modify the row and column names of the underlying matrix slightly; spin factors are displayed with the scalar component offset from the vector component.

Print methods for special algebras are sensitive to the value of option head_and_tail, a two-element integer vector indicating the number of start lines and end lines to print.

Function description() gives a natural-language description of its argument, used in the print method.

Value

Returns the argument

Author(s)

Robin K. S. Hankin

Examples

rspin()

rqhm()

rchm()

[Package jordan version 1.0-5 Index]