Difference between revisions of "Manuals/calci/INTEGER"
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
==Examples== | ==Examples== | ||
| − | *MATRIX("integer") | + | *MATRIX("integer") =-8 |
| + | *MATRIX("integer",3) | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Line 58: | Line 59: | ||
==References== | ==References== | ||
| + | *[http://en.wikipedia.org/wiki/Integer_matrix Integer Matrix] | ||
Latest revision as of 01:20, 26 October 2015
MATRIX("INTEGER",order)
- is the size of the Integer matrix.
Description
- This function returns the integer matrix of order 3 with the intEger elements.
- An integer matrix is a matrix whose entries are all integers.
- Normally binary matrices, the zero matrix, the unit matrix, and the adjacency matrices are the example of integer matrices.
- Here MATRIX("integer") gives integer(positive/negative) matrix of order 3.
- This integer matrices are sometimes called "integral matrices".
- Also users can get integer matrix with the positive values alone as well as negative values.
- i.e.,MATRIX("positive integer",4) gives the integer matrix with the positive value only.
- And MATRIX("negative integer",4) gives the integer matrix with the negative value only.
- Users can change order of matrices also.
Examples
- MATRIX("integer") =-8
- MATRIX("integer",3)
| 90 | -28 | -13 |
| -39 | 32 | -56 |
| -31 | -61 | -6 |
- MATRIX("positive integer",5)
| 14 | 56 | 62 | 70 | 0 |
| 19 | 64 | 10 | 10 | 33 |
| 79 | 86 | 43 | 99 | 97 |
| 48 | 66 | 58 | 58 | 87 |
| 8 | 30 | 56 | 20 | 74 |
- MATRIX("negative integer",6)
| -47 | -44 | -21 | -26 | -79 | -73 |
| -85 | -32 | -98 | -45 | -34 | -95 |
| -44 | -59 | -2 | -8 | -92 | -10 |
| -88 | -30 | -41 | -14 | -87 | -41 |
| -99 | -91 | -25 | -52 | -64 | -16 |
| -100 | -16 | -96 | -9 | -40 | -87 |