Description Usage Arguments Value See Also Examples

View source: R/rbfKernDiagGradX.R

computes the gradient of the diagonal of the radial basis function kernel matrix with respect to the elements of the design matrix given in X.

1 | ```
rbfKernDiagGradX(kern, X)
``` |

`kern` |
the kernel structure for which gradients are being computed. |

`X` |
the input data in the form of a design matrix. |

`gX` |
the gradients of the diagonal with respect to each element of X. The returned matrix has the same dimensions as X. |

`rbfKernParamInit, kernDiagGradX, rbfKernGradX`

.

1 | ```
## missing
``` |

```
Loading required package: Matrix
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: 'spam'
The following objects are masked from 'package:base':
backsolve, forwardsolve
Loading required package: maps
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.