Manuals/calci/DIAGONALWITH

From ZCubes Wiki
Jump to navigation Jump to search
DIAGONALWITH(Matrix,Properties,Seed,Offset,FillTypeAntiColumnOrRow)


  • is any n×n square matrix.
  • is any property with which the main diagonal is filled.


Description

  • This function gives a matrix which satisfies the diagonal properties.
  • An diagonal matrix is a matrix where all the entries are zero on the main diagonal going from the upper left corner to the lower right corner ().
  • In DIAGONALWITH, all the elements on main diagonal are filled with the given Properties rather than by 0.
  • "ZERO" is a default Property.
  ** Types of Properties:**
  case "POSITIVE":
  case "NEGATIVE":
  case "NATURAL":
  case "POSITIVE:INTEGER":
  case "NEGATIVE:INTEGER":
  case "INTEGER":
  case "NEGZEROPOS":
  case "VALUE":
  case "LIST":
  case "SERIES":
  case "SEED":
  case "FUNCTION":
  case "ZERO":
  case "ZEROS":