NAME

zero_mean_function - The zero mean function

SYNOPSIS

#include "gp/gp_covariance_functions.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int zero_mean_function
(
	Vector **mn,
	const Vector *t,
	int d
);

DESCRIPTION

This routine is meant to be used with the fill_mean_vector. It is one of the predefined mean functions. As the name suggests, the mn will be the d-dimensional 0-vector, regardless of what the index t is. If the vector pointed to by mn is NULL, then a vector of the appropriate size is created. If it exists, but is the wrong size, then it is recreated. Otherwise, the storage is recycled.

RETURNS

If the routine fails (due to storage allocation or an error in the covariance function), then ERROR is returned with and error message being set. Otherwise NO_ERROR is returned.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Ernesto Brau

DOCUMENTER

Ernesto Brau

SEE ALSO

squared_exponential_covariance_function