Diagonal0 {ADtools}R Documentation

Diagonal matrix (memoised)

Description

Diagonal matrix (memoised)

Usage

Diagonal0(...)

Arguments

...

'n' integer; the dimension of the square matrix.

'x' A scalar or a vector to be placed on the diagonal of the matrix.

Use empty argument to clear the cache.


[Package ADtools version 0.5.5 Index]