# is.positive.definite

From calibrator v1.2-8
by Robin K S Hankin

##### Is a matrix positive definite?

Returns `TRUE`

if and only if a matrix is positive definite.

- Keywords
- array

##### Usage

`is.positive.definite(a, ...)`

##### Arguments

- a
Matrix to be tested

- ...
Extra arguments passed to

`eigen()`

, such as`symmetric`

.

##### Details

A wrapper for `eigen()`

(a matrix is positive definite if all its
eigenvalues are positive). This function is included for convenience only.

##### Examples

```
# NOT RUN {
is.positive.definite(diag(3),sym=TRUE)
is.positive.definite(diag(6)-0.1)
# }
```

*Documentation reproduced from package calibrator, version 1.2-8, License: GPL-2*

### Community examples

Looks like there are no examples yet.