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 | chjp2046/thirdparty-master | director_string_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/director_string_runme.m | 456 | utf_8 | 253061c50e9f69d1d7f90b0bf7c64b21 | director_string
function out=get_first(self)
out = strcat(self.A.get_first()," world!");
end
function process_text(self,string)
self.A.process_text(string);
self.smem = "hello";
end
B=@(string) subclass(A(string),'get_first',@get_first,'process_text',@process_text);
b = B("hello");
b.get(0);
if (!strcmp(b.ge... |
github | chjp2046/thirdparty-master | voidtest_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/voidtest_runme.m | 489 | utf_8 | e8f18ed9dcf24d5fabce570c881dde59 | voidtest
voidtest.globalfunc();
f = voidtest.Foo();
f.memberfunc();
voidtest.Foo_staticmemberfunc();
function fvoid()
end
try
a = f.memberfunc();
catch
end_try_catch
try
a = fvoid();
catch
end_try_catch
v1 = voidtest.vfunc1(f);
v2 = voidtest.vfunc2(f);
if (swig_this(v1) != swig_this(v2))
error
endif
v3 =... |
github | chjp2046/thirdparty-master | director_detect_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/director_detect_runme.m | 659 | utf_8 | ed20d6fcffc7c81a27de292afc945862 | director_detect
global MyBar=@(val=2) \
subclass(director_detect.Bar(),'val',val,@get_value,@get_class,@just_do_it,@clone);
function val=get_value(self)
self.val = self.val + 1;
val = self.val;
end
function ptr=get_class(self)
global director_detect;
self.val = self.val + 1;
ptr=director_detect.A();... |
github | chjp2046/thirdparty-master | preproc_constants_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/preproc_constants_runme.m | 533 | utf_8 | 917a1bdadc03d5ce92d7468e9c4c81b2 | preproc_constants
assert(CONST_INT1, 10)
assert(CONST_DOUBLE3, 12.3)
assert(CONST_BOOL1, true)
assert(CONST_CHAR, 'x')
assert(CONST_STRING1, "const string")
# Test global constants can be seen within functions
function test_global()
global CONST_INT1
global CONST_DOUBLE3
global CONST_BOOL1
global CO... |
github | chjp2046/thirdparty-master | director_classic_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/director_classic_runme.m | 2,411 | utf_8 | 168e96aff7298695046a230adc01e911 | director_classic
TargetLangPerson=@() subclass(Person(),'id',@(self) "TargetLangPerson");
TargetLangChild=@() subclass(Child(),'id',@(self) "TargetLangChild");
TargetLangGrandChild=@() subclass(GrandChild(),'id',@(self) "TargetLangGrandChild");
# Semis - don't override id() in target language
TargetLangSemiPerson=@()... |
github | chjp2046/thirdparty-master | exception_order_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/exception_order_runme.m | 898 | utf_8 | a9559c0998ed1178eef715d5314f32e1 | exception_order
function check_lasterror(expected)
if (!strcmp(lasterror.message, expected))
# Take account of older versions prefixing with "error: " and adding a newline at the end
if (!strcmp(regexprep(lasterror.message, 'error: (.*)\n$', '$1'), expected))
error(["Bad exception order. Expected: \"",... |
github | chjp2046/thirdparty-master | director_abstract_runme.m | .m | thirdparty-master/swig-2.0.4/Examples/test-suite/octave/director_abstract_runme.m | 993 | utf_8 | 010e2a8f3e12a660ec6f6b89f629f5fd | director_abstract
MyFoo=@() subclass(director_abstract.Foo(),@ping);
function out=ping(self)
out="MyFoo::ping()";
end
a = MyFoo();
if (!strcmp(a.ping(),"MyFoo::ping()"))
error(a.ping())
endif
if (!strcmp(a.pong(),"Foo::pong();MyFoo::ping()"))
error(a.pong())
endif
MyExample1=@() subclass(director_abstract.... |
github | chjp2046/thirdparty-master | runme.m | .m | thirdparty-master/swig-2.0.4/Examples/octave/class/runme.m | 1,000 | utf_8 | 72e73d7e7b69ccc074cb6a9204d36b55 | # file: runme.m
# This file illustrates the proxy class C++ interface generated
# by SWIG.
example
# ----- Object creation -----
printf("Creating some objects:\n");
c = example.Circle(10)
s = example.Square(10)
# ----- Access a static member -----
printf("\nA total of %i shapes were created\n", example.Shape.nsh... |
github | SRI-CSL/linguist-master | convert_variable.m | .m | linguist-master/samples/Matlab/convert_variable.m | 2,186 | utf_8 | 3d73feb0b3feaa01d8b434d83f275241 | function [name, order] = convert_variable(variable, output)
% Returns the name and order of the given variable in the output type.
%
% Parameters
% ----------
% variable : string
% A variable name.
% output : string.
% Either `moore`, `meijaard`, `data`.
%
% Returns
% -------
% name : string
% The variable name i... |
github | SRI-CSL/linguist-master | create_ieee_paper_plots.m | .m | linguist-master/samples/Matlab/create_ieee_paper_plots.m | 34,238 | utf_8 | 3cf9c020f3fbd215ddc5182743c38bc8 | function create_ieee_paper_plots(data, rollData)
% Creates all of the figures for the IEEE paper.
%
% Parameters
% ----------
% data : structure
% A structure contating the data from generate_data.m for all of the bicycles
% and speeds for the IEEE paper.
% rollData : structure
% The data for a single bicycle at ... |
github | SRI-CSL/linguist-master | plant.m | .m | linguist-master/samples/Matlab/plant.m | 2,087 | utf_8 | daf74d53d9253d37bd69d59c76021156 | function Yc = plant(varargin)
% function Yc = plant(varargin)
%
% Returns the system plant given a number.
%
% Parameters
% ----------
% varargin : variable
% Either supply a single argument {num} or three arguments {num1, num2,
% ratio}. If a single argument is supplied, then one of the six transfer
% functions ... |
github | sakov/nn-c-master | viewinterp.m | .m | nn-c-master/nn/examples/4/viewinterp.m | 2,966 | utf_8 | 7417d9126bc9a9d26e8e9a0521bfadb3 | function [h] = viewinterp(fin, fout, verbose)
if nargin == 2
verbose = 1;
end
if verbose
fprintf('plotting data from "%s" and "%s"\n', fin, fout);
fprintf(' reading "%s"...', fin);
end
data = load(fin);
xin = data(:, 1);
yin = data(:, 2);
if verbose
... |
github | sakov/nn-c-master | viewdata.m | .m | nn-c-master/nn/examples/4/viewdata.m | 999 | utf_8 | 67b71a780846700538c2885622196091 | function [] = viewdata(fname, verbose)
if nargin == 1
verbose = 1;
end
if verbose
fprintf('plotting data from "%s"\n', fname);
fprintf(' reading %s...', fname);
end
data = load(fname);
x = data(:, 1);
y = data(:, 2);
z = data(:, 3);
clear data;
i... |
github | sakov/nn-c-master | viewinterp.m | .m | nn-c-master/nn/examples/2/viewinterp.m | 2,958 | utf_8 | d26d767db6166fd61aed3acb8e998426 | function [h] = viewinterp(fin, fout, verbose)
if nargin == 2
verbose = 1;
end
if verbose
fprintf('plotting data from "%s" and "%s"\n', fin, fout);
fprintf(' reading "%s"...', fin);
end
data = load(fin);
xin = data(:, 1);
yin = data(:, 2);
if verbose
... |
github | sakov/nn-c-master | viewdata.m | .m | nn-c-master/nn/examples/2/viewdata.m | 997 | utf_8 | ab48c38062dcedc76ab2a8753db22db8 | function [] = viewdata(fname, verbose)
if nargin == 1
verbose = 1;
end
if verbose
fprintf('plotting data from "%s"\n', fname);
fprintf(' reading %s...', fname);
end
data = load(fname);
x = data(:, 1);
y = data(:, 2);
z = data(:, 3);
clear data;
i... |
github | sakov/nn-c-master | viewinterp.m | .m | nn-c-master/nn/examples/6/viewinterp.m | 2,979 | utf_8 | 770a921fde90549389e40ac980a5208b | function [h] = viewinterp(fin, fout, verbose)
if nargin == 2
verbose = 1;
end
if verbose
fprintf('plotting data from "%s" and "%s"\n', fin, fout);
fprintf(' reading "%s"...', fin);
end
data = load(fin);
xin = data(:, 1);
yin = data(:, 2);
if verbose
... |
github | sakov/nn-c-master | viewinterp.m | .m | nn-c-master/nn/examples/5/viewinterp.m | 2,981 | utf_8 | fad5d5a9a7e23e2a58f6f50878e9e6b0 | function [h] = viewinterp(fin, fout, verbose)
if nargin == 2
verbose = 1;
end
if verbose
fprintf('plotting data from "%s" and "%s"\n', fin, fout);
fprintf(' reading "%s"...', fin);
end
data = load(fin);
xin = data(:, 1);
yin = data(:, 2);
if verbose
... |
github | sakov/nn-c-master | viewinterp2.m | .m | nn-c-master/nn/examples/5/viewinterp2.m | 2,614 | utf_8 | 9632542297375653452730a61f73ee6f | function [h] = viewinterp2(fin, fout, verbose)
if nargin == 2
verbose = 1;
end
if verbose
fprintf('plotting data from "%s" and "%s"\n', fin, fout);
fprintf(' reading "%s"...', fin);
end
data = load(fin);
xin = data(:, 1);
yin = data(:, 2);
zin = data(:, 3);
... |
github | sakov/nn-c-master | viewexample.m | .m | nn-c-master/nn/examples/1/viewexample.m | 1,430 | utf_8 | d42115a123b638b5c17966468e631c2a | function viewexample()
subplot(3, 1, 1);
view('data-100.txt', 'out-100.txt');
title('100 data points');
pause(0.1);
subplot(3, 1, 2);
view('data-300.txt', 'out-300.txt');
title('300 data points');
pause(0.1);
subplot(3, 1, 3);
view('data-1000.txt', 'out-1000.txt');
title('... |
github | UA3MQJ/fpga-synth-master | lpf_fir_comp_coeff.m | .m | fpga-synth-master/examples/EP2C5_I2S_DAC/lpf_fir_comp_coeff.m | 8,341 | utf_8 | 07a5d8e1c4330ef7433d00326d092130 | %% ================================================================================
%% Legal Notice: Copyright (C) 1991-2008 Altera Corporation
%% Any megafunction design, and related net list (encrypted or decrypted),
%% support information, device programming or simulation file, and any other
%% associated documentat... |
github | germanRos/FRADM-master | FRADM.m | .m | FRADM-master/FRADM.m | 6,540 | utf_8 | fa43da3d9818a3d7722582770b8e9650 | function [A_hat, E_hat, iter, U, V, B] = FRADM(D, lambda, lrank, tol, maxIter)
% Nov. 2014
% This code implements the Fixed-Rank Alternated Direction Method with Augmented Lagrange Multiplier
% algorithm for Robust Fixed-Rank Sparse Decompositions.
%
% D - m x n matrix of probably corrupted data
%
% lambda - we... |
github | GitDerek/multiscale_fem-master | q1elem_Lap.m | .m | multiscale_fem-master/q1elem_Lap.m | 2,159 | utf_8 | de96fe0c8640b280617e77e736c40b6f | function M = Q1elem_Lap(vertices, epsilon, a1, a2)
% computation of the element stiffness matrix with Q1 element
% for Laplace operator
node = vertices;
[Th, msBasis] = solveLocalBasis(node(1,1), node(1,2), node(3,1), node(3,2), 20, epsilon, a1, a2);
nE = Th.getNumElements(); ... |
github | GitDerek/multiscale_fem-master | solveLocalBasis.m | .m | multiscale_fem-master/solveLocalBasis.m | 2,281 | utf_8 | a43588121a73382f6988f66137a141d3 | function [Th, msBasis] = solveLocalBasis(x0, y0, x1, y1, n, epsilon, a1, a2)
Th = RectangleMesh(x0, y0, x1, y1, n, n);
macroCoordinates = Th.coordinates;
macroElements = Th.elements;
% Th.showMesh()
%% compute boundary vertices and edges
% four boundary edges
k1 = find( macroCoordinates(:,2) == y0 );
k2 = find( macr... |
github | GitDerek/multiscale_fem-master | test_function.m | .m | multiscale_fem-master/test/test_function.m | 3,851 | utf_8 | 0110ae1c74c34a79f679b46737db443f | function test_function
n = 4;
Th = RectangleMesh(0,0,1,1,n,n);
coordinates = Th.coordinates;
elements = Th.elements;
figure(2)
Th.showMesh();
cc = coordinates(elements(6,:),:)
solveLocalBasis(cc(1,1), cc(1,2), cc(3,1), cc(3,2), 100, 0.01, 1/2, sqrt(3)/2);
% [bdNode,bdEdge,isBdNode,isBdElem] = findquadboundary(Th.ele... |
github | GitDerek/multiscale_fem-master | Untitled.m | .m | multiscale_fem-master/test/Untitled.m | 6,582 | utf_8 | 2adb7f3f545fe83cc03abaad0cfbf760 | function Untitled()
tic
%% define a uniform finite element mesh over the unit square [0,1]x[0,1]
epsilon = 0.001;
a1 = 1/2;
a2 = sqrt(3)/2;
n = 20;
Th = RectangleMesh(0,0,1,1,n,n);
coordinates = Th.coordinates;
elements = Th.elements;
%% compute boundary vertices and edges
% four boundary edges
k1 = find( coordinate... |
github | utvisionlab/mixest-master | mxe_estimate.m | .m | mixest-master/mixest/estimation/mxe_estimate.m | 11,676 | utf_8 | db783ef724f7167c1c56ae2580491074 | %% |mxe_estimate|
% *Note:* This is a private function.
%
% Main estimation function using manifold optimization
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
function [... |
github | utvisionlab/mixest-master | Integral_Method.m | .m | mixest-master/mixest/distributions/ag/Integral_Method.m | 803 | utf_8 | 97ba5a4c5173669a920f6413716af8ab | function A = Integral_Method(mat, Tol)
%%
% Calculating the expected logarithm of weighted sum of chi-square
% distribution (A = E[ \log \sum d_i N_i^2]) with the integral method
%
% Written by: Pourya H. Zadeh
% eigs should be a column vector
[r, c] = size(mat);
if r == c
eigs = eig(mat);
else
eigs = mat;
end... |
github | utvisionlab/mixest-master | agfactory.m | .m | mixest-master/mixest/distributions/ag/agfactory.m | 12,493 | utf_8 | 9219c1b2f15a97d909ac65b8e71a132b | %% |agfactory|
% Construct an angular-Gaussian distribution structure
%
% *Syntax*
%
% D = agfactory(datadim)
%
% *Description*
%
% |D = agfactory(datadim)| returns a structure representing a
% |datadim|-dimensional angular-Gaussian distribution.
%
% *Distribution Parameters*
%
% * *|sigma|* (|datadim-by-datadim| mat... |
github | utvisionlab/mixest-master | ag_estimatedefault.m | .m | mixest-master/mixest/distributions/ag/ag_estimatedefault.m | 2,254 | utf_8 | c8b3837077a91341f29600090159c554 | %% |ag_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for eg distribution
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Yasaman Etesam
% Pourya H. Zadeh
%
% Change log:... |
github | utvisionlab/mixest-master | moefactory.m | .m | mixest-master/mixest/distributions/mixture/moefactory.m | 12,962 | utf_8 | d122434c55a3e92d92e862a5eee8df8a | %% |moefactory|
% Construct a mixture of experts distribution structure
%
% *Syntax*
%
% D = mixturefactory(GateD, ExpertD)
%
% *Description*
%
% |D = mixturefactory(GateD, ExpertD)| returns a structure representing a
% mixture of experts distribution. |GatetD| is a gate structure. |ExpertD|
% defines the expert dist... |
github | utvisionlab/mixest-master | mixture_visualize.m | .m | mixest-master/mixest/distributions/mixture/mixture_visualize.m | 4,476 | utf_8 | ccfc36bceabe2d3df9578d9dc82d6800 | %% |mixture_visualize|
% *Note:* This is a private function.
%
% Mixture distribution visualization
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
function handle_array =... |
github | utvisionlab/mixest-master | meg_estimatedefault.m | .m | mixest-master/mixest/distributions/mixture/meg_estimatedefault.m | 7,914 | utf_8 | d37f9ef01f2dbcb3b301433b216d615d | %% |meg_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the MEG distribution. Implements the
% Expectation Maximization (EM) algorithm.
%
% For using MEG estimate default, create a mixture of EGs and then
% D.estimatedefault = @(varargin)meg_estimatedefault(D, varargin{:});
... |
github | utvisionlab/mixest-master | mixture_mergeinit.m | .m | mixest-master/mixest/distributions/mixture/mixture_mergeinit.m | 4,012 | utf_8 | d5530e7bb7a222069dd99b10e6b4ae03 | %% |mixture_mergeinit|
% *Note:* This is a private function.
%
% Calculate the initial parameters for a merged mixture component to be
% substituted for two given components
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad H... |
github | utvisionlab/mixest-master | mixture_estimatedefault.m | .m | mixest-master/mixest/distributions/mixture/mixture_estimatedefault.m | 7,021 | utf_8 | 9fe692f8917b64e79e68c36a5037a58f | %% |mixture_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the mixture distribution. Implements the
% Expectation Maximization (EM) algorithm.
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors... |
github | utvisionlab/mixest-master | mixture_splitcandidates.m | .m | mixest-master/mixest/distributions/mixture/mixture_splitcandidates.m | 4,717 | utf_8 | 1338f4a73fd6d7b977607cbf6ac6d57a | %% |mixture_splitcandidates|
% *Note:* This is a private function.
%
% Sort mixture components for splitting, based on given split method
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% C... |
github | utvisionlab/mixest-master | mixturefactory_mashal.m | .m | mixest-master/mixest/distributions/mixture/mixturefactory_mashal.m | 55,602 | utf_8 | 916bea07bb00a3c43f0a02e36e77e33c | %% |mixturefactory|
% Construct a mixture distribution structure
%
% *Syntax*
%
% D = mixturefactory(ComponentD, num)
% D = mixturefactory(ComponentD)
%
% *Description*
%
% |D = mixturefactory(ComponentD, num)| returns a structure representing a
% mixture distribution. |ComponentD| is a distribution structure defin... |
github | utvisionlab/mixest-master | mixture_splitinit.m | .m | mixest-master/mixest/distributions/mixture/mixture_splitinit.m | 4,668 | utf_8 | 193ef084f2ac806da44e62642a49f6de | %% |mixture_splitinit|
% *Note:* This is a private function.
%
% Calculate the initial parameters for two splitted mixture components to
% be substituted for the given component
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Resh... |
github | utvisionlab/mixest-master | mixture_mergecandidates.m | .m | mixest-master/mixest/distributions/mixture/mixture_mergecandidates.m | 2,197 | utf_8 | 8428e7c9ff9dde257e556abbd19cc132 | %% |mixture_mergecandidates|
% *Note:* This is a private function.
%
% Sort mixture components for merging, based on given merge method
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Cha... |
github | utvisionlab/mixest-master | moe_estimatedefault.m | .m | mixest-master/mixest/distributions/mixture/moe_estimatedefault.m | 7,209 | utf_8 | ab743dd98fea9cd515d30deabfede201 | %% |moe_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the mixtures of experts. Implements the
% Expectation Maximization (EM) algorithm.
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% ... |
github | utvisionlab/mixest-master | gaussianizationfactory.m | .m | mixest-master/mixest/distributions/gaussianize/gaussianizationfactory.m | 17,005 | utf_8 | d7da3cf0fbe472b3708ad48cc181f3dd | %% |gaussianizationfactory|
% Construct a Gaussianization distribution structure
%
% *Syntax*
%
% D = gaussianization(LayerD, num)
% D = gaussianization(LayerD)
%
% *Description*
%
% |D = gaussianization(LayerD, num)| returns a structure representing a
% gaussianization distribution. |LayerD| is a distribution stru... |
github | utvisionlab/mixest-master | gamma_estimatedefault.m | .m | mixest-master/mixest/distributions/gamma/gamma_estimatedefault.m | 1,490 | utf_8 | b0592eec0081f8211604b1de081eb321 | %% |gamma_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the gamma distribution
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
... |
github | utvisionlab/mixest-master | gammafactory.m | .m | mixest-master/mixest/distributions/gamma/gammafactory.m | 15,305 | utf_8 | ba3a51263b5d2462d26181f3f36cd3f9 | %% |gammafactory|
% Construct a gamma distribution structure
%
% *Syntax*
%
% D = gammafactory()
%
% *Description*
%
% |D = gammafactory()| returns a structure representing a gamma
% distribution.
%
% *Distribution Parameters*
%
% * *|a|* (positive scalar) : The shape parameter.
% * *|b|* (positive scalar) : The scal... |
github | utvisionlab/mixest-master | factorialfactory.m | .m | mixest-master/mixest/distributions/factorial/factorialfactory.m | 17,289 | utf_8 | 7a3db866565fad81f3db903a6cd043cd | %% |factorialfactory|
% Construct a factorial distribution structure
%
% *Syntax*
%
% D = factorialfactory(ComponentD, num)
% D = factorialfactory(ComponentD)
%
% *Description*
%
% |D = factorialfactory(ComponentD, num)| returns a structure representing a
% factorial distribution. |ComponentD| is a distribution str... |
github | utvisionlab/mixest-master | factorialmogfactory.m | .m | mixest-master/mixest/distributions/factorial/factorialmogfactory.m | 15,378 | utf_8 | 8b69adec39ad5d5fb49817c8cc01c27e | %% |factorialmogfactory|
% Construct a factorial distribution with MoG distributions for factors
%
% *Syntax*
%
% D = factorialmogfactory(numCpt, num)
%
% *Description*
%
% |D = factorialfactory(numCpt, num)| returns a structure representing a
% factorial distribution. |numCpt| is number of Gaussian components
% for ... |
github | utvisionlab/mixest-master | mxe_addsharedfields.m | .m | mixest-master/mixest/distributions/common/mxe_addsharedfields.m | 2,047 | utf_8 | b2996969833a7b3f388f59dfa8b0a09f | %% |mxe_addsharedfields|
% *Note:* This is a private function.
%
% Add shared fields to distribution structures
%
% *Syntax*
%
% D = mxe_addsharedfields(D)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Moham... |
github | utvisionlab/mixest-master | mxe_BIC.m | .m | mixest-master/mixest/distributions/common/mxe_BIC.m | 707 | utf_8 | e4fb6a4cdaefb2a52f03f7979e1c5651 | %% |mxe_BIC|
% *Note:* This is a private function.
%
% Calculate BICc
%
% *Syntax*
%
% bic = mxe_BIC(D, data)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
function bi... |
github | utvisionlab/mixest-master | mxe_AICc.m | .m | mixest-master/mixest/distributions/common/mxe_AICc.m | 447 | utf_8 | 5e5bbfdbbf27dff91044dc128c2b9acf | %% |mxe_AICc|
% *Note:* This is a private function.
%
% Calculate AICc
%
% *Syntax*
%
% aicc = mxe_AICc(D, data)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
function... |
github | utvisionlab/mixest-master | cmvn2factory.m | .m | mixest-master/mixest/distributions/mvn/cmvn2factory.m | 16,259 | utf_8 | a9e24c118a23118c154e644a28f39231 | %% |cmvn2factory|
% Construct a reparameterized conditional multi-variate normal distribution
% structure
%
% *Syntax*
%
% D = cmvn2factory(datadim, conddim)
%
% *Description*
%
% |D = cmvnfactory(datadim, conddim)| returns a structure representing a
% conditional normal distribution with a special reparameterization... |
github | utvisionlab/mixest-master | mvn_selfsplit.m | .m | mixest-master/mixest/distributions/mvn/mvn_selfsplit.m | 1,690 | utf_8 | 4d12d2862892740f33272d4b49d0d5fc | %% |mvn_selfsplit|
% *Note:* This is a private function.
%
% Calculate the initial parameter values for two splitted distributions to
% be substituted for the current distribution. Each parameter should be
% requested by a separate call with an optional specific method.
%
% Copyright 2015 Reshad Hosseini and Mohamadre... |
github | utvisionlab/mixest-master | mvn_estimatedefault.m | .m | mixest-master/mixest/distributions/mvn/mvn_estimatedefault.m | 1,194 | utf_8 | 78a4fcebecf3e37c484cb2f296b25298 | %% |mvn_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the multi-variate normal distribution
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Ch... |
github | utvisionlab/mixest-master | mvn2cholfactory.m | .m | mixest-master/mixest/distributions/mvn/mvn2cholfactory.m | 16,757 | utf_8 | b55027796f3d066862ef89a88424f88c | %% |mvn2cholfactory|
% Construct a reparameterized multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvn2cholfactory(datadim)
%
% *Description*
%
% |D = mvn2cholfactory(datadim)| returns a structure representing a
% |datadim|-dimensional normal distribution with a special
% reparameterization.
%
% *Dis... |
github | utvisionlab/mixest-master | mvn2icholfactory.m | .m | mixest-master/mixest/distributions/mvn/mvn2icholfactory.m | 16,055 | utf_8 | c87e959174d4679e191fc2f42135ae8b | %% |mvn2icholfactory|
% Construct a reparameterized multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvn2icholfactory(datadim)
%
% *Description*
%
% |D = mvn2icholfactory(datadim)| returns a structure representing a
% |datadim|-dimensional normal distribution with a special
% reparameterization.
%
% *... |
github | utvisionlab/mixest-master | mvnfactory.m | .m | mixest-master/mixest/distributions/mvn/mvnfactory.m | 20,304 | utf_8 | 532bc0bfbbb230b9258b351e28d7fa99 | %% |mvnfactory|
% Construct a multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvnfactory(datadim)
%
% *Description*
%
% |D = mvnfactory(datadim)| returns a structure representing a
% |datadim|-dimensional normal distribution.
%
% *Distribution Parameters*
%
% * *|mu|* (|datadim-by-1| vector) : The me... |
github | utvisionlab/mixest-master | mvn_selfmerge.m | .m | mixest-master/mixest/distributions/mvn/mvn_selfmerge.m | 2,052 | utf_8 | dcdbfc1175b6e4eb9ed2cb753ee40f9a | %% |mvn_selfmerge|
% *Note:* This is a private function.
%
% Calculate the initial parameter values for a merged distribution to be
% substituted for two distributions. Each parameter should be requested by
% a separate call with an optional specific method.
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
%... |
github | utvisionlab/mixest-master | cmvnfactory.m | .m | mixest-master/mixest/distributions/mvn/cmvnfactory.m | 18,717 | utf_8 | ea32c22f5bcfe836fd2e82f91822b0db | %% |cmvnfactory|
% Construct a conditional multi-variate normal distribution structure
%
% *Syntax*
%
% D = cmvnfactory(datadim, conddim)
%
% *Description*
%
% |D = cmvnfactory(datadim, conddim)| returns a structure representing a
% conditional normal distribution. |datadim| is the data dimensions and
% |conddim| is ... |
github | utvisionlab/mixest-master | mvn2factorytmp.m | .m | mixest-master/mixest/distributions/mvn/mvn2factorytmp.m | 20,702 | utf_8 | 9a215357ad6008fd1533241a3d786125 | %% |mvn2factory|
%
% Difference between this and mvn2factory is the manifold of spd
%
% Construct a reparameterized multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvn2factory(datadim)
%
% *Description*
%
% |D = mvn2factory(datadim)| returns a structure representing a
% |datadim|-dimensional normal ... |
github | utvisionlab/mixest-master | mvn2factorytmp2.m | .m | mixest-master/mixest/distributions/mvn/mvn2factorytmp2.m | 20,705 | utf_8 | 5b872c0644de4654a847b70e4eb24a53 | %% |mvn2factory|
%
% Difference between this and mvn2factory is the manifold of spd
%
% Construct a reparameterized multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvn2factory(datadim)
%
% *Description*
%
% |D = mvn2factory(datadim)| returns a structure representing a
% |datadim|-dimensional normal ... |
github | utvisionlab/mixest-master | mvn_visualize.m | .m | mixest-master/mixest/distributions/mvn/mvn_visualize.m | 3,977 | utf_8 | d350f5a34d17614f923622a9104e97c0 | %% |mvn_visualize|
% *Note:* This is a private function.
%
% Multi-variate-normal distribution visualization
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
function handl... |
github | utvisionlab/mixest-master | mvnicholfactory.m | .m | mixest-master/mixest/distributions/mvn/mvnicholfactory.m | 15,543 | utf_8 | 73c8bca41fbc170a1da9a4c480e608c5 | %% |mvnicholfactory|
% Construct a multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvnicholfactory(datadim)
%
% *Description*
%
% |D = mvnicholfactory(datadim)| returns a structure representing a
% |datadim|-dimensional normal distribution.
%
% *Distribution Parameters*
%
% * *|mu|* (|datadim-by-1| v... |
github | utvisionlab/mixest-master | mvn2_estimatedefault.m | .m | mixest-master/mixest/distributions/mvn/mvn2_estimatedefault.m | 927 | utf_8 | 9b84c2ff10d4a511d206ce5826ceaf6d | %% |mvn2_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the multi-variate normal distribution
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% C... |
github | utvisionlab/mixest-master | mvn2factory.m | .m | mixest-master/mixest/distributions/mvn/mvn2factory.m | 20,628 | utf_8 | 6668e2df72766d37882fa76f22548bca | %% |mvn2factory|
% Construct a reparameterized multi-variate normal distribution structure
%
% *Syntax*
%
% D = mvn2factory(datadim)
%
% *Description*
%
% |D = mvn2factory(datadim)| returns a structure representing a
% |datadim|-dimensional normal distribution with a special
% reparameterization.
%
% *Distribution Pa... |
github | utvisionlab/mixest-master | ecd_estimatedefault.m | .m | mixest-master/mixest/distributions/ecd/ecd_estimatedefault.m | 8,229 | utf_8 | 9a925a7b2ea0fbfef3ae2942a4881c25 | %% |ecd_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for ecd distribution. Implements alternative
% coordinate descent (between Radial and Sigma).
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributo... |
github | utvisionlab/mixest-master | ecdfactory.m | .m | mixest-master/mixest/distributions/ecd/ecdfactory.m | 22,652 | utf_8 | 85ef544b3de26afbe721f18965651a35 | %% |ecdfactory|
% Construct a zero-mean elliptically contoured distribution structure
%
% *Syntax*
%
% D = ecdfactory(datadim, radialD)
%
% *Description*
%
% |D = ecdfactory(datadim, radialD)| returns a structure representing a
% |datadim|-dimensional ecd distribution with square radial pdf |radialD|.
%
% *Distributi... |
github | utvisionlab/mixest-master | ecd_eg_estimatedefault.m | .m | mixest-master/mixest/distributions/ecd/ecd_eg_estimatedefault.m | 3,826 | utf_8 | 3a7631ff36e1fdc1fb9aca27b14dd8b8 | %% |ecd_eg_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for eg distribution
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
funct... |
github | utvisionlab/mixest-master | vmf_estimatedefault.m | .m | mixest-master/mixest/distributions/vmf/vmf_estimatedefault.m | 766 | utf_8 | 198d14e6c60a451f4e0903ef24a29b11 | %% |vmf_estimatedefault|
% *Note:* This is a private function.
%
% Default estimation function for the von Mises-Fisher distribution
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change... |
github | utvisionlab/mixest-master | vmffactory.m | .m | mixest-master/mixest/distributions/vmf/vmffactory.m | 15,401 | utf_8 | 9f49c5365f5660c15f2bd33275e297d3 | %% |vmffactory|
% Construct a von Mises-Fisher distribution structure
%
% *Syntax*
%
% D = vmffactory(datadim)
%
% *Description*
%
% |D = vmffactory(datadim)| returns a structure representing a
% |datadim|-dimensional VMF distribution on the unit sphere.
%
% *Distribution Parameters*
%
% * *|mu|* (|datadim-by-1| vect... |
github | utvisionlab/mixest-master | vmf_visualize.m | .m | mixest-master/mixest/distributions/vmf/vmf_visualize.m | 1,480 | utf_8 | 6ea989fd4653b6b49dd3f8015da17991 | %% |mvn_visualize|
% *Note:* This is a private function.
%
% von Mises-Fisher distribution visualization
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% Change log:
%
function handle_ar... |
github | utvisionlab/mixest-master | mnlfactory.m | .m | mixest-master/mixest/distributions/mnl/mnlfactory.m | 8,997 | utf_8 | 96a628090702275dd6e994e36ebffb89 | %% |mnlfactory|
% Construct a multinomial logistic distribution (MaxEnt classifier)
%
% *Syntax*
%
% D = mnlfactory(datadim, num)
% D = mnlfactory(datadim)
%
% *Description*
%
% |D = mnlfactory(datadim, num)| returns a structure representing a
% multi-nomial logit distribution. |datadim| is the dimension of input
... |
github | utvisionlab/mixest-master | softmaxfactory.m | .m | mixest-master/mixest/gates/softmaxfactory.m | 9,735 | utf_8 | 7dd5944b2eb79b0d7899f616c7b505ff | %% |softmaxfactory|
% Construct a softmax gate distribution structure
%
% *Syntax*
%
% D = softmaxfactory(num, datadim)
% D = softmaxfactory(num)
%
% *Description*
%
% |D = softmaxfactory(num, datadim)| returns a structure representing a
% softmax gate distribution. |num| is the number of factors. |datadim| is
% th... |
github | utvisionlab/mixest-master | softmax_estimateMstep.m | .m | mixest-master/mixest/gates/softmax_estimateMstep.m | 3,036 | utf_8 | 0ee4bf3b9a464a3aebd5291f87cd26ad | %% |softmax_estimateMstep|
% *Note:* This is a private function.
%
% Default estimation function for the mixtures of experts. Implements the
% M-step in Expectation Maximization (EM) algorithm.
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contr... |
github | utvisionlab/mixest-master | mxe_stoppingcriterion.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_stoppingcriterion.m | 3,961 | utf_8 | c3c223f7aa5ec911465db62123465226 | %% |mxe_stoppingcriterion|
% *Note:* This is a private function.
%
% Check stopping criteria declared in options
%
% *Syntax*
%
% stop = mxe_stoppingcriterion(D, theta, options, info, last)
% stop = mxe_stoppingcriterion(D, theta, options, info, last, first)
% stop = mxe_stoppingcriterion(D, theta, options, info,... |
github | utvisionlab/mixest-master | mxe_plot.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_plot.m | 3,240 | utf_8 | 1d213d63a4c69bfc8ef52a98ebf414d2 | %% |mxe_plot|
% *Note:* This is a private function.
%
% Returns a structure used for plotting costs, etc over iterations
%
% *Syntax*
%
% mp = mxe_plot(labels)
% mp = mxe_plot(labels, plot_options)
% mp = mxe_plot(labels, plot_options, reset_axes)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This... |
github | utvisionlab/mixest-master | mxe_getplotdata.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_getplotdata.m | 2,400 | utf_8 | c09f1eeb8c8d8bd33e32b57edbb07521 | %% |mxe_getplotdata|
% *Note:* This is a private function.
%
% Extract plot data from info
%
% *Syntax*
%
% [ploty, plotx] = mxe_getplotdata(fieldname, plot_options, info, last)
% [ploty, plotx] = mxe_getplotdata(fieldname, plot_options, info, last, previter, allinfo, allinfolast)
%
% Copyright 2015 Reshad Hossein... |
github | utvisionlab/mixest-master | mxe_ecostgrad.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_ecostgrad.m | 3,648 | utf_8 | c26dc5a7e8c4b0676999074dd6d37130 | %% |mxe_ecostgrad|
% *Note:* This is a private function.
%
% Returns the cost (negative log-likelihood) and its Euclidean gradient
% with respect to distribution parameters calculated on data, considering
% penalization, etc. Used in gradient-based estimation functions.
%
% *Syntax*
%
% [cost, grad] = mxe_ecostgrad(D... |
github | utvisionlab/mixest-master | mxe_plotavg.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_plotavg.m | 903 | utf_8 | 9fffb8e9e1e5ec469bf20f680b1c76ed | %% |mxe_plotavg|
% *Note:* This is a private function.
%
% Function used in averaged plotting
%
% *Syntax*
%
% [plotx, ploty] = mxe_plotavg(plotx, ploty, avgiter)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
%... |
github | utvisionlab/mixest-master | mxe_gradbatch.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_gradbatch.m | 1,615 | utf_8 | c15003822456cef22020987c82e011fd | %% |mxe_costgrad|
% *Note:* This is a private function.
%
% Returns the Riemannian gradient of cost (negative log-likelihood)
% with respect to distribution parameters calculated on data, considering
% penalization, etc. Used in gradient-based estimation functions.
%
% Since it is for SGD no databatchsize is necessary... |
github | utvisionlab/mixest-master | mxe_crossvalidation.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_crossvalidation.m | 2,466 | utf_8 | f67c6f1ae633956dadefcfd94ceea97f | %% |mxe_crossvalidation|
% *Note:* This is a private function.
%
% Construct a structure used for cross-validation
%
% *Syntax*
%
% [cv, idxTrain] = mxe_crossvalidation(data, cvfraction, cvtoliter, costfun)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/m... |
github | utvisionlab/mixest-master | mxe_minibatch.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_minibatch.m | 1,543 | utf_8 | 5af10db1123eaf41d7537f1532030591 | %% |mxe_minibatch|
% *Note:* This is a private function.
%
% Returns a structure used for mini batch optimization
%
% *Syntax*
%
% [mb, idxMBTrain] = mxe_minibatch(idxAllTrain, options)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributor... |
github | utvisionlab/mixest-master | mxe_egradbatch.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_egradbatch.m | 1,570 | utf_8 | 104f2c15a8c730469532748a0065ee5e | %% |mxe_costgrad|
% *Note:* This is a private function.
%
% Returns the Riemannian gradient of cost (negative log-likelihood)
% with respect to distribution parameters calculated on data, considering
% penalization, etc. Used in gradient-based estimation functions.
%
% Since it is for SGD no databatchsize is necessary... |
github | utvisionlab/mixest-master | mxe_adjustoptions.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_adjustoptions.m | 875 | utf_8 | e7897057fc35b464e590c1df7f107635 | %% |mxe_adjustoptions|
% *Note:* This is a private function.
%
% Makes the required adjustments to |options| fields like |maxiter| when
% using |options.previnfo| to continue from a previous estimation.
%
% *Syntax*
%
% options = mxe_adjustoptions(options, stats)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Ma... |
github | utvisionlab/mixest-master | mxe_options.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_options.m | 11,138 | utf_8 | c682d35bc384e27fa2b60da6d9b4da1f | %% |mxe_options|
% *Note:* This is a private function.
%
% Generate default estimation options, Add given extra default options, and
% then set any given options.
%
% *Syntax*
%
% options = mxe_options()
% options = mxe_options(options)
% options = mxe_options(options, extra_defaults)
%
% Copyright 2015 Reshad H... |
github | utvisionlab/mixest-master | mxe_costgrad.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_costgrad.m | 3,772 | utf_8 | fcf7840cc91ef38382cbcb18cd5795a9 | %% |mxe_costgrad|
% *Note:* This is a private function.
%
% Returns the cost (negative log-likelihood) and its Riemannian gradient
% with respect to distribution parameters calculated on data, considering
% penalization, etc. Used in gradient-based estimation functions.
%
% *Syntax*
%
% [cost, grad] = mxe_costgrad(D,... |
github | utvisionlab/mixest-master | mxe_getsolverhandle.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_getsolverhandle.m | 939 | utf_8 | bc46772860cf124cb1655fcc476fc903 | %% |mxe_getsolverhandle|
% *Note:* This is a private function.
%
% Returns function handle to a manopt solver given its name
%
% *Syntax*
%
% h = mxe_getsolverhandle(solverName)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Re... |
github | utvisionlab/mixest-master | mxe_visualization.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_visualization.m | 2,807 | utf_8 | d58e5426b82b24adae6b13171d2ff2ae | %% |mxe_visualization|
% *Note:* This is a private function.
%
% Returns a structure used for visualizing the estimation process
%
% *Syntax*
%
% vis = mxe_visualization(data, vis_options)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contribu... |
github | utvisionlab/mixest-master | mxe_inneroptions.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_inneroptions.m | 1,857 | utf_8 | 2181ba2d2f281151ee4bca502ab0e1f5 | %% |mxe_inneroptions|
% *Note:* This is a private function.
%
% Read options for inner estimations
%
% *Syntax*
%
% inner_options = mxe_inneroptions(options, inner_defaults, subfield)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:... |
github | utvisionlab/mixest-master | mxe_mergeinfo.m | .m | mixest-master/mixest/auxiliary/estimation/mxe_mergeinfo.m | 2,253 | utf_8 | a5e86c350a75871da49e13527b9078cc | %% |mxe_mergeinfo|
% *Note:* This is a private function.
%
% Merge info structure arrays, considering memory pre-allocation
%
% *Syntax*
%
% [info, last] = mxe_mergeinfo(info, last, newinfo)
% [info, last] = mxe_mergeinfo(info, last, newinfo, maxiter)
% [info, last] = mxe_mergeinfo(info, last, newinfo, maxiter, f... |
github | utvisionlab/mixest-master | mxe_publishdocs.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_publishdocs.m | 8,777 | utf_8 | 32443b1c5bbbe2dc205308ef03008cb7 | %% mxe_publishdocs
% *Note:* This is a private function.
%
% Publish all documentation files into Jekyll source directory
%
% *Syntax*
%
% mxe_publishdocs
% mxe_publishdocs online
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
%... |
github | utvisionlab/mixest-master | mxe_scaleparam.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_scaleparam.m | 811 | utf_8 | ee485b537bceca7a94a55ae39865a7e0 | %% |mxe_scaleparam|
% *Note:* This is a private function.
%
% Scaling the parameters
%
% *Syntax*
%
% param = mxe_scaleparams(scale, param1)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
... |
github | utvisionlab/mixest-master | mxe_readweight.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_readweight.m | 540 | utf_8 | b8282fa7a64a04546c66758bf079afab | %% |mxe_readweight|
% *Note:* This is a private function.
%
% Read only the data weights from the given data argument
%
% *Syntax*
%
% weight = mxe_readweight(data)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini... |
github | utvisionlab/mixest-master | mxe_sumparam.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_sumparam.m | 821 | utf_8 | 69469a1ad5c8a1cd82b8f83de182de46 | %% |mxe_sumparam|
% *Note:* This is a private function.
%
% Adding two parameters
%
% *Syntax*
%
% param = mxe_addparams(param1, param2)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% Contributors:
% Reshad Hosseini
% Mohamadreza Mash'al
%
% ... |
github | utvisionlab/mixest-master | mxe_htmltable.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_htmltable.m | 1,637 | utf_8 | b3a0244b143cdf74550f70c2c78b4e0b | %% |mxe_htmltable|
% *Note:* This is a private function.
%
% Generates HTML code for a table corresponding to the given structure
% array. (used in documentation)
%
% *Syntax*
%
% html = mxe_htmltable(S)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixe... |
github | utvisionlab/mixest-master | mxe_readdata.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_readdata.m | 4,745 | utf_8 | a2f4f8b49647fd9ee6017b364ce834e8 | %% |mxe_readdata|
% *Note:* This is a private function.
%
% Read data points, data weights, indices of data to be worked on, and data
% tag, from the given data argument. (Used in functions that have a data
% input argument)
%
% *Syntax*
%
% data_struct = mxe_readdata(data)
% data_struct = mxe_readdata(data, false)... |
github | utvisionlab/mixest-master | mxe_setfields.m | .m | mixest-master/mixest/auxiliary/private_tools/mxe_setfields.m | 1,646 | utf_8 | 3dfef5701f3a9096639673a01c40c36d | %% |mxe_setfields|
% *Note:* This is a private function.
%
% Sets options structure recursively, converting the names to lower case
%
% *Syntax*
%
% options = mxe_setfields(options, given_options)
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is part of MixEst: visionlab.ut.ac.ir/mixest
%
% ... |
github | utvisionlab/mixest-master | productsimplexfactory.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/simplex/productsimplexfactory.m | 2,659 | utf_8 | 51cf6500cdb245d058b54f7b888ad049 | %% |productsimplexfactory|
% Returns a manifold struct to optimize over simplex with given dimension
%
% *Syntax*
%
% M = productsimplexfactory(n)
%
% *Description*
%
% |M = simplexfactory(n, m)| returns |M|, a structure describing cartesian
% product of |m| simplex manifolds of dimension |n|.
%
% Copyright 2015 Res... |
github | utvisionlab/mixest-master | simplexKfactory.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/simplex/simplexKfactory.m | 2,404 | utf_8 | aae1db58e066fa060b058968c226b9a0 | %% |simplexfactory|
% Returns a manifold struct to optimize over simplex with given dimension
% and sum
%
% *Syntax*
%
% M = simplexKfactory(n, K)
%
% *Description*
%
% |M = simplexKfactory(n, K)| returns |M|, a structure describing the
% simplex manifold of dimension |n|, where the sum of the elements of the
% point... |
github | utvisionlab/mixest-master | simplexfactory.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/simplex/simplexfactory.m | 2,723 | utf_8 | 550dc12635cc884395b2eab1444fca08 | %% |simplexfactory|
% Returns a manifold struct to optimize over simplex with given dimension
%
% *Syntax*
%
% M = simplexfactory(n)
%
% *Description*
%
% |M = simplexfactory(n)| returns |M|, a structure describing the simplex
% manifold of dimension |n|.
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% ... |
github | utvisionlab/mixest-master | spdfactory.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/positivedefinite/spdfactory.m | 6,097 | utf_8 | 8a13780a0a37d4520b7d8aa580d296c5 | %% |spdfactory|
% Returns a manifold structure to optimize over symmetric positive definite
% matrices
%
% *Syntax*
%
% M = spdfactory(n)
%
% *Description*
%
% |M = spdfactory(n)| returns |M|, a structure describing the Riemmanian
% manifold of symmetric |n-by-n| positive definite matrices.
%
% Copyright 2015 Reshad... |
github | utvisionlab/mixest-master | spdfactorytmp.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/positivedefinite/spdfactorytmp.m | 6,098 | utf_8 | ba30423d4d167377a9942685d8f85862 | %% |spdfactory|
% Returns a manifold structure to optimize over symmetric positive definite
% matrices
%
% *Syntax*
%
% M = spdfactory(n)
%
% *Description*
%
% |M = spdfactory(n)| returns |M|, a structure describing the Riemmanian
% manifold of symmetric |n-by-n| positive definite matrices.
%
% Copyright 2015 Reshad... |
github | utvisionlab/mixest-master | hpdfactory.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/positivedefinite/hpdfactory.m | 5,608 | utf_8 | 01e41959bfae808aad71833728c93aed | %% |hpdfactory|
% Returns a manifold structure to optimize over Hermitian positive definite
% matrices
%
% *Syntax*
%
% M = hpdfactory(n)
%
% *Description*
%
% |M = hpdfactory(n)| returns |M|, a structure describing the Riemmanian
% manifold of Hermitian |n-by-n| positive definite matrices.
%
% Copyright 2015 Reshad... |
github | utvisionlab/mixest-master | positive2factory.m | .m | mixest-master/mixest/auxiliary/manopt_manifolds/positivedefinite/positive2factory.m | 2,227 | utf_8 | 4481b082308e7400444dc2513a94091e | %% |positivefactory|
% Returns a manifold struct to optimize over manifold of positive numbers
%
% *Syntax*
%
% M = positivefactory(n)
%
% *Description*
%
% |M = positivefactory(n)| returns |M|, a structure describing the positive
% manifold.
%
% Copyright 2015 Reshad Hosseini and Mohamadreza Mash'al
% This file is ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.