Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
<div style="font-size:30px">'''NEGZEROPOS'''</div><br/>
+
<div style="font-size:30px">'''MATRIX("NEGZEROPOS",order)'''</div><br/>
 +
*<math>order</math> 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)
 +
{| class="wikitable"
 +
|-
 +
| 0 || -1 || 1 || 1
 +
|-
 +
| -1 || -1 || 0 || 1
 +
|-
 +
| -1 || 1 || 0 || -1
 +
|-
 +
| 1 || 0 || 1 || 1
 +
|}
 +
*2.MATRIX("negzeropos",5).$(ABS)
 +
{| class="wikitable"
 +
|-
 +
| 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)
 +
{| class="wikitable"
 +
|-
 +
| 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
 +
|}
writer
6,694

edits

Navigation menu