# Difference between revisions of "Manuals/calci/DIAG"

Jump to navigation
Jump to search

(Created page with "<div style="font-size:30px">'''DIAG (Array)'''</div><br/> *<math>Array</math> is the set of values. ==Description== *This function shows the diagonal values in the given set...") |
|||

(3 intermediate revisions by the same user not shown) | |||

Line 1: | Line 1: | ||

<div style="font-size:30px">'''DIAG (Array)'''</div><br/> | <div style="font-size:30px">'''DIAG (Array)'''</div><br/> | ||

− | |||

*<math>Array</math> is the set of values. | *<math>Array</math> is the set of values. | ||

+ | **DIAG() shows the diagonal values in the given set of values. | ||

==Description== | ==Description== | ||

− | + | ||

− | + | DIAG(Array) | |

+ | *<math>Array</math> is the set of values. | ||

*DIAG shows the diagonal values which means first row first element ,second row second element,third row third element and so on. | *DIAG shows the diagonal values which means first row first element ,second row second element,third row third element and so on. | ||

*So will get the particular main diagonal values from the given set of any values. | *So will get the particular main diagonal values from the given set of any values. | ||

Line 21: | Line 22: | ||

| 21 || -6 || 8 | | 21 || -6 || 8 | ||

|} | |} | ||

+ | |||

+ | ==Related Videos== | ||

+ | |||

+ | {{#ev:youtube|v=JLJiYHPlUig|280|center|Diagonal Matrix}} | ||

==See Also== | ==See Also== |

## Latest revision as of 13:54, 11 March 2019

**DIAG (Array)**

- is the set of values.
- DIAG() shows the diagonal values in the given set of values.

## Description

DIAG(Array)

- is the set of values.
- DIAG shows the diagonal values which means first row first element ,second row second element,third row third element and so on.
- So will get the particular main diagonal values from the given set of any values.

## Examples

1. DIAG([[10,15],[12,6]])

10 | 6 |

2. DIAG([[21,43,-56],[1,-6,-15],[2,3.2,8]])

21 | -6 | 8 |

## Related Videos

## See Also