Difference between revisions of "Manuals/calci/DIAGONALMATRIX"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
==Description==
 
==Description==
 
*This function shows the Diagonal matrix of a given order.
 
*This function shows the Diagonal matrix of a given order.
*In <math>DIAGONALMATRIX(Number)</math>, <math>Order</math>  is the order of square matrix.
+
*In <math>MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall</math>, <math>DimensionsOfMatrix</math>  is the order of square matrix.
 
*A diagonal matrix is a square matrix which is of the form <math>a_{ij}=c_{i} \delta_{ij}</math> where <math>\delta_{ij}</math> is the Kronecker delta, <math>c_{i}</math> are constants, and i,j=1, 2, ..., n.  
 
*A diagonal matrix is a square matrix which is of the form <math>a_{ij}=c_{i} \delta_{ij}</math> where <math>\delta_{ij}</math> is the Kronecker delta, <math>c_{i}</math> are constants, and i,j=1, 2, ..., n.  
 
*The general diagonal matrix is of the form:
 
*The general diagonal matrix is of the form:
Line 19: Line 19:
  
 
==Examples==
 
==Examples==
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=Wc9DwLLXP8k|280|center|Diagonal Matrix}}
  
 
==See Also==
 
==See Also==

Latest revision as of 12:42, 9 April 2019

MATRIX (TypeOfMatrix,DimensionsOfMatrix,SeedValuesToUse,IJFunction,PreParameter,IsItInternalCall)


  • is the type of the matrix.
  • is the order of the diagonal matrix.

Description

  • This function shows the Diagonal matrix of a given order.
  • In , is the order of square matrix.
  • A diagonal matrix is a square matrix which is of the form where is the Kronecker delta, are constants, and i,j=1, 2, ..., n.
  • The general diagonal matrix is of the form:

  • So the main diagonal entries are need not to be zero and off-diagonal entries are zero.
  • That is,the matrix D = (di,j) with n columns and n rows is diagonal if:

Examples

Related Videos

Diagonal Matrix

See Also

References