ecl-logo Documentation

SequenceMost

SequenceMost[seq]out

returns all but the last monomer of the provided sequence.

Details

    Input
    Output
    General Options

Examples

Basic Examples  (4)

Extracts the all but the first monomer from the sequence:

Works for any known polymer type:

Works on explicitly typed sequences as well:

Works for any known polymer type:

Additional Examples  (1)

Numeric sequences work as well:

Options  (6)

ExplicitlyTyped  (4)

When set to True, ExplicitlyTyped will wrap the output in its polymer type:

When set to False, ExplicitlyTyped will strip the return the resulitng sequence sans the type:

If set to Automatic ExplicitlyTyped will preserve the input's explicitly typed status:

If set to Automatic ExplicitlyTyped will preserve the input's explicitly typed status:

Polymer  (2)

The polymer option can be used to force the type:

The polymer option can be used to specify the type:

Attributes  (1)

Listable  (1)

The function is listable:

Possible Issues  (1)

Stripping the type from a numeric sequence will use the degenerate monomer to fill in: