InitError

public enum InitError : Error

Errors throwed by Matrix()

  • Throwed when no Complex element is provided to initialize a new matrix

    Declaration

    Swift

    case doNotPassAnEmptyArray
  • Throwed if any sub-list/row does not have the same length that the others

    Declaration

    Swift

    case subArraysHaveToHaveSameSize
  • Throwed if any sub-list/row is empty

    Declaration

    Swift

    case subArraysMustNotBeEmpty