


Leading appears to be a bit of a misnomer here, since the index/indices return are the last, not the first, corresponding to nonzero elements.
This command also works with vectors and matrices that contain polynomial ring elements.

The object leadComponent is a method function.