plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | lcnbeapp/beapp-master | lik_inputdependentweibull.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_inputdependentweibull.m | 17,398 | windows_1250 | c288cecc00237a7f8b7ae149561644c4 | function lik = lik_inputdependentweibull(varargin)
%LIK_INPUTDEPENDENTWEIBULL Create a right censored input dependent Weibull likelihood structure
%
% Description
% LIK = LIK_INPUTDEPENDENTWEIBULL('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a likelihood structure for right censored input dependent
% We... |
github | lcnbeapp/beapp-master | gpep_pred.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpep_pred.m | 22,353 | UNKNOWN | 9fdd2594b62565a6cf43df3eb051355a | function [Eft, Varft, lpyt, Eyt, Varyt] = gpep_pred(gp, x, y, varargin)
%GPEP_PRED Predictions with Gaussian Process EP approximation
%
% Description
% [EFT, VARFT] = GPEP_PRED(GP, X, Y, XT, OPTIONS)
% takes a GP structure together with matrix X of training
% inputs and vector Y of training targets, and eval... |
github | lcnbeapp/beapp-master | gpcf_constant.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_constant.m | 14,290 | utf_8 | a923f90b02c067d618848207c02b8980 | function gpcf = gpcf_constant(varargin)
%GPCF_CONSTANT Create a constant covariance function
%
% Description
% GPCF = GPCF_CONSTANT('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a squared exponential covariance function structure in
% which the named parameters have the specified values. Any
% unspecifie... |
github | lcnbeapp/beapp-master | lik_gaussiansmt.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_gaussiansmt.m | 11,228 | utf_8 | e1313f56ba16306bf8fd48d805556b9d | function lik = lik_gaussiansmt(varargin)
%LIK_GAUSSIANSMT Create a Gaussian scale mixture likelihood structure
% with priors producing approximation of the Student's t
%
% Description
% LIK = LIK_GAUSSIANSMT('ndata',N,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a scale mixture noise covarianc... |
github | lcnbeapp/beapp-master | gp_avpredcomp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_avpredcomp.m | 9,333 | windows_1250 | 048f8facc21b0b145997ed98f7e991c9 | function [apcs,apcss]=gp_avpredcomp(gp, x, y, varargin)
%GP_AVPREDCOMP Average predictive comparison for Gaussian process model
%
% Description
% APCS=GP_AVPREDCOMP(GP, X, Y, OPTIONS) Takes a Gaussian process
% structure GP together with a matrix X of training inputs and
% vector Y of training targets, and r... |
github | lcnbeapp/beapp-master | lik_t.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_t.m | 36,265 | UNKNOWN | 7c042ee6cb876d45190e93aa46e3e774 | function lik = lik_t(varargin)
%LIK_T Create a Student-t likelihood structure
%
% Description
% LIK = LIK_T('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates Student-t likelihood structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to default values.
%
% ... |
github | lcnbeapp/beapp-master | gpcf_rq.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_rq.m | 30,341 | utf_8 | c746eccbc618b9d29506ad32406416e9 | function gpcf = gpcf_rq(varargin)
%GPCF_RQ Create a rational quadratic covariance function
%
% Description
% GPCF = GPCF_RQ('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates
% rational quadratic covariance function structure in which the
% named parameters have the specified values. Any unspecified
% parameters... |
github | lcnbeapp/beapp-master | lgcp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lgcp.m | 7,612 | utf_8 | 85edf686f047863fe47af6dbc611d045 | function [l,lq,xt,gp] = lgcp(x,varargin)
% LGCP - Log Gaussian Cox Process intensity estimate for 1D and 2D data
%
% LGCP(X)
% [P,PQ,XT,GP] = LGCP(X,XT,OPTIONS)
%
% X is 1D or 2D point data
% XT is optional test points
% OPTIONS are optional parameter-value pairs
% 'gridn' is optional number ... |
github | lcnbeapp/beapp-master | gpep_e.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpep_e.m | 106,791 | UNKNOWN | adc9d7d1debecd4cbbbb4f948a6cb72b | function [e, edata, eprior, tautilde, nutilde, L, La2, b, muvec_i, sigm2vec_i, logZ_i, eta] = gpep_e(w, gp, varargin)
%GPEP_E Do Expectation propagation and return marginal log posterior estimate
%
% Description
% E = GPEP_E(W, GP, X, Y, OPTIONS) takes a GP structure GP
% together with a matrix X of input vecto... |
github | lcnbeapp/beapp-master | lik_gaussian.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_gaussian.m | 11,092 | utf_8 | 3a8dfb3827eaef0a74a1d280cc4cbf20 | function lik = lik_gaussian(varargin)
%LIK_GAUSSIAN Create a Gaussian likelihood structure
%
% Description
% LIK = LIK_GAUSSIAN('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a Gaussian likelihood structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to ... |
github | lcnbeapp/beapp-master | surrogate_sls.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/surrogate_sls.m | 20,578 | utf_8 | fc29ee001fe374a168e9aa872d77d472 | function [samples,samplesf,diagn] = surrogate_sls(f, x, opt, gp, xx, yy, z, varargin)
%SURROGATE_SLS Markov Chain Monte Carlo sampling using Surrogate data Slice Sampling
%
% Description
% SAMPLES = SURROGATE_SLS(F, X, OPTIONS) uses slice sampling to sample
% from the distribution P ~ EXP(-F), where F is the ... |
github | lcnbeapp/beapp-master | lik_lgpc.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_lgpc.m | 15,380 | windows_1250 | 8b88129ba333f69e6d189e704cecc43b | function lik = lik_lgpc(varargin)
%LIK_LGPC Create a logistic Gaussian process likelihood structure for
% conditional density estimation
%
% Description
% LIK = LIK_LGPC creates a logistic Gaussian process likelihood
% structure for conditional density estimation
%
% The likelihood contribution for ... |
github | lcnbeapp/beapp-master | lik_softmax.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_softmax.m | 10,116 | UNKNOWN | f393d5bbd44c08a0eaf0996ae3fb72f7 | function lik = lik_softmax(varargin)
%LIK_SOFTMAX Create a softmax likelihood structure
%
% Description
% LIK = LIK_SOFTMAX creates Softmax likelihood for multi-class
% classification problem. The observed class label with C
% classes is given as 1xC vector where C-1 entries are 0 and the
% observed cl... |
github | lcnbeapp/beapp-master | gpcf_noise.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_noise.m | 12,126 | utf_8 | 70defae513090d936fda63764c2de76c | function gpcf = gpcf_noise(varargin)
%GPCF_NOISE Create a independent noise covariance function
%
% Description
% GPCF = GPCF_NOISE('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates
% independent noise covariance function structure in which the
% named parameters have the specified values. Any unspecified
% par... |
github | lcnbeapp/beapp-master | gpcf_scaled.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_scaled.m | 14,371 | utf_8 | e5089583dd57a67a67f52a293560482a | function gpcf = gpcf_scaled(varargin)
%GPCF_SCALED Create a scaled covariance function
%
% Description
% GPCF = GPCF_scaled('cf', {GPCF_1, GPCF_2, ...})
% creates a scaled version of a covariance function as follows
% GPCF_scaled = diag(x(:,scaler))*GPCF*diag(x(:,scaler))
% where x is the matrix of... |
github | lcnbeapp/beapp-master | gpcf_ppcs2.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_ppcs2.m | 39,334 | utf_8 | edb49e8f28a995e0555b3b9deb81b3e9 | function gpcf = gpcf_ppcs2(varargin)
%GPCF_PPCS2 Create a piece wise polynomial (q=2) covariance function
%
% Description
% GPCF = GPCF_PPCS2('nin',nin,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates piece wise polynomial (q=2) covariance function
% structure in which the named parameters have the specifie... |
github | lcnbeapp/beapp-master | gpcf_sum.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_sum.m | 14,153 | utf_8 | b881f1be2b12d89b06edcbbfe5dbad0c | function gpcf = gpcf_sum(varargin)
%GPCF_SUM Create a sum form covariance function
%
% Description
% GPCF = GPCF_SUM('cf', {GPCF_1, GPCF_2, ...})
% creates a sum form covariance function
% GPCF = GPCF_1 + GPCF_2 + ... + GPCF_N
%
% See also
% GP_SET, GPCF_*
% Copyright (c) 2009-2010 Jarno Vanhat... |
github | lcnbeapp/beapp-master | gpcf_matern32.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_matern32.m | 27,919 | utf_8 | 578c80a98a7b515abf2ed96d9a055e23 | function gpcf = gpcf_matern32(varargin)
%GPCF_MATERN32 Create a Matern nu=3/2 covariance function
%
% Description
% GPCF = GPCF_MATERN32('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates Matern nu=3/2 covariance function structure in which
% the named parameters have the specified values. Any
% unspecified p... |
github | lcnbeapp/beapp-master | lik_logit.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_logit.m | 14,344 | utf_8 | c16705d8ddef02a29ecefd128787faef | function lik = lik_logit(varargin)
%LIK_LOGIT Create a Logit likelihood structure
%
% Description
% LIK = LIK_LOGIT creates Logit likelihood for classification
% problem with class labels {-1,1}.
%
% The likelihood is defined as follows:
% __ n
% p(y|f) = || i=1 1/(1 + exp(-y_i*f_i... |
github | lcnbeapp/beapp-master | lik_loggaussian.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_loggaussian.m | 25,546 | utf_8 | 0e6db76a65c1b277dbce5a945a7538f4 | function lik = lik_loggaussian(varargin)
%LIK_LOGGAUSSIAN Create a right censored log-Gaussian likelihood structure
%
% Description
% LIK = LIK_LOGGAUSSIAN('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a likelihood structure for right censored log-Gaussian
% survival model in which the named parameters hav... |
github | lcnbeapp/beapp-master | gpmf_constant.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpmf_constant.m | 8,340 | utf_8 | d28568c446e6b59df03d7a7809de643f | function gpmf = gpmf_constant(varargin)
%GPMF_CONSTANT Create a constant mean function
%
% Description
% GPMF = GPMF_CONSTANT('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates constant mean function structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to d... |
github | lcnbeapp/beapp-master | gpla_loopred.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpla_loopred.m | 10,429 | UNKNOWN | 430225391c518e3110e0a4535af20ba2 | function [Eft, Varft, lpyt, Eyt, Varyt] = gpla_loopred(gp, x, y, varargin)
%GPLA_LOOPRED Leave-one-out predictions with Laplace approximation
%
% Description
% [EFT, VARFT, LPYT, EYT, VARYT] = GPLA_LOOPRED(GP, X, Y, OPTIONS)
% takes a Gaussian process structure GP together with a matrix X
% of training input... |
github | lcnbeapp/beapp-master | lgpdens.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lgpdens.m | 18,497 | windows_1250 | c32ced344bd076d227b9aded6cc11400 | function [p,pq,xx] = lgpdens(x,varargin)
%LGPDENS Logistic-Gaussian Process density estimate for 1D and 2D data
%
% Description
% LGPDENS(X,OPTIONS) Compute and plot LGP density estimate. X is
% 1D or 2D point data. For 1D data plot the mean and 95% region.
% For 2D data plot the density contours.
%
% ... |
github | lcnbeapp/beapp-master | gp_waic.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_waic.m | 22,950 | utf_8 | 224efafdd64d00db4c610107413a075d | function waic = gp_waic(gp, x, y, varargin)
%GP_WAIC The widely applicable information criterion (WAIC) for GP model
%
% Description
% WAIC = GP_WAIC(GP, X, Y) evaluates WAIC defined by
% Watanabe(2010) given a Gaussian process model GP, training
% inputs X and training outputs Y. Instead of Bayes loss we
% ... |
github | lcnbeapp/beapp-master | gpcf_ppcs0.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_ppcs0.m | 37,470 | utf_8 | 8e0026784ac7fd43fed2a933ac703b6c | function gpcf = gpcf_ppcs0(varargin)
%GPCF_PPCS0 Create a piece wise polynomial (q=0) covariance function
%
% Description
% GPCF = GPCF_PPCS0('nin',nin,'PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates piece wise polynomial (q=0) covariance function
% structure in which the named parameters have the specified
... |
github | lcnbeapp/beapp-master | lik_probit.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_probit.m | 11,048 | UNKNOWN | 5ab0288a472ad19a923d50739c297a64 | function lik = lik_probit(varargin)
%LIK_PROBIT Create a Probit likelihood structure
%
% Description
% LIK = LIK_PROBIT creates Probit likelihood for classification
% problem with class labels {-1,1}.
%
% The likelihood is defined as follows:
% __ n
% p(y|f, z) = || i=1 normcdf(y_i *... |
github | lcnbeapp/beapp-master | lik_negbin.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_negbin.m | 25,046 | utf_8 | a4815ddb29de3291580a7b2ecc130906 | function lik = lik_negbin(varargin)
%LIK_NEGBIN Create a Negative-binomial likelihood structure
%
% Description
% LIK = LIK_NEGBIN('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates Negative-binomial likelihood structure in which the
% named parameters have the specified values. Any unspecified
% parameters ... |
github | lcnbeapp/beapp-master | gpcf_cat.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_cat.m | 11,705 | UNKNOWN | 78197ff0860b39f108847aa8abae1847 | function gpcf = gpcf_cat(varargin)
%GPCF_CAT Create a categorical covariance function
%
% Description
% GPCF = GPCF_CAT('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a categorical covariance function structure in
% which the named parameters have the specified values. Any
% unspecified parameters are set... |
github | lcnbeapp/beapp-master | gp_install.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_install.m | 14,808 | utf_8 | f3429c304b3ddc097046417323d93093 | function gp_install(suiteSparse)
% Matlab function to compile all the c-files to mex in the GPstuff/gp
% folder. The function is called from GPstuff/matlab_install.m but
% can be run separately also.
%
% If you want to use GPstuff without compactly supported (CS)
% covariance functions run as gp_install([]). If y... |
github | lcnbeapp/beapp-master | lik_poisson.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_poisson.m | 17,766 | utf_8 | 9883c930a03527bfc0126d7e930f2a82 | function lik = lik_poisson(varargin)
%LIK_POISSON Create a Poisson likelihood structure
%
% Description
% LIK = LIK_POISSON creates Poisson likelihood structure
%
% The likelihood is defined as follows:
% __ n
% p(y|f, z) = || i=1 Poisson(y_i|z_i*exp(f_i))
%
% where z is a vector of... |
github | lcnbeapp/beapp-master | gpcf_mask.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_mask.m | 11,666 | UNKNOWN | aac6a91c7e0fd4518d918b34507b986c | function gpcf = gpcf_mask(varargin)
%GPCF_MASK Create a mask covariance function
%
% Description
% GPCF = GPCF_MASK('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a mask covariance function structure in
% which the named parameters have the specified values. Any
% unspecified parameters are set to default... |
github | lcnbeapp/beapp-master | gp_e.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gp_e.m | 19,648 | utf_8 | 3ec15c96030544b6ae806bdd136d7b29 | function [e, edata, eprior] = gp_e(w, gp, x, y, varargin)
%GP_E Evaluate the energy function (un-normalized negative
% log marginal posterior)
%
% Description
% E = GP_E(W, GP, X, Y, OPTIONS) takes a Gaussian process
% structure GP together with a matrix X of input vectors and a
% matrix Y of targets, ... |
github | lcnbeapp/beapp-master | lik_multinom.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_multinom.m | 10,705 | UNKNOWN | e987daaabebb5e9ffcb11120d36bb4f4 | function lik = lik_multinom(varargin)
%LIK_MULTINOM Create a multinom likelihood structure
%
% Description
% LIK = LIK_MULTINOM creates multinom likelihood for multi-class
% count data. The observed numbers in each class with C classes is given
% as 1xC vector.
%
% The likelihood is defined as follows:... |
github | lcnbeapp/beapp-master | lik_binomial.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_binomial.m | 18,897 | UNKNOWN | a57c5a78ab9b3f5404f6da03ff6f88c6 | function lik = lik_binomial(varargin)
%LIK_BINOMIAL Create a Binomial likelihood structure
%
% Description
% LIK = LIK_BINOMIAL creates Binomial likelihood structure.
%
% The likelihood is defined as follows:
% __ n
% p(y|f, z) = || i=1 [ p_i^(y_i)*(1-p_i)^(z_i-y_i)) *
% ... |
github | lcnbeapp/beapp-master | lik_loglogistic.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_loglogistic.m | 23,851 | utf_8 | 488337e3c0403b611d2cf1246ceb8658 | function lik = lik_loglogistic(varargin)
%LIK_LOGLOGISTIC Create a right censored log-logistic likelihood structure
%
% Description
% LIK = LIK_LOGLOGISTIC('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates a likelihood structure for right censored log-logistic
% survival model in which the named parameters have... |
github | lcnbeapp/beapp-master | gpcf_sexp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_sexp.m | 39,532 | utf_8 | 0ef6e85965ae3b707bb5d1d78df49bd4 | function gpcf = gpcf_sexp(varargin)
%GPCF_SEXP Create a squared exponential covariance function
%
% Description
% GPCF = GPCF_SEXP('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates
% squared exponential covariance function structure in which the
% named parameters have the specified values. Any unspecified
% pa... |
github | lcnbeapp/beapp-master | gpcf_prod.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_prod.m | 15,801 | utf_8 | bdd8dde16beff8dd6249f6ff7f82aeaa | function gpcf = gpcf_prod(varargin)
%GPCF_PROD Create a product form covariance function
%
% Description
% GPCF = GPCF_PROD('cf', {GPCF_1, GPCF_2, ...})
% creates a product form covariance function
% GPCF = GPCF_1 .* GPCF_2 .* ... .* GPCF_N
%
% See also
% GP_SET, GPCF_*
% Copyright (c) 2009-201... |
github | lcnbeapp/beapp-master | scaled_mh.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/scaled_mh.m | 10,266 | utf_8 | 1563f9eb51b7be715e98686a4c44a6fd | function [f, energ, diagn] = scaled_mh(f, opt, gp, x, y, z)
%SCALED_MH A scaled Metropolis-Hastings sampling for latent values
%
% Description
% [F, ENERG, DIAG] = SCALED_MH(F, OPT, GP, X, Y) takes the
% current latent values F, options structure OPT, Gaussian
% process structure GP, inputs X and outputs Y. ... |
github | lcnbeapp/beapp-master | lik_lgp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/lik_lgp.m | 15,167 | windows_1250 | 7b7a6270ae79e34121ec3ef3091f6b59 | function lik = lik_lgp(varargin)
%LIK_LGP Create a logistic Gaussian process likelihood structure
%
% Description
% LIK = LIK_LGP creates a logistic Gaussian process likelihood structure
%
% The likelihood is defined as follows:
% __ n
% p(y|f) = || i=1 exp(f_i) / Sum_{j=1}^n exp(f_j),
%
% ... |
github | lcnbeapp/beapp-master | gpmf_squared.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpmf_squared.m | 8,746 | utf_8 | fcd6e5e58eb18041d7c0f1fb70a152c0 | function gpmf = gpmf_squared(varargin)
%GPMF_SQUARED Create a squared mean function
%
% Description
% GPMF = GPMF_SQUARED('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates linear mean function structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to defaul... |
github | lcnbeapp/beapp-master | gpmf_linear.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpmf_linear.m | 7,746 | utf_8 | 093d9284e00323d01f6ed94a25f6947a | function gpmf = gpmf_linear(varargin)
%GPMF_LINEAR Create a linear mean function
%
% Description
% GPMF = GPMF_LINEAR('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates linear mean function structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set to default val... |
github | lcnbeapp/beapp-master | gpcf_matern52.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_matern52.m | 28,809 | utf_8 | 1086d8b7cac3a06976c064521dc35ad8 | function gpcf = gpcf_matern52(varargin)
%GPCF_MATERN52 Create a Matern nu=5/2 covariance function
%
% Description
% GPCF = GPCF_MATERN52('PARAM1',VALUE1,'PARAM2,VALUE2,...)
% creates Matern nu=5/2 covariance function structure in which
% the named parameters have the specified values. Any
% unspecified p... |
github | lcnbeapp/beapp-master | gpcf_exp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/gp/gpcf_exp.m | 27,016 | utf_8 | e1b8f5e6efd82d342321a33398df19b1 | function gpcf = gpcf_exp(varargin)
%GPCF_EXP Create an exponential covariance function
%
% Description
% GPCF = GPCF_EXP('PARAM1',VALUE1,'PARAM2,VALUE2,...) creates a
% exponential covariance function structure in which the named
% parameters have the specified values. Any unspecified
% parameters are set... |
github | lcnbeapp/beapp-master | SuiteSparse_install.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/SuiteSparse_install.m | 11,112 | utf_8 | fb32defab8ad43d072b65d41d20fb41f | function paths = SuiteSparse_install (do_demo)
%SuiteSparse_install: compiles and installs all of SuiteSparse
% A Suite of Sparse matrix packages, authored or co-authored by Tim Davis, Univ.
% Florida. You must be in the same directory as SuiteSparse_install to use this.
%
% Packages in SuiteSparse:
%
% UMFPACK ... |
github | lcnbeapp/beapp-master | colamd_test.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/COLAMD/MATLAB/colamd_test.m | 11,715 | utf_8 | 67855282bea237b3f5e5aaead650f90e | function colamd_test
%COLAMD_TEST test colamd2 and symamd2
% Example:
% colamd_test
%
% COLAMD and SYMAMD testing function. Here we try to give colamd2 and symamd2
% every possible type of matrix and erroneous input that they may encounter.
% We want either a valid permutation returned or we want them to fail
% gra... |
github | lcnbeapp/beapp-master | ccolamd_test.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CCOLAMD/MATLAB/ccolamd_test.m | 11,803 | utf_8 | 2cf7c488966fe7d5987b4062e6f6a1ca | function ccolamd_test
%CCOLAMD_TEST extensive test of ccolamd and csymamd
%
% Example:
% ccolamd_test
%
% See also csymamd, ccolamd, ccolamd_make.
% Copyright 1998-2007, Timothy A. Davis, Stefan Larimore, and Siva Rajamanickam
% Developed in collaboration with J. Gilbert and E. Ng.
help ccolamd_test
global ccolamd... |
github | lcnbeapp/beapp-master | klu_make.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/KLU/MATLAB/klu_make.m | 10,922 | utf_8 | e85d62511e714298f5a2601c105ef2fe | function klu_make (with_cholmod)
%KLU_MAKE compiles the KLU mexFunctions
%
% Example:
% klu_make % compiles KLU without CHOLMOD
% klu_make (1) % with CHOLMOD, CAMD, CCOLAMD, and METIS
%
% KLU relies on AMD, COLAMD, and BTF for its ordering options, and can
% optionally use CHOLMOD, CCOLAMD, CAMD, ... |
github | lcnbeapp/beapp-master | cs_install.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CSparse/MATLAB/cs_install.m | 1,729 | utf_8 | 698e3a7be8710df4bca038a373f4850f | function cs_install (do_pause)
%CS_INSTALL: compile and install CSparse for use in MATLAB.
% Your current working directory must be CSparse/MATLAB in order to use this
% function.
%
% The directories
%
% CSparse/MATLAB/CSparse
% CSparse/MATLAB/Demo
% CSparse/MATLAB/UFget
%
% are added to yo... |
github | lcnbeapp/beapp-master | cs_make.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CSparse/MATLAB/CSparse/cs_make.m | 6,443 | utf_8 | db813bf30398d17dfe66ed1f938ee591 | function [objfiles, timestamp_out] = cs_make (f)
%CS_MAKE compiles CSparse for use in MATLAB.
% Usage:
% cs_make
% [objfiles, timestamp] = cs_make (f)
%
% With no input arguments, or with f=0, only those files needing to be
% compiled are compiled (like the Unix/Linux/GNU "make" command, but not
% r... |
github | lcnbeapp/beapp-master | mynormest1.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CSparse/MATLAB/Test/mynormest1.m | 1,843 | utf_8 | 0f6e7b3dd575c4dbfa809e784838035e | function est = mynormest1 (L, U, P, Q)
%MYNORMEST1 estimate norm(A,1), using LU factorization (L*U = P*A*Q).
%
% Example:
% est = mynormest1 (L, U, P, Q)
% See also: testall
% Copyright 2006-2007, Timothy A. Davis.
% http://www.cise.ufl.edu/research/sparse
n = size (L,1) ;
est = 0 ;
S = zeros (n,1) ;
for k = ... |
github | lcnbeapp/beapp-master | testall.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CSparse/MATLAB/Test/testall.m | 1,517 | utf_8 | 221311b233cabd5b041462eeed288254 | function testall
%TESTALL test all CSparse functions (run tests 1 to 28 below)
%
% Example:
% testall
% See also: cs_demo
% Copyright 2006-2007, Timothy A. Davis.
% http://www.cise.ufl.edu/research/sparse
h = waitbar (0, 'CSparse') ;
cs_test_make % compile all CSparse, Demo, Text, and Test mexFunctions
... |
github | lcnbeapp/beapp-master | umfpack_report.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/UMFPACK/MATLAB/umfpack_report.m | 16,015 | utf_8 | ab2ab9204411376267d5931f57b6b59b | function umfpack_report (Control, Info)
%UMFPACK_REPORT prints optional control settings and statistics
%
% Example:
% umfpack_report (Control, Info) ;
%
% Prints the current Control settings for umfpack2, and the statistical
% information returned by umfpack2 in the Info array. If Control is
% an empty matrix... |
github | lcnbeapp/beapp-master | umfpack_make.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/UMFPACK/MATLAB/umfpack_make.m | 12,201 | utf_8 | c47a8208e044186c2dd6795d63bbe158 | function umfpack_make (lapack)
%UMFPACK_MAKE to compile umfpack2 for use in MATLAB
%
% Compiles the umfpack2 mexFunction and then runs a simple demo.
%
% Example:
% umfpack_make % use default LAPACK and BLAS
% umfpack_make ('lcc_lib/libmwlapack.lib') % for Windows
% umfpack_make ... |
github | lcnbeapp/beapp-master | umfpack_btf.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/UMFPACK/MATLAB/umfpack_btf.m | 4,651 | utf_8 | 905709090e298d8bfd5e9937181c95b6 | function [x, info] = umfpack_btf (A, b, Control)
%UMFPACK_BTF factorize A using a block triangular form
%
% Example:
% x = umfpack_btf (A, b, Control)
%
% solve Ax=b by first permuting the matrix A to block triangular form via dmperm
% and then using UMFPACK to factorize each diagonal block. Adjacent 1-by-1
% blocks... |
github | lcnbeapp/beapp-master | cs_install.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CXSparse_newfiles/MATLAB/cs_install.m | 1,625 | utf_8 | 7431badf82b77fa1911f89c54dbbb33c | function cs_install (do_pause)
%CS_INSTALL: compile and install CXSparse for use in MATLAB.
% Your current working directory must be CXSparse/MATLAB in order to use this
% function.
%
% The directories
%
% CXSparse/MATLAB/CSparse
% CXSparse/MATLAB/Demo
% CXSparse/MATLAB/UFget
%
% are added ... |
github | lcnbeapp/beapp-master | camd_demo.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CAMD/MATLAB/camd_demo.m | 3,308 | utf_8 | 823dfa42e18c7d2753b7dadb43e5cde2 | function camd_demo
%CAMD_DEMO a demo of camd, using the can_24 matrix
%
% A demo of CAMD for MATLAB.
%
% Example:
% camd_demo
%
% See also: camd, camd_make
% Copyright 1994-2007, Tim Davis, University of Florida,
% Patrick R. Amestoy, Iain S. Duff, and Yanqing Chen.
% This orders the same matrix as the ANSI C demo,... |
github | lcnbeapp/beapp-master | cs_install.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CXSparse/MATLAB/cs_install.m | 1,625 | utf_8 | 7431badf82b77fa1911f89c54dbbb33c | function cs_install (do_pause)
%CS_INSTALL: compile and install CXSparse for use in MATLAB.
% Your current working directory must be CXSparse/MATLAB in order to use this
% function.
%
% The directories
%
% CXSparse/MATLAB/CSparse
% CXSparse/MATLAB/Demo
% CXSparse/MATLAB/UFget
%
% are added ... |
github | lcnbeapp/beapp-master | cholmod_make.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CHOLMOD/MATLAB/cholmod_make.m | 10,939 | utf_8 | 1fe1b7470711101787a8e019798fbc53 | function cholmod_make (metis_path)
%CHOLMOD_MAKE compiles the CHOLMOD mexFunctions
%
% Example:
% cholmod_make
%
% CHOLMOD relies on AMD and COLAMD, and optionally CCOLAMD, CAMD, and METIS.
% All but METIS are distributed with CHOLMOD. To compile CHOLMOD to use METIS
% you must first place a copy of the metis-4.0 di... |
github | lcnbeapp/beapp-master | graph_demo.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CHOLMOD/MATLAB/graph_demo.m | 2,476 | utf_8 | d68493e617f06b2d5a601b7cb3b91a33 | function graph_demo (n)
%GRAPH_DEMO graph partitioning demo
% graph_demo(n) constructs an set of n-by-n 2D grids, partitions them, and
% plots them in one-second intervals. n is optional; it defaults to 60.
%
% Example:
% graph_demo
%
% See also DELSQ, NUMGRID, GPLOT, TREEPLOT
% Copyright 2006-2007, T... |
github | lcnbeapp/beapp-master | cholmod_demo.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CHOLMOD/MATLAB/cholmod_demo.m | 3,684 | utf_8 | 366c6ffc28d9204098b51142c5e72445 | function cholmod_demo
%CHOLMOD_DEMO a demo for CHOLMOD
%
% Tests CHOLMOD with various randomly-generated matrices, and the west0479
% matrix distributed with MATLAB. Random matrices are not good test cases,
% but they are easily generated. It also compares CHOLMOD and MATLAB on the
% sparse matrix problem used in the... |
github | lcnbeapp/beapp-master | test15.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CHOLMOD/MATLAB/Test/test15.m | 3,742 | utf_8 | 138acfd9c60538711b73c3f3938a3644 | function test15 (nmat)
%TEST15 test symbfact2 vs MATLAB
% Example:
% test15(nmat)
% See also cholmod_test
% Copyright 2006-2007, Timothy A. Davis, University of Florida
fprintf ('=================================================================\n');
index = UFget ;
% only test matrices with nrows = 109000 or less... |
github | lcnbeapp/beapp-master | test26.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/CHOLMOD/MATLAB/Test/test26.m | 1,919 | utf_8 | 76a21ab29ef4ddc3b64ae785a716c51a | function test26 (do_metis)
%TEST26 test logical full and sparse matrices
% Example:
% test26
% See also cholmod_test
% Copyright 2006-2007, Timothy A. Davis, University of Florida
fprintf ('=================================================================\n');
fprintf ('test26: test logical full and sparse matrices... |
github | lcnbeapp/beapp-master | meshnd_example.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MESHND/meshnd_example.m | 2,391 | utf_8 | b73633dae23b3d361785dff0a3577e93 | function meshnd_example
%MESHND_EXAMPLE example usage of meshnd and meshsparse.
%
% Example:
% meshnd_example
%
% See also meshnd.
% Copyright 2007, Timothy A. Davis, Univ. of Florida
help meshnd
% 2D mesh, compare with Cleve Moler's demos
m = 7 ;
n = 7 ;
[G p pinv Gnew] = meshnd (m,n) ;
fprintf ('Original mesh:... |
github | lcnbeapp/beapp-master | meshnd.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MESHND/meshnd.m | 3,103 | utf_8 | f852a9aec88b5fcf8d39f1afe5d6eb25 | function [G, p, pinv, Gnew] = meshnd (arg1,n,k)
%MESHND creation and nested dissection of a regular 2D or 3D mesh.
% [G p pinv Gnew] = meshnd (m,n) constructs an m-by-n 2D mesh G, and then finds
% a permuted mesh Gnew where Gnew = pinv(G) and G = p(Gnew). meshnd(m,n,k)
% creates an m-by-n-by-k 3D mesh.
%
% [G p pinv G... |
github | lcnbeapp/beapp-master | ssmult_install.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/SSMULT/ssmult_install.m | 6,256 | utf_8 | ca7bbd625a43cfd1c3cec4e2980ff27c | function ssmult_install (dotests)
%SSMULT_INSTALL compiles, installs, and tests ssmult.
% Note that the "lcc" compiler provided with MATLAB for Windows can generate
% slow code; use another compiler if possible. Your current directory must be
% SSMULT for ssmult_install to work properly. If you use Linux/Unix/Mac, I
... |
github | lcnbeapp/beapp-master | pagerankdemo.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MATLAB_Tools/pagerankdemo.m | 6,301 | utf_8 | 2a933a39d67b7f916bc79b747055d403 | function pagerankdemo (steps)
% PAGERANKDEMO draw a 6-node web and compute its pagerank
%
% PAGERANKDEMO draws the 6-node "tiny web" in Section 2.11 of "Numerical
% Computing with MATLAB", by Cleve Moler, SIAM, 2004. It then simulates the
% computation of Google's PageRank algorithm, by randomly selecting links to
% t... |
github | lcnbeapp/beapp-master | gipper.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MATLAB_Tools/gipper.m | 7,444 | utf_8 | b1e1e96f392196e2afd7ffa43315ff4d | function files_out = gipper (directory, include, exclude, exclude_hidden)
%GIPPER zip selected files and subdirectories (gipper = grep + zip)
%
% files = gipper (directory, include, exclude, exclude_hidden) ;
%
% Creates a zip file of all files and subdirectories in a directory. A file in
% the directory or any of i... |
github | lcnbeapp/beapp-master | shellgui.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MATLAB_Tools/shellgui/shellgui.m | 11,655 | utf_8 | 989265d0d56df9f25461086f5878b569 | function varargout = shellgui(varargin)
%SHELLGUI GUI interface for seashell function
% Timothy A. Davis, Chapman Hall / CRC Press, 7th edition.
% Controls the parameters a, b, c, n, azimuth, and elevation, using
% sliders. To the whole range of each parameter, click on the button to
% the right of each slider... |
github | lcnbeapp/beapp-master | spok_test.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MATLAB_Tools/spok/spok_test.m | 1,896 | utf_8 | fb75171c79dfb5ddc82c0cd60c48db62 | function spok_test
%SPOK_TEST installs and tests SPOK
%
% Example:
% spok_install
%
% See also sparse, spok, spok_install
% Copyright 2008, Tim Davis, University of Florida
% compile and install spok
help spok ;
spok_install ;
c = pwd ;
cd private ;
mex spok_invalid.c ;
cd (c) ;
% test with valid matrices
fprintf ... |
github | lcnbeapp/beapp-master | waitex.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MATLAB_Tools/waitmex/waitex.m | 1,047 | utf_8 | 65beaefa68f21bc993f23673d3d2c040 | function result = waitex
%WAITEX same as the waitexample mexFunction, just in M instead of C.
% The only purpose of this function is to serve as a precise description of
% what the waitexample mexFunction does.
%
% Example:
% waitex % draw a waitbar, make progress, and then close the waitbar
% h = waitex ;... |
github | lcnbeapp/beapp-master | find_components_example.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/MATLAB_Tools/find_components/find_components_example.m | 3,897 | utf_8 | a53a3fbb3ee31c9062389fd2faf0f302 | function find_components_example(example)
%FIND_COMPONENTS_EXAMPLE gives an example usage of find_components.
%
% Example:
% find_components_example(0) % a small example, with lots of printing
% find_components_example(1) % Doug's example, with lots of printing
% find_components_example(2) % a large example, j... |
github | lcnbeapp/beapp-master | spqr_make.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/SPQR/MATLAB/spqr_make.m | 17,403 | utf_8 | b2219499a73fd1e89a27ba4c1286be03 | function spqr_make (metis_path,opt1,opt2)
%SPQR_MAKE compiles the SuiteSparseQR mexFunctions
%
% Example:
% spqr_make
%
% SuiteSparseQR relies on CHOLMOD, AMD, and COLAMD, and optionally CCOLAMD,
% CAMD, and METIS. All but METIS are distributed with CHOLMOD. To compile
% SuiteSparseQR to use METIS you must first pl... |
github | lcnbeapp/beapp-master | UFpage.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/UFcollection/UFpage.m | 18,515 | utf_8 | f7bbbbf0f99dcc348d3d968ee195f656 | function UFpage (matrix, index, figures)
%UFPAGE create web page for a matrix in UF Sparse Matrix Collection
%
% Usage:
% UFpage (matrix, index, figures)
%
% matrix: id or name of matrix to create the web page for.
% index: the UF index, from UFget.
% figures: 1 if the figures are to be created, 0 otherwise
%
% Ex... |
github | lcnbeapp/beapp-master | UFread.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/UFcollection/UFread.m | 13,594 | utf_8 | f661a98aa4deaee771002bd338d97870 | function Problem = UFread (directory, tmp)
%UFREAD read a Problem in Matrix Market or Rutherford/Boeing format
% containing a set of files created by UFwrite, in either Matrix Market or
% Rutherford/Boeing format. See UFwrite for a description of the Problem struct.
%
% Usage: Problem = UFread (directory)
%
% Example:
... |
github | lcnbeapp/beapp-master | UFwrite.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/gpstuff/SuiteSparse/UFcollection/UFwrite.m | 17,757 | utf_8 | c4256659f09dc533119bcaa94146d846 | function UFwrite (Problem, Master, arg3, arg4)
%UFWRITE write a Problem in Matrix Market or Rutherford/Boeing format
% containing a set of text files in either Matrix Market or Rutherford/Boeing
% format. The Problem can be read from the files back into MATLAB via UFread.
% See http://www.cise.ufl.edu/research/sparse/... |
github | lcnbeapp/beapp-master | isLegal.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/minFunc/isLegal.m | 111 | utf_8 | 201b5c177a5a05ba3a3322077c1acae1 |
function [legal] = isLegal(v)
legal = sum(any(imag(v(:))))==0 & sum(isnan(v(:)))==0 & sum(isinf(v(:)))==0;
end |
github | lcnbeapp/beapp-master | WolfeLineSearch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/minFunc/WolfeLineSearch.m | 11,132 | utf_8 | bbe46a7fa9b05110d6c9f2ecba335fd1 | function [t,f_new,g_new,funEvals,H] = WolfeLineSearch(...
x,t,d,f,g,gtd,c1,c2,LS,maxLS,tolX,debug,doPlot,saveHessianComp,funObj,varargin)
%
% Bracketing Line Search to Satisfy Wolfe Conditions
%
% Inputs:
% x: starting location
% t: initial step size
% d: descent direction
% f: function value at starting lo... |
github | lcnbeapp/beapp-master | minFunc_processInputOptions.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/dmlt/external/minFunc/minFunc_processInputOptions.m | 3,252 | utf_8 | 72f66f58081120213a4f63f1bb4f42df |
function [verbose,verboseI,debug,doPlot,maxFunEvals,maxIter,tolFun,tolX,method,...
corrections,c1,c2,LS_init,LS,cgSolve,SR1,cgUpdate,initialHessType,...
HessianModify,Fref,useComplex,numDiff,LS_saveHessianComp,...
DerivativeCheck,Damped,HvFunc,bbType,cycle,boundStepLength,...
HessianIter,outputFcn] = .... |
github | lcnbeapp/beapp-master | betapdf.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/betapdf.m | 4,091 | utf_8 | 22972826a645e022df6b35f62bc7c557 | % Copyright (C) 2012 Rik Wehbring
% Copyright (C) 1995-2012 Kurt Hornik
% Copyright (C) 2010 Christos Dimitrakakis
%
% This file is part of Octave.
%
% Octave is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by
% the Free Software Foundation; ei... |
github | lcnbeapp/beapp-master | nansum.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/nansum.m | 194 | utf_8 | d26aaa8d5695a2cd15c51e72c3d4a186 | % NANSUM provides a replacement for MATLAB's nanmean.
%
% For usage see SUM.
function y = nansum(x, dim)
x(isnan(x)) = 0;
if nargin==1
y = sum(x);
else
y = sum(x,dim);
end
end % function
|
github | lcnbeapp/beapp-master | betacdf.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/betacdf.m | 2,801 | utf_8 | e1af8d1223714ddeef6f5d873bf36c57 | % Copyright (C) 2012 Rik Wehbring
% Copyright (C) 1995-2012 Kurt Hornik
%
% This file is part of Octave.
%
% Octave is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3 of the License, or (at
% you... |
github | lcnbeapp/beapp-master | nanstd.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/nanstd.m | 248 | utf_8 | fa0dc38960ab4c502a685ee11ebb3328 | % NANSTD provides a replacement for MATLAB's nanstd that is almost
% compatible.
%
% For usage see STD. Note that the three-argument call with FLAG is not
% supported.
function Y = nanstd(varargin)
Y = sqrt(nanvar(varargin{:}));
end % function
|
github | lcnbeapp/beapp-master | finv.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/finv.m | 1,923 | utf_8 | fd552f83d58acd399ecde455a11523d0 | % Copyright (C) 2012 Rik Wehbring
% Copyright (C) 1995-2012 Kurt Hornik
%
% This file is part of Octave.
%
% Octave is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3 of the License, or (at
% you... |
github | lcnbeapp/beapp-master | nanmean.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/nanmean.m | 245 | utf_8 | 8ab56ab826c1e69fd89a8937baae4bf0 | % NANMEAN provides a replacement for MATLAB's nanmean.
%
% For usage see MEAN.
function y = nanmean(x, dim)
if nargin<2
N = sum(~isnan(x));
y = nansum(x) ./ N;
else
N = sum(~isnan(x), dim);
y = nansum(x, dim) ./ N;
end
end % function
|
github | lcnbeapp/beapp-master | tinv.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/tinv.m | 7,513 | utf_8 | 8aca90435b847d43ade0cd829db21624 | function x = tinv(p,v);
% TINV Inverse of Student's T cumulative distribution function (cdf).
% X=TINV(P,V) returns the inverse of Student's T cdf with V degrees
% of freedom, at the values in P.
%
% The size of X is the common size of P and V. A scalar input
% functions as a constant matrix of the same s... |
github | lcnbeapp/beapp-master | betainv.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/stats/betainv.m | 2,699 | utf_8 | 105a6134b0eb25f2c863062d582e2040 | % Copyright (C) 2012 Rik Wehbring
% Copyright (C) 1995-2012 Kurt Hornik
%
% This file is part of Octave.
%
% Octave is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3 of the License, or (at
% you... |
github | lcnbeapp/beapp-master | arrow.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/fileexchange/arrow.m | 58,340 | utf_8 | e4ceab5f059e48a1443dff678cf4be7f | function [h,yy,zz] = arrow(varargin)
% ARROW Draw a line with an arrowhead.
%
% ARROW(Start,Stop) draws a line with an arrow from Start to Stop (points
% should be vectors of length 2 or 3, or matrices with 2 or 3
% columns), and returns the graphics handle of the arrow(s).
%
% ARROW uses the mouse (cl... |
github | lcnbeapp/beapp-master | icp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/fileexchange/icp.m | 19,293 | utf_8 | 344fc5e77eb0c82e12ab2f075f996060 | function [TR, TT, ER, t, info] = icp(q,p,varargin)
% Perform the Iterative Closest Point algorithm on three dimensional point
% clouds.
%
% [TR, TT] = icp(q,p) returns the rotation matrix TR and translation
% vector TT that minimizes the distances from (TR * p + TT) to q.
% p is a 3xm matrix and q is a 3xn matrix.
%
... |
github | lcnbeapp/beapp-master | DataHash.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/fileexchange/DataHash.m | 18,999 | utf_8 | 8e6737cdb54095fc9656428c35490821 | function Hash = DataHash(Data, Opt)
% DATAHASH - Checksum for Matlab array of any type
% This function creates a hash value for an input of any type. The type and
% dimensions of the input are considered as default, such that UINT8([0,0]) and
% UINT16(0) have different hash values. Nested STRUCTs and CELLs are parsed
%... |
github | lcnbeapp/beapp-master | meshresample.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/iso2mesh/meshresample.m | 1,665 | utf_8 | a84fc4c4bfcb7894e079f34b8a9c6f9d | function [node,elem]=meshresample(v,f,keepratio)
%
% [node,elem]=meshresample(v,f,keepratio)
%
% resample mesh using CGAL mesh simplification utility
%
% author: Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% date: 2007/11/12
%
% input:
% v: list of nodes
% f: list of surface elements (each row for each triangle... |
github | lcnbeapp/beapp-master | savejson.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/iso2mesh/savejson.m | 14,306 | utf_8 | efe098b229009f38be24329e7d8af75d | function json=savejson(rootname,obj,varargin)
%
% json=savejson(rootname,obj,filename)
% or
% json=savejson(rootname,obj,opt)
% json=savejson(rootname,obj,'param1',value1,'param2',value2,...)
%
% convert a MATLAB object (cell, struct or array) into a JSON (JavaScript
% Object Notation) string
%
% author: Qianqian Fa... |
github | lcnbeapp/beapp-master | loadjson.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/iso2mesh/loadjson.m | 16,225 | ibm852 | f1745f9ac3fd57bd26f86b59f45cfb39 | function data = loadjson(fname,varargin)
%
% data=loadjson(fname,opt)
% or
% data=loadjson(fname,'param1',value1,'param2',value2,...)
%
% parse a JSON (JavaScript Object Notation) file or string
%
% authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% date: 2011/09/09
% Nedialko Krouchev: http:... |
github | lcnbeapp/beapp-master | surfaceclean.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/iso2mesh/surfaceclean.m | 1,015 | utf_8 | 7e36bba6243ce6e4c9645e4599663dfe | function f=surfaceclean(f,v)
%
% f=surfaceclean(f,v)
%
% remove surface patches that are located inside
% the bounding box faces
%
% author: Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% date: 2008/04/08
%
% input:
% v: surface node list, dimension (nn,3)
% f: surface face element list, dime... |
github | lcnbeapp/beapp-master | plotsurf.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/iso2mesh/plotsurf.m | 3,890 | utf_8 | cb1cd7f508119c87ac12155d80e72f2d | function hm=plotsurf(node,face,varargin)
%
% hm=plotsurf(node,face,opt)
%
% plot 3D surface meshes
%
% author: Qianqian Fang <fangq at nmr.mgh.harvard.edu>
%
% input:
% node: node coordinates, dimension (nn,3); if node has a
% 4th column, it will be used to set the color at each node.
% face: tr... |
github | lcnbeapp/beapp-master | readoff.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/iso2mesh/readoff.m | 1,446 | utf_8 | aece4a72343e6bece72b82ced7e8fbe6 | function [node,elem]=readoff(fname)
%
% [node,elem]=readoff(fname)
%
% read Geomview Object File Format (OFF)
%
% author: Qianqian Fang (fangq<at> nmr.mgh.harvard.edu)
% date: 2008/03/28
%
% input:
% fname: name of the OFF data file
%
% output:
% node: node coordinates of the mesh
% elem: list of elements of t... |
github | lcnbeapp/beapp-master | om_check_vol.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/om_check_vol.m | 1,911 | utf_8 | 2ad2a2270818ab0b2323ee1513c5a541 | function status = om_check_vol(vol)
% OM_CHECK_VOL Check meshes of volume conductor for BEM modeling
% [STATUS] = OM_CHECK_VOL(VOL)
%
% returns 1 if there is a problem with geometry
% else returns 0
%
% Copyright (C) 2010, Alexandre Gramfort, INRIA
% $Id$
% $LastChangedBy: alegra $
% $LastChangedDate: 20... |
github | lcnbeapp/beapp-master | testOpenMEEGeeg.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/testOpenMEEGeeg.m | 3,442 | utf_8 | da3bbd9c98535f6d189d29d80e72d0f0 | function testOpenMEEGeeg
% TEST testOpenMEEGeeg
% Test the computation of an EEG leadfield with OpenMEEG
addpath(cd) % Make sure current folder is in the path
%% Set the position of the probe dipole
pos = [0 0 70];
%% Set the radius and conductivities of each of the compartments
% 4 Layers
r = [85 88 92 100];
c = ... |
github | lcnbeapp/beapp-master | openmeeg.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/openmeeg.m | 4,515 | utf_8 | 0fd160989b8ea14353b3fae3fe6b2d9b | function [vol] = openmeeg(vol, isolated)
% OPENMEEG computes a symmetric BEM system matrix
%
% Use as
% [vol] = openmeeg(vol, isolated)
%
% Attention: the normals of the mesh describing the volume conductor are by
% FieldTrip convention pointing outwards (with respect to the mesh center),
% whereas OpenMEEG binari... |
github | lcnbeapp/beapp-master | openmeeg_dsm.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/openmeeg_dsm.m | 4,055 | utf_8 | b5927ebd6c389bc30f4183cb25c4499f | function [dsm] = openmeeg_dsm(pos, vol, flag)
% OPENMEEG_DSM computes the OpenMEEG DSM matrix
% i.e. Right hand side in the potential equation
%
% Use as
% [dsm] = openmeeg_dsm(po, vol, flag)
%
% flag = 1 non adaptive algorithm: does not try to approximate the
% potential in the neighborhodd of the lead... |
github | lcnbeapp/beapp-master | openmeeg_megm.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/openmeeg/openmeeg_megm.m | 3,786 | utf_8 | 65f11e114798758fdc4c4b43287f55c1 | function [h2mm, s2mm] = openmeeg_megm(pos, vol, sens)
% OPENMEEG_MEGM computes the OpenMEEG H2MM and S2MM matrices
% i.e. the contribution to MEG from the potential and from the source
%
% Use as
% [h2mm,s2mm] = openmeeg_megm(vol, isolated)
% Copyright (C) 2010, Emmanuel Olivi
% INRIA Athena Project Te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.