Skip to contents

Correlation Gaussian matrix in C (symmetric)

Usage

corr_matern52_matrix_symC(x, theta)

Arguments

x

Matrix x

theta

Theta vector

Value

Correlation matrix

Examples

corr_matern52_matrix_symC(matrix(c(1,0,0,1),2,2),c(1,1))
#>           [,1]      [,2]
#> [1,] 1.0000000 0.3172834
#> [2,] 0.3172834 1.0000000