Submit your research to the International Journal "Notes on Intuitionistic Fuzzy Sets". Contact us at nifs.journal@gmail.com

Check the proceedings of the 25th Jubilee Edition of the International Conference on Intuitionistic Fuzzy Sets '2022

Template:Index-matrix

From Ifigenia, the wiki for intuitionistic fuzzy sets and generalized nets
Jump to navigation Jump to search

This template is not to be used alone. Please use:

this scheme if you draw IM of predicates
{{index-matrix/start}}
{{index-matrix/row-predic}}
...
{{index-matrix/row-predic}}
{{index-matrix/end}}
   OR    this scheme if you draw IM of arc capacities
{{index-matrix/start}}
{{index-matrix/row-arccap}}
...
{{index-matrix/row-arccap}}
{{index-matrix/end}}

The column definitions go in index-matrix/start : Please define N (number of columns) and insert as many parameters as necessary.

{{index-matrix/start
 |matrix-id =
 |columns = N
 |1 = 
 |2 = 
 ...
 |N-1 = 
 |N = 
}}

Maximal number of columns is 10. New columns can be easily added in template:index-matrix/start, template:index-matrix/row-predic and template:index-matrix/row-arccap.

Every separate row goes in index-matrix/row-predic or index-matrix/row-arccap (all rows in table have to be from the same kind):

{{index-matrix/row-predic
 |columns= N
 |row-id = 
 |1 = 
 |2 = 
 ...
 |N-1 = 
 |N = 
}}
   OR   
{{index-matrix/row-arccap
 |columns= N
 |row-id = 
 |1 = 
 |2 = 
 ...
 |N-1 = 
 |N = 
}}

The difference comes from the default values for blank parameter 1,...,N. Leave it blank after the = sign and it will produce (on screen, but not in the source code) false for the /row-predic and 0 for the /row-arccap. Repeat as many times, as number of rows in your index matrix. Do not forget to finish with

{{index-matrix/end}}

Example

Predicate

{{index-matrix/start
 |matrix-id = IM<sub>P</sub>
 |columns = 2
 |1 = column<sup>1</sup>
 |2 = column<sup>2</sup>
}}
{{index-matrix/row-predic
 |columns= 2
 |row-id = row<sub>1</sub>
 |1 = 
 |2 = cell<sub>1</sub><sup>2</sup>
}}
{{index-matrix/row-predic
 |columns= 2
 |row-id = row<sub>2</sub>
 |1 = cell<sub>2</sub><sup>1</sup>
 |2 = cell<sub>2</sub><sup>2</sup>
}}
{{index-matrix/end}}
  IMP =
 
    column1 column2
row1 false cell12
row2 cell21 cell22

Arccapacity

{{index-matrix/start
 |matrix-id = IM<sub>AC</sub>
 |columns = 2
 |1 = column<sup>1</sup>
 |2 = column<sup>2</sup>
}}
{{index-matrix/row-arccap
 |columns= 2
 |row-id = row<sub>1</sub>
 |1 = 
 |2 = cell<sub>1</sub><sup>2</sup>
}}
{{index-matrix/row-arccap
 |columns= 2
 |row-id = row<sub>2</sub>
 |1 = cell<sub>2</sub><sup>1</sup>
 |2 = cell<sub>2</sub><sup>2</sup>
}}
{{index-matrix/end}}
  IMAC =
 
    column1 column2
row1 0 cell12
row2 cell21 cell22

Alternative

If you have ready index matrix in LaTeX, you can use it immediately; you only have to place the code between <math></math> in order to make the LaTeX engine recognize the source code. Note that here you cannot leave parameters blank and expect them to obtain null value (0 or false).

<math>
r =
\begin{array}{c|c c}  & column^{1} & column^{2} \\
\hline
row_{1} & cell_{1}^{1} & cell_{1}^{2}\\
row_{2} & cell_{2}^{1} & cell_{2}^{2}\\
\end{array}
</math>

[math]\displaystyle{ r = \begin{array}{c|c c} & column^{1} & column^{2} \\ \hline row_{1} & cell_{1}^{1} & cell_{1}^{2}\\ row_{2} & cell_{2}^{1} & cell_{2}^{2}\\ \end{array} }[/math]