PadLeft
Pad a list on the left to length n, or truncate it from the left.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
PadLeft✓PadLeft(list)a ragged array (a list of lists) padded with 0s to a full matrix.PadLeft(list, n, x?)padded on the left with (default 0) to length ; a shorter drops elements from the left instead.Typed signatures
| Type | Package | Applies |
|---|---|---|
(list<any>, integer?, any?) -> collection | combinatorics | always |
Examples
Basic #
Scope #
Possible issues #
About
| Examples | 10 |
|---|---|
| Checked against | Wolfram Language 10 agree |
| Crosswalk | Wolfram Language |