# Function schur #

Performs a real Schur decomposition of the real matrix A = UTU’ where U is orthogonal and T is upper quasi-triangular. https://en.wikipedia.org/wiki/Schur_decomposition

## Syntax #

```
math.schur(A)
```

### Parameters #

Parameter | Type | Description |
---|---|---|

`A` |
Array | Matrix | Matrix A |

### Returns #

Type | Description |
---|---|

{U: Array | Matrix, T: Array | Matrix} | Object containing both matrix U and T of the Schur Decomposition A=UTU’ |

### Throws #

Type | Description —- | ———–

## Examples #

```
const A = [[1, 0], [-4, 3]]
math.schur(A) // returns {T: [[3, 4], [0, 1]], R: [[0, 1], [-1, 0]]}
```