regpoly2: Regression: Regpoly2

View source: R/buildKrigingDACE.R

regpoly2R Documentation

Regression: Regpoly2

Description

Second order polynomial regression function.

Usage

regpoly2(S, grad = FALSE)

Arguments

S

m*n matrix with m design points of dimension n

grad

define if function returns gradient, default is FALSE

Value

returns a list with two elements:

f

matrix:
( 1 S S[,1]*S S[,2]S[,2:n] ... S[,n]^2 )

df

Jacobian at the first point (first row in S)

Author(s)

The authors of the original DACE Matlab code are Hans Bruun Nielsen, Soren Nymand Lophaven and Jacob Sondergaard.
Ported to R by Martin Zaefferer martin.zaefferer@fh-koeln.de.

See Also

buildKrigingDACE


SPOT documentation built on June 26, 2022, 1:06 a.m.