Skip to content

Length of loop vector #136

@mbudisic

Description

@mbudisic

Consider a loop vector, e.g.,

A = braidlab.loop([1,2,3,4;2,2,2,2])

Presently, the way to tell the number of loops (2) in this vector is something like size(A.coords,1), which is a bit clunky. In particular length(A) will return 1. We should probably overload the length function, especially because a MATLAB array of loops has been superseded by our internal array of loops.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions