Difference between revisions of "Manuals/calci/NEGZEROPOS"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 49: Line 49:
 
| 1 || 1 || 1 || 1 || 1 || 1
 
| 1 || 1 || 1 || 1 || 1 || 1
 
|}
 
|}
 +
 +
 +
==See Also==
 +
*[[Manuals/calci/ANTIDIAGONAL| ANTIDIAGONAL]]
 +
*[[Manuals/calci/CONFERENCE| CONFERENCE]]
 +
*[[Manuals/calci/CIRCULANT| CIRCULANT]]
 +
 +
==References==
 +
*[http://en.wikipedia.org/wiki/Nonnegative_matrix Positive Matrix]
 +
*[http://en.wikipedia.org/wiki/Zero_matrix Zero Matrix]

Latest revision as of 11:11, 15 May 2015

MATRIX("NEGZEROPOS",order)


  • is the size of the Negzeropos matrix.

Description

  • This function gives the matrix of order 3 with the element 0,1 and -1.
  • It is indicating the positive,negative and zero values of matrix.
  • Here MATRIX("negzeropos") is showing the matrix of order3 only filled with the elements 0, 1 and -1.
  • Suppose users need a matrix with only 0 and 1, then we can use the absolute value like $ABS.
  • In the same way users also can get a number 1 matrix. Its syntax is MATRIX("ones")

Examples

  • 1.MATRIX("negzeropos",4)
0 -1 1 1
-1 -1 0 1
-1 1 0 -1
1 0 1 1
  • 2.MATRIX("negzeropos",5).$(ABS)
0 1 1 1 0
1 1 1 1 0
1 1 1 1 1
1 0 1 1 1
0 1 0 1 1
  • 3. MATRIX("ones",6)
1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1 1


See Also

References