As of August 2024, International Journal "Notes on Intuitionistic Fuzzy Sets" is being indexed in Scopus.
Please check our Instructions to Authors and send your manuscripts to nifs.journal@gmail.com. Next issue: September/October 2024.

Open Call for Papers: International Workshop on Intuitionistic Fuzzy Sets • 13 December 2024 • Banska Bystrica, Slovakia/ online (hybrid mode).
Deadline for submissions: 16 November 2024.

Template:Index-matrix: Difference between revisions

From Ifigenia, the wiki for intuitionistic fuzzy sets and generalized nets
Jump to navigation Jump to search
m s/header/start , s/footer/end
m Protected "Template:Index-matrix": no need to change [edit=sysop:move=sysop]
 
(2 intermediate revisions by the same user not shown)
Line 65: Line 65:
The difference comes from the default values for blank parameter <code>1,...,N</code>. Leave it blank after the <code>=</code> sign and it will produce (on screen, but not in the source code) ''false'' for the <code>/row-predic</code> and 0 for the <code>/row-arccap</code>.  
The difference comes from the default values for blank parameter <code>1,...,N</code>. Leave it blank after the <code>=</code> sign and it will produce (on screen, but not in the source code) ''false'' for the <code>/row-predic</code> and 0 for the <code>/row-arccap</code>.  
Repeat as many times, as number of rows in your index matrix. Do not forget to finish with
Repeat as many times, as number of rows in your index matrix. Do not forget to finish with
  <nowiki>{{</nowiki>[[template:index-matrix/end|index-matrix/end]]}}
  <nowiki>{{</nowiki>index-matrix/end}}


== Example ==
== Example ==
Line 83: Line 83:
  |1 =  
  |1 =  
  |2 = cell<sub>1</sub><sup>2</sup>
  |2 = cell<sub>1</sub><sup>2</sup>
}}{{index-matrix/row-predic
}}
{{index-matrix/row-predic
  |columns= 2
  |columns= 2
  |row-id = row<sub>2</sub>
  |row-id = row<sub>2</sub>
Line 103: Line 104:
  |1 =  
  |1 =  
  |2 = cell<sub>1</sub><sup>2</sup>
  |2 = cell<sub>1</sub><sup>2</sup>
}}{{index-matrix/row-predic
}}
{{index-matrix/row-predic
  |columns= 2
  |columns= 2
  |row-id = row<sub>2</sub>
  |row-id = row<sub>2</sub>
Line 126: Line 128:
  |1 =  
  |1 =  
  |2 = cell<sub>1</sub><sup>2</sup>
  |2 = cell<sub>1</sub><sup>2</sup>
}}{{index-matrix/row-arccap
}}
{{index-matrix/row-arccap
  |columns= 2
  |columns= 2
  |row-id = row<sub>2</sub>
  |row-id = row<sub>2</sub>
Line 146: Line 149:
  |1 =  
  |1 =  
  |2 = cell<sub>1</sub><sup>2</sup>
  |2 = cell<sub>1</sub><sup>2</sup>
}}{{index-matrix/row-arccap
}}
{{index-matrix/row-arccap
  |columns= 2
  |columns= 2
  |row-id = row<sub>2</sub>
  |row-id = row<sub>2</sub>

Latest revision as of 08:01, 7 October 2009

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]