From 98a4f06dbce820a7d121b46389739f68ca479347 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 21 Feb 2013 12:35:01 +0000 Subject: [PATCH] Tutorial improved (and finished) --- doc/tuto_kernel_overview.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/tuto_kernel_overview.rst b/doc/tuto_kernel_overview.rst index 7643b6a4..a8f5b53d 100644 --- a/doc/tuto_kernel_overview.rst +++ b/doc/tuto_kernel_overview.rst @@ -112,11 +112,18 @@ A shortcut for ``add`` and ``prod`` is provided by the usual ``+`` and ``*`` ope :align: center :height: 300px -In general, ``kern`` objects can be seen as a sum of ``kernparts`` objects, where the later are covariance functions denied on the same space :: +In general, ``kern`` objects can be seen as a sum of ``kernparts`` objects, where the later are covariance functions denied on the same space. For example, the following code :: k = (k1+k2)*(k1+k2) print k.parts[0].name, '\n', k.parts[1].name, '\n', k.parts[2].name, '\n', k.parts[3].name +returns :: + + rbfrbf + rbfperiodic_Mat52 + periodic_Mat52rbf + periodic_Mat52periodic_Mat52 + Constraining the parameters ===========================