Enums

The following enums are available globally.

  • Dim

    Matrix dimensions.

    • Row: row.
    • Column: column.

    Declaration

    Swift

    public enum Dim
  • Matrix extractor.

    • All: Take all rows/columns from source matrix.
    • Range: Take rows/columns from source matrix with indices starting at from with stride ending at to.
    • Pos: Take rows/columns from source matrix at specified positions
    • PosCyc: Take rows/columns from source matrix at specified cyclic positions
    • Take: Take first n rows/columns from source matrix
    • TakeLast: Take last n rows/columns from source matrix
    • Drop: Drop first n rows/columns from source matrix
    • DropLast: Drop last n rows/columns from source matrix

    Declaration

    Swift

    public enum Extractor
  • Matrix triangular part.

    • Upper: Upper triangular part.
    • Lower: Lower triangular part.

    Declaration

    Swift

    public enum Triangle