horizontalJoin L
If the list L contains only strings, then horizontalJoin acts like the command concatenate.
|
|
|
|
Unlike concatenate, horizontalJoin can also be used on Nets.
|
|
As the previous example shows, null arguments are allowed and ignored.
Nets and strings can be mixed in the input list. In this case, a string is interpreted as a net of height one, with baseline below the string. The operator Net ^ ZZ can be used to lower or raise the baseline of a string or net.
|
|
|
|
|
In the next example, we use horizontalJoin to concatenate the display of two random integer matrices. The matrices are converted to nets first with the command net.
|
|
|
Nested sequences in the input are automatically spliced. For instance, in the next example the input is interpreted as \{A, B, A, B, A\}.
|
However, the command horizontalJoin \{\{A, B\}, \{A, B, \{A\}\}\} will throw an error, because nested lists are not automatically flattened.
The object horizontalJoin is a compiled function.
The source of this document is in Macaulay2Doc/functions/horizontalJoin-doc.m2:80:0.