Manuals/calci/DIAGONALWITH

Revision as of 12:44, 9 April 2019 by Devika (talk | contribs) (→‎Related Videos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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":

Examples

1. DIAGONALWITH([[1,2,3],[4,5,6],[9,8,11]],"NEGATIVE:INTEGER")

-18 2 3
4 -16 6
9 8 -64

2. DIAGONALWITH([[11,18,19,20],[78,12,15,23],[-23,-20,-15,65],[5,8,9.2,12.7]],"SERIES")

100 18 19 20
78 100 15 23
-23 -20 100 65
5 8 9.2 100

3. DIAGONALWITH([[-1,6,8,9],[7,6,12,-98],[11,15,17.2,19]],"LIST")

100 6 8 9
7 100 12 -98
11 15 100 19

Related Videos

Diagonal Matrix

See Also

References