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 | pelkmanslab/ImageBasedTranscriptomics-master | gcf2pdf.m | .m | ImageBasedTranscriptomics-master/SetupSpotDetection/private/gcf2pdf.m | 8,182 | utf_8 | 448c1bdb02161b43bf9d5b7a090acd54 | function strPrintName = gcf2pdf(strRootPath,strFigureName,varargin)
% help for gcf2pdf
%
% gcf2pdf converts current figure into a vectorized pdf file.
%
% usage:
% strPrintName = gcf2pdf(strRootPath,strFigureName,varargin)
%
% remarks/changes
% BS, 080827: added varargin to pass 'overwrite' parameter, to ove... |
github | pelkmanslab/ImageBasedTranscriptomics-master | imreadCP3D.m | .m | ImageBasedTranscriptomics-master/CellProfiler/CP3Dsubfunctions/imreadCP3D.m | 3,857 | utf_8 | 4d06902c9ce7aff9f464912db53fda52 | function Images = imreadCP3D(strFilenames,datatype,illum_stat_values)
%IMREADCP3D generates a matrix containing the images specified in the
% the array STRFILENAMES, where index positions in STRFILENAMES
% correspond to different Z-planes. STRFILENAMES has to contain full
% paths to the file to load.
%
% ... |
github | pelkmanslab/ImageBasedTranscriptomics-master | CPgetSpotLocalizations.m | .m | ImageBasedTranscriptomics-master/CellProfiler/CPsubfunctions/CPgetSpotLocalizations.m | 10,455 | utf_8 | de916c34dcd378acc0e3581873050210 | function matLocalizationMeasurements = CPgetSpotLocalizations(tempParentLocation,tempChildrenLocation,tempThirdLoc,CurrCellMembraneLocalization,tempTotalChildren,matEdge_NonEdge,matPerVector,matRadiousVector,i)
% Support Function which calculates multiple spatial features of spots;
% global settings
pxDistOfInte... |
github | introlab/manyears-master | hannWin.m | .m | manyears-master/Experiment/hannWin.m | 1,923 | utf_8 | 6d7553e268917d936c702d8d7b7ff5cf | %
% *************************************************************************
% * Authors: Francois Grondin *
% *************************************************************************
% * Inputs: nSamples Size of the window *
% * Outpu... |
github | introlab/manyears-master | createFrames.m | .m | manyears-master/Experiment/createFrames.m | 3,824 | utf_8 | 626e9434de04a655c14c77805cbaf12d | %
% *************************************************************************
% * Authors: Laurier Demers, Francois Grondin, Arash Vakili *
% *************************************************************************
% * Inputs: x Vector *
% * ... |
github | introlab/manyears-master | spectrogram.m | .m | manyears-master/Experiment/spectrogram.m | 3,567 | utf_8 | dc7caed6a54be0bf47ef8316f7c7f836 | %
% *************************************************************************
% * Authors: Francois Grondin *
% *************************************************************************
% * Inputs: x Vector *
% * ... |
github | introlab/manyears-master | fusionFrames.m | .m | manyears-master/Experiment/fusionFrames.m | 3,575 | utf_8 | 5bd7ae509176e893e307ec1463a5f02b | %
% *************************************************************************
% * Authors: Laurier Demers, Francois Grondin, Arash Vakili *
% *************************************************************************
% * Inputs: framesMatrix Matrix made of all the frames *
% * ... |
github | introlab/manyears-master | extractTrackSources.m | .m | manyears-master/Experiment/extractTrackSources.m | 3,719 | utf_8 | 86dbb3be1ce3661c3bceec62d2cfdaeb | %
% *************************************************************************
% * Authors: Francois Grondin *
% *************************************************************************
% * Inputs: trackFilePath Path of the track file *
% * Outpu... |
github | Nek5000-deprecated/NekTools-deprecated-master | stiff.m | .m | NekTools-deprecated-master/amg_matlab/stiff.m | 596 | utf_8 | 1b5bacb74d76e034ced94ae6191d5134 | function A = stiff(e)
global conn vert
v = vert(conn(e,:),:)';
D = zeros(2,4);
D(:,1) = v(:,2)-v(:,1);
D(:,2) = v(:,4)-v(:,3);
D(:,3) = v(:,3)-v(:,1);
D(:,4) = v(:,4)-v(:,2);
A =( st(D,0,0)+st(D,1,0)+st(D,0,1)+st(D,1,1) ...
+4*(st(D,0,.5)+st(D,1,.5)+st(D,.5,0)+st(D,.5,1)) ...
+16*st(D,.5,.5))... |
github | Nek5000-deprecated/NekTools-deprecated-master | amg_analyze_level.m | .m | NekTools-deprecated-master/amg_matlab2/amg_analyze_level.m | 9,279 | utf_8 | 52fa85e83bbeec42ebdfa647cb9eec7a | function out = amg_analyze_level(data, l, f, fid)
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
n = data.n(l);
if n==0; out = struct([]); return; end
if nargin<4; fid=[]; end
tee(fid,'Analysis level %d (n=%d):\n', l,n);
A = data.A{l};
C = data.C{l}; F = ~C; nc=sum(C); nf=n-nc;
Af = da... |
github | Nek5000-deprecated/NekTools-deprecated-master | amg_cycle.m | .m | NekTools-deprecated-master/amg_matlab2/amg_cycle.m | 1,243 | utf_8 | 7c76b6cddebbcd6be0d6b6120691bbb8 | function M = amg_cycle(data,m,smoother,lvl)
if nargin<2; m=2; end
if nargin<3; smoother='plain'; end
if nargin<4; lvl=1; end
if isscalar(m); m=[m m]; end
pre_opts.maxsteps = m(1);
pst_opts.maxsteps = m(2);
A = cell(size(data.A));
Af = cell(size(data.Af));
Bf = cell(size(data.Bf));
for l=1:length(data.A ); A{l} = ... |
github | Nek5000-deprecated/NekTools-deprecated-master | gnorm.m | .m | NekTools-deprecated-master/amg_matlab2/gnorm.m | 94 | utf_8 | 093aef6fdde3d4b97540561864347b86 | %|| T || _ A,B
function r = gnorm(T,A,B)
r = sqrt(max(abs(eig(full(T'*A*T),full(B)))));
end
|
github | asheshjain399/RNNexp-master | changeCoordinateSpace.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/dataParser/Utils/changeCoordinateSpace.m | 3,255 | utf_8 | 7d513abee2d25ef45dacaa42f82ebe4e | %{
Converts pose data from Euler angle to euclidean map space and center it
w.r.t to starting position
%}
function [channels_in_local_coordinates,skel,R0,T0] = changeCoordinateSpace(angleSkel,poseData)
addpaths;
[skel,channels] = getExpmapFromSkeleton(angleSkel,poseData.Block);
channels_in_local_coordinat... |
github | asheshjain399/RNNexp-master | playGeneratedMotion.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/dataParser/Utils/playGeneratedMotion.m | 2,895 | utf_8 | 8a1794e88d06a8ba85119498c8adda77 | function playGeneratedMotion( model,filename,subject,save_frames,thresh )
addpaths;
str_split = strsplit(filename,'_');
motionidx = str_split{end};
db = H36MDataBase.instance;
temp = strsplit(motionidx,'.');
Nval = str2num(temp{1});
actionidx = Nval + 1;
if nargin < 4
... |
github | asheshjain399/RNNexp-master | preprocess_2.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/dataParser/Utils/preprocess_2.m | 1,802 | utf_8 | 90816d680e875472d81c0246bb4e0406 | %clear all; clc;
function preprocess_2()
addpaths;
db = H36MDataBase.instance;
subjects = [5,6,7,8,9,11,1];
actions = 2:16;
subactions = 1:2;
cameras = 1:4;
actionsToName={'','directions','discussion','eating','greeting','phoning','posing','purchases','sitting','sittingdown','smoking','takingphoto','waiting','walkin... |
github | asheshjain399/RNNexp-master | revertCoordinateSpace.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/dataParser/Utils/revertCoordinateSpace.m | 737 | utf_8 | 352f2461a7dda05970ffc4d5d0218912 | %{
Takes eucliden map input which is centered w.r.t. the starting point and
convert it to w.r.t. world co-ordinate space
%}
function [channels_reconstruct,R_prev,T_prev] = revertCoordinateSpace(channels_self,R0,T0)
addpaths;
channels_reconstruct = channels_self;
R_prev = R0;
T_prev = T0;
rootRotInd... |
github | asheshjain399/RNNexp-master | rotmat2quat.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/mhmublv/Motion/rotmat2quat.m | 639 | utf_8 | 9d479d144d70bc7e13bd1772832c6017 | % Software provided by Hao Zhang
% http://www.cs.berkeley.edu/~nhz/software/rotations
function q=rotmat2quat(R)
% function q=rotmat2quat(R)
% convert a rotation matrix R into unit quaternion q
%
% denote the axis of rotation by unit vector r0, the angle by theta
% q is of the form (cos(theta/2), r0*sin(theta/2))
... |
github | asheshjain399/RNNexp-master | expModify.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/mhmublv/Motion/expModify.m | 1,759 | utf_8 | 79fb83b698541cab58c1c24ae936b974 | % Version 1.01
%
% Code provided by Graham Taylor, Geoff Hinton and Sam Roweis
%
% For more information, see:
% http://www.cs.toronto.edu/~gwtaylor/publications/nips2006mhmublv
%
% Permission is granted for anyone to copy, use, modify, or distribute this
% program and accompanying programs and documents for any p... |
github | asheshjain399/RNNexp-master | euler2expmap.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/mhmublv/Motion/euler2expmap.m | 3,178 | utf_8 | af2dcad0a75c6177bb9945a9a29945f4 | function [skel, expmapchannels] = euler2expmap(skel,eulerchannels)
% Version 1.01
%
% Code provided by Graham Taylor, Geoff Hinton and Sam Roweis
%
% For more information, see:
% http://www.cs.toronto.edu/~gwtaylor/publications/nips2006mhmublv
%
% Permission is granted for anyone to copy, use, modify, or distrib... |
github | asheshjain399/RNNexp-master | exp2xyz.m | .m | RNNexp-master/structural_rnn/CRFProblems/H3.6m/mhmublv/Motion/exp2xyz.m | 5,184 | utf_8 | 2046df8721324b80eac75ff90aa4554f | function xyz = exp2xyz(skel,channels)
% Version 1.01
%
% Code provided by Graham Taylor, Geoff Hinton and Sam Roweis
%
% For more information, see:
% http://www.cs.toronto.edu/~gwtaylor/publications/nips2006mhmublv
%
% Permission is granted for anyone to copy, use, modify, or distribute this
% program and accomp... |
github | senguptasaikat/MRM_Sengupta_Moving_Table_Fat-Water_MRI_with_Dynamic_B0_Shimming-master | CMT_Dynamic_Shimming_GUI.m | .m | MRM_Sengupta_Moving_Table_Fat-Water_MRI_with_Dynamic_B0_Shimming-master/code/CMT_Dynamic_Shimming_GUI.m | 21,955 | utf_8 | 1f0a76c042e34e504bbfde13c8eab732 | function varargout = CMT_Dynamic_Shimming_GUI(varargin)
% COMBI_DYNAMIC_SHIMMING_GUI MATLAB code for COMBI_Dynamic_Shimming_GUI.fig
% COMBI_DYNAMIC_SHIMMING_GUI, by itself, creates a new COMBI_DYNAMIC_SHIMMING_GUI or raises the existing
% singleton*.
%
% H = COMBI_DYNAMIC_SHIMMING_GUI returns the handle ... |
github | zeroc-ice/ice-main | removeFolderFromPath.m | .m | ice-main/matlab/msbuild/removeFolderFromPath.m | 129 | utf_8 | 83610811819b4e6cbecab3f681efc142 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function removeFolderFromPath(p)
rmpath(p);
savepath();
exit(0);
end
|
github | zeroc-ice/ice-main | addFolderToPath.m | .m | ice-main/matlab/msbuild/addFolderToPath.m | 125 | utf_8 | 2d3ddf0df6cca116fbedf2689bcbce82 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function addFolderToPath(f)
addpath(f);
savepath();
exit(0);
end
|
github | zeroc-ice/ice-main | buildToolbox.m | .m | ice-main/matlab/msbuild/buildToolbox.m | 992 | utf_8 | a94a151b08ef5672ca856685842a6303 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function buildToolbox(iceVersion)
rootDir = fileparts(mfilename('fullpath'));
packageDir = fullfile(rootDir, 'toolbox');
sourceDir = fullfile(packageDir, 'ice');
projectFile = fullfile(rootDir, 'toolbox.prj');
try
fprintf(1, 'Building Ice toolbox packa... |
github | zeroc-ice/ice-main | runTest.m | .m | ice-main/matlab/test/lib/runTest.m | 837 | utf_8 | 605ba0547c261c54a37cafdce8abfb72 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function runTest(varargin)
if length(varargin) == 0
fprintf('testdir argument required\n');
exit(1);
end
testdir = varargin{1};
varargin(1) = []; % Removes first argument.
libsubdir = varargin{1};
varargin(1) = []; % Removes ... |
github | zeroc-ice/ice-main | LocalTests.m | .m | ice-main/matlab/test/Ice/objects/LocalTests.m | 38,325 | utf_8 | 59160cd39eb9c39c7599968eeac067db | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
%
% These tests exercise some corner cases of the mapping.
%
classdef LocalTests
methods(Static)
function localTests(helper)
import LocalTest.*;
communicator = helper.communicator();
props = communicator.getProperties... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/objects/client.m | 1,561 | utf_8 | bf50b1f63fe342bcc280ef610bc182b9 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
properties = helper.createTestProperties(args);
properties.setProperty('Ice.Warn.Connections', '0');
comm... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/optional/client.m | 452 | utf_8 | 1403fa71d428924795f74e72e3859efd | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
initial = AllTes... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/proxy/client.m | 453 | utf_8 | ef0ebbe57e11a1f2345664cb71ffb293 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
myClass = AllTe... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/binding/client.m | 418 | utf_8 | 0789c019951da5a790060612771eb0b2 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
AllTests.allTest... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/facets/client.m | 440 | utf_8 | 0b3a1c86beafc348cd86888302a6eb28 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
g = AllTests.all... |
github | zeroc-ice/ice-main | OnewaysAMI.m | .m | ice-main/matlab/test/Ice/operations/OnewaysAMI.m | 1,333 | utf_8 | 78f1729ca4fc6e3d5eec57546fdc6022 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
classdef OnewaysAMI
methods(Static)
function onewaysAMI(p)
import Test.*;
p = p.ice_oneway();
call(p, 'ice_ping');
try
p.ice_isAAsync(MyClassPrx.ice_staticId());
catch ex
... |
github | zeroc-ice/ice-main | TwowaysAMI.m | .m | ice-main/matlab/test/Ice/operations/TwowaysAMI.m | 45,060 | utf_8 | 5617db340f487f38e0bf5fb5f5f0ea43 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
classdef TwowaysAMI
methods(Static)
function twowaysAMI(helper, p)
import Test.*;
call(p, 'ice_ping');
b = call(p, 'ice_isA', MyClassPrx.ice_staticId());
assert(b);
id = call(p, 'ice_id');
... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/operations/client.m | 1,014 | utf_8 | 0aea5303975d94af71c9152f0c8c5188 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
properties = helper.createTestProperties(args);
properties.setProperty('Ice.ThreadPool.Client.Size', '2');
... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/ami/client.m | 783 | utf_8 | 96830c9a0ce17297fc09e967aebbb844 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
properties = helper.createTestProperties(args);
properties.setProperty('Ice.Warn.AMICallback', '0');
prop... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/slicing/objects/client.m | 446 | utf_8 | 91cfab5e1fc1e8ece6eacfdd91f571e7 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
test = AllTests.... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/slicing/exceptions/client.m | 446 | utf_8 | 91cfab5e1fc1e8ece6eacfdd91f571e7 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
test = AllTests.... |
github | zeroc-ice/ice-main | AllTests.m | .m | ice-main/matlab/test/Ice/info/AllTests.m | 6,945 | utf_8 | c5e4176da9158e9dd0365e2d79e20970 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
classdef AllTests
methods(Static)
function allTests(helper)
import Test.*;
communicator = helper.communicator();
fprintf('testing proxy endpoint information... ');
p1 = communicator.stringToProxy(...
... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/info/client.m | 418 | utf_8 | 0789c019951da5a790060612771eb0b2 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
AllTests.allTest... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/defaultValue/client.m | 418 | utf_8 | 0789c019951da5a790060612771eb0b2 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
AllTests.allTest... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/enums/client.m | 446 | utf_8 | 91cfab5e1fc1e8ece6eacfdd91f571e7 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
test = AllTests.... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/timeout/client.m | 922 | utf_8 | daa6f315e5a6a7e6b8b908b9fc4a200f | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
properties = helper.createTestProperties(args);
%
% For this test, we want to disable retries.
%
... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/exceptions/client.m | 635 | utf_8 | 6c9a089cf83ee04647f8aa3b32592d2a | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
properties = helper.createTestProperties(args);
properties.setProperty('Ice.Warn.Connections', '0');
prop... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/acm/client.m | 534 | utf_8 | 482e84c629eff62bf472841d58f2e8b7 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
properties = helper.createTestProperties(args);
properties.setProperty('Ice.Warn.Connections', '0');
comm... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Ice/inheritance/client.m | 452 | utf_8 | 1403fa71d428924795f74e72e3859efd | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
initial = AllTes... |
github | zeroc-ice/ice-main | client.m | .m | ice-main/matlab/test/Slice/escape/client.m | 418 | utf_8 | 0789c019951da5a790060612771eb0b2 | %
% Copyright (c) ZeroC, Inc. All rights reserved.
%
function client(args)
addpath('generated');
if ~libisloaded('ice')
loadlibrary('ice', @iceproto)
end
helper = TestHelper();
communicator = helper.initialize(args);
cleanup = onCleanup(@() communicator.destroy());
AllTests.allTest... |
github | YunsongZhang/PhaseFieldProject-master | lap.m | .m | PhaseFieldProject-master/funcR/lap.m | 314 | utf_8 | 2242e1e1ed703af965587af70b1b91fa | % Compute Laplace of u on domain [-Lx, Lx]*[-Ly, Ly]
function uu = lap(u, m, n, Lx, Ly)
k1 = [0:m/2, -(m/2-1):-1];
k2 = [0:n/2, -(n/2-1):-1];
[k1,k2] = meshgrid(k1,k2);
k1_sqr = k1.^2;
k2_sqr = k2.^2;
u1 = fft2(u);
uu1 = u1.*( -(pi/Lx)^2*k1_sqr - (pi/Ly)^2*k2_sqr );
uu = ifft2(uu1);
|
github | YunsongZhang/PhaseFieldProject-master | grad.m | .m | PhaseFieldProject-master/funcR/grad.m | 272 | utf_8 | 31fd2e3e899e2c28a25d109cdfc6b8c3 | % Derivative of u = u(x,y) on domain [-Lx, Lx]*[-Ly, Ly]
function [ux, uy] = grad(u, m, n, Lx, Ly)
k1 = [0:m/2-1, 0, -(m/2-1):-1];
k2 = [0:n/2-1, 0, -(n/2-1):-1];
[k1, k2] = meshgrid(k1, k2);
u1 = fft2(u);
ux = ifft2(u1.*k1*1i)*pi/Lx;
uy = ifft2(u1.*k2*1i)*pi/Ly;
|
github | jwyang/Person-Specific-FAS-master | TargetDA_PCA_withSubNum.m | .m | Person-Specific-FAS-master/replay-attack/Domain_Adaptation/TargetDA_PCA_withSubNum.m | 11,612 | utf_8 | a3fce0e86ef0056385813c4fcb2ad9bc | function TargetDA_PCA_withSubNum(Feats_train_SL, Labels_train_SL, Feats_devel_SL, Labels_devel_SL, Feats_test_SL, Labels_test_SL, Feats_enroll_SL, Labels_enroll_SL, Feat_Type, BLabel, method)
%TARGETDA Summary of this function goes here
% Function: Conduct target domain adaptation
% Detailed explanation goes here
%... |
github | jwyang/Person-Specific-FAS-master | TargetDA_PCA.m | .m | Person-Specific-FAS-master/replay-attack/Domain_Adaptation/TargetDA_PCA.m | 11,438 | utf_8 | 79f401113c38f9424cf735c3b253e29e | function TargetDA_PCA(Feats_train_SL, Labels_train_SL, Feats_devel_SL, Labels_devel_SL, Feats_test_SL, Labels_test_SL, Feats_enroll_SL, Labels_enroll_SL, Feat_Type, BLabel, method)
%TARGETDA Summary of this function goes here
% Function: Conduct target domain adaptation
% Detailed explanation goes here
% Input:
%... |
github | jwyang/Person-Specific-FAS-master | TargetDA_PCA_withSubNum.m | .m | Person-Specific-FAS-master/replay-attack/Estimate_Transformation/TargetDA_PCA_withSubNum.m | 10,468 | utf_8 | 7b4c96e1eed25d2ced9b601bed8cadb9 | function TargetDA_PCA_withSubNum(Feats_train_SL, Labels_train_SL, Feats_devel_SL, Labels_devel_SL, Feats_test_SL, Labels_test_SL, Feats_enroll_SL, Labels_enroll_SL, Feat_Type, method)
%TARGETDA Summary of this function goes here
% Function: Conduct target domain adaptation
% Detailed explanation goes here
% Input... |
github | jwyang/Person-Specific-FAS-master | EstimateTransformation_Iterative.m | .m | Person-Specific-FAS-master/replay-attack/Estimate_Transformation/EstimateTransformation_Iterative.m | 8,554 | utf_8 | 2da0a14070579428530e8dbd8f6b476d | function EstimateTransformation_Iterative(Feats_train_SL, Labels_train_SL, Feats_devel_SL, Labels_devel_SL, Feats_test_SL, Labels_test_SL, Feat_Type, BLabel, method)
%ESTIMATETRANSFORMATION_ITERATIVE Summary of this function goes here
% Function: Estimate transformation from one subject domain to another one iterati... |
github | jwyang/Person-Specific-FAS-master | EstimateTransformation_Enroll_Iterative.m | .m | Person-Specific-FAS-master/replay-attack/Estimate_Transformation/EstimateTransformation_Enroll_Iterative.m | 10,385 | utf_8 | 1b23a0aaf26381e48308d04d73aec810 | function EstimateTransformation_Enroll_Iterative(Feats_enroll_SL, Labels_train_SL, Labels_devel_SL, Labels_test_SL, Labels_enroll_SL, BLabel, Feat_Type, method)
%ESTIMATETRANSFORMATION_ITERATIVE Summary of this function goes here
% Function: Estimate transformation from one subject domain to another one iteratively
%... |
github | jwyang/Person-Specific-FAS-master | plot_ROCs.m | .m | Person-Specific-FAS-master/replay-attack/Test_Models/plot_ROCs.m | 4,079 | utf_8 | d1be2758b40622606e672b1f015a6bd7 | function plot_ROCs
Feat_Names = {'MsLBP' 'HOG'};
Methods_Generic = {'NULL' 'PCA' 'CS' 'OLS' 'PLS'};
Methods_PS = {'PCA' 'CS' 'OLS' 'PLS'};
Methods_FAS = {'CS' 'OLS' 'PLS'};
Perfs_Generic = cell(3, 5);
Perfs_PS = cell(3, 4);
Perfs_FAS = cell(2, 3);
for t = 1:length(Feat_Names)
for m = 1:length(Methods_Generic)
... |
github | jwyang/Person-Specific-FAS-master | plot_HTERs_withSubNum.m | .m | Person-Specific-FAS-master/replay-attack/Test_Models/plot_HTERs_withSubNum.m | 3,023 | utf_8 | ac71cac00e9e5dfbe9b5a49d4b25efdc | Feat_Names = {'MsLBP' 'HOG'};
Methods_Generic = {'NULL' 'PCA' 'CS' 'OLS' 'PLS'};
Methods_PS = {'PCA' 'CS' 'OLS' 'PLS'};
Perfs_Generic = cell(3, 5);
Perfs_PS = cell(3, 4);
SubIDs_train = Labels_train_SL.SubID_train;
SubIDs_devel = Labels_devel_SL.SubID_devel;
SubIDs_test = Labels_test_SL.SubID_test;
SubIDs = [Su... |
github | jwyang/Person-Specific-FAS-master | train_PSModels_fusion_specific_quality.m | .m | Person-Specific-FAS-master/casia-fasd/Train Models/train_PSModels_fusion_specific_quality.m | 11,653 | utf_8 | 4bf2529b51bf0f520e025527677ef37d | function train_PSModels_fusion_specific_quality(Feats_train_SL, Labels_train_SL, Feats_test_SL, Labels_test_SL, Feat_Type, Quality_Type, method)
%TRAIN_PSMODELS Summary of this function goes here
% Function: train person-specific face anti-spoofing classifiers for both source subjects and target subjects
% Detailed... |
github | jwyang/Person-Specific-FAS-master | train_PSModels_fusion_withSubNum_specific_quality.m | .m | Person-Specific-FAS-master/casia-fasd/Train Models/train_PSModels_fusion_withSubNum_specific_quality.m | 11,426 | utf_8 | 43a1a96894348bb1bbcfe288de348824 | function train_PSModels_fusion_withSubNum_specific_quality(Feats_train_SL, Labels_train_SL, Feats_test_SL, Labels_test_SL, Feat_Type, Quality_Type, method)
%TRAIN_PSMODELS Summary of this function goes here
% Function: train person-specific face anti-spoofing classifiers for both source subjects and target subjects
%... |
github | jwyang/Person-Specific-FAS-master | train_PSModels_specific_quality.m | .m | Person-Specific-FAS-master/casia-fasd/Train Models/train_PSModels_specific_quality.m | 11,851 | utf_8 | 16cfb0ac7978a1aa28010c81e714b9df | function train_PSModels_specific_quality(Feats_train_SL, Labels_train_SL, Feats_test_SL, Labels_test_SL, Feat_Type, Quality_Type, method)
%TRAIN_PSMODELS Summary of this function goes here
% Function: train person-specific face anti-spoofing classifiers for both source subjects and target subjects
% Detailed explan... |
github | jwyang/Person-Specific-FAS-master | TargetDA_PCA_withSubNum.m | .m | Person-Specific-FAS-master/casia-fasd/Domain_Adaptation/TargetDA_PCA_withSubNum.m | 9,172 | utf_8 | 0c5225289b563b9099505919e7ef5589 | function TargetDA_PCA_withSubNum(Feats_train_SL, Labels_train_SL, Feats_test_SL, Labels_test_SL, Feat_Type, QualityType, method)
%TARGETDA Summary of this function goes here
% Function: Conduct target domain adaptation
% Detailed explanation goes here
% Input:
% Feats_train_SL: feature set of first 20 subj... |
github | jwyang/Person-Specific-FAS-master | TargetDA_PCA.m | .m | Person-Specific-FAS-master/casia-fasd/Domain_Adaptation/TargetDA_PCA.m | 9,175 | utf_8 | 10d9d03660109df1f569247ea460e96e | function TargetDA_PCA(Feats_train_SL, Labels_train_SL, Feats_test_SL, Labels_test_SL, Feat_Type, QualityType, method)
%TARGETDA Summary of this function goes here
% Function: Conduct target domain adaptation
% Detailed explanation goes here
% Input:
% Feats_train_SL: feature set of first 20 subjects
% ... |
github | jwyang/Person-Specific-FAS-master | plot_ROCs.m | .m | Person-Specific-FAS-master/casia-fasd/Test_Models/plot_ROCs.m | 4,089 | utf_8 | 11cd5c03a4fd5077dce7b3347a73d9b2 | function plot_ROCs
Feat_Names = {'MsLBP' 'HOG' 'MsLBP_HOG'};
Methods_Generic = {'NULL' 'PCA' 'CS' 'OLS' 'PLS'};
Methods_PS = {'PCA' 'CS' 'OLS' 'PLS'};
Methods_FAS = {'CS' 'OLS' 'PLS'};
Perfs_Generic = cell(3, 5);
Perfs_PS = cell(3, 4);
Perfs_FAS = cell(2, 3);
for t = 1:length(Feat_Names)
for m = 1:length(Methods... |
github | jwyang/Person-Specific-FAS-master | plot_HTERs_withSubNum.m | .m | Person-Specific-FAS-master/casia-fasd/Test_Models/plot_HTERs_withSubNum.m | 2,303 | utf_8 | 2e2dc79bce6da3fa02c11827b1fc37b8 | function plot_HTERs_withSubNum
Feat_Names = {'MsLBP' 'HOG'};
Methods_Generic = {'NULL' 'PCA' 'CS' 'OLS' 'PLS'};
Methods_PS = {'PCA' 'CS' 'OLS' 'PLS'};
Perfs_Generic = cell(3, 5);
Perfs_PS = cell(3, 4);
for t = 1:length(Feat_Names)
for m = 1:length(Methods_Generic)
Perfs_Generic{t, m} = load(strcat('Gene... |
github | aether-lab/prana-master | selfcalprana.m | .m | prana-master/selfcalprana.m | 203,894 | utf_8 | fb208fcb80960b0ba29fc56c265c96b8 | function varargout = selfcalprana(varargin)
% HELP TEXT for running selfcalprana from the command line goes here.
% This file is part of prana, an open-source GUI-driven program for
% calculating velocity fields using PIV or PTV.
%
% Copyright (C) 2014 Virginia Polytechnic Institute and State
% Univer... |
github | aether-lab/prana-master | prana.m | .m | prana-master/prana.m | 232,125 | utf_8 | 95f28c5a008849ba7eefbb95e09f7941 | function varargout = prana(varargin)
% HELP TEXT for running prana from the command line goes here.
%
% This file is part of prana, an open-source GUI-driven program for
% calculating velocity fields using PIV or PTV.
%
% Copyright (C) 2010-2014 Virginia Polytechnic Institute and State
% University
%
... |
github | aether-lab/prana-master | imagedewarp.m | .m | prana-master/imagedewarp.m | 23,059 | utf_8 | 2613507f572bc738111826b377988731 | function [outputdirlist,dewarp_grid,scaling]=imagedewarp(caldata,dewarpmethod,imagelist,vectorlist)
%This code dewarps the images or vector grid depending on the
%reconstruction type and outputs the dewarped common grid coordinates and
%the modified magnification or scaling
%Inputs:-
%caldata=structure containing ... |
github | aether-lab/prana-master | prana_LayoutFcn.m | .m | prana-master/prana_LayoutFcn.m | 166,754 | utf_8 | 9277d315e5c90ae8467f121a15bd8ccb | function prana_fig = prana_LayoutFcn(policy)
% --- Creates and returns a handle to the GUI figure.
% policy - create a new figure or use a singleton. 'new' or 'reuse'.
% This file is part of prana, an open-source GUI-driven program for
% calculating velocity fields using PIV or PTV.
%
% Copyright 2015. L... |
github | aether-lab/prana-master | selfcalibration_main.m | .m | prana-master/selfcalibration_main.m | 20,617 | utf_8 | 87523471ad3a900107fe9dd7434e4022 | function [caldatamod]=selfcalibration_main(caldata,selfcaljob)
%THis function does self calibration and corrects for any disparity between
%two camera images and the existing calibration
%
%INPUTS
%
%caldata is a structure containing the world and image coordinates
%selected during calibration and also the calib... |
github | aether-lab/prana-master | subpixel.m | .m | prana-master/subpixel.m | 18,949 | utf_8 | 9113ea6a05c200669f5d7bb53b60c92d | function [u,v,M,D,DX, DY, PEAK_ANGLE, PEAK_ECCENTRICITY] = subpixel(...
SPATIAL_CORRELATION_PLANE,...
CORRELATION_WIDTH, CORRELATION_HEIGHT, WEIGHTING_MATRIX, ...
PEAK_FIT_METHOD, FIND_MULTIPLE_PEAKS, PARTICLE_DIAMETER_2D)
%
% Copyright (C) 2012 Virginia Polytechnic Institute and State
% University... |
github | aether-lab/prana-master | calibration_point_select.m | .m | prana-master/calibration_point_select.m | 20,410 | utf_8 | db971a2601f4eaa8edbd3e5054e35a3c | function [newcontrolpts] = calibration_point_select(imgmat,data)
% This file is part of prana, an open-source GUI-driven program for
% calculating velocity fields using PIV or PTV.
%
% Copyright (C) 2014 Virginia Polytechnic Institute and State
% University
%
% Copyright 2014. Los Alamos Nation... |
github | aether-lab/prana-master | CROIEditor.m | .m | prana-master/CROIEditor.m | 19,682 | utf_8 | b3f5fe342fc7ece3ecab053c1ccc158f | classdef CROIEditor < handle
%% CROIEditor
%
% A Class with a convenient user interface to define multiple region of
% interest (ROI) on a given image.
% All the imroi tools (freehand, circle, rectangle, polygon) can be used
% to define these region(s).
%
% Loading and storing ... |
github | aether-lab/prana-master | imagedewarp_v2.m | .m | prana-master/imagedewarp_v2.m | 16,214 | utf_8 | 1d95e7a720dc3ce8734a461ea0e2f810 | function [outputdirlist,dewarp_grid,scaling]=imagedewarp_v2(caldata,dewarpmethod,imagelist,vectorlist)
% This file is part of prana, an open-source GUI-driven program for
% calculating velocity fields using PIV or PTV.
%
% Copyright (C) 2014 Virginia Polytechnic Institute and State
% University
%
% ... |
github | aether-lab/prana-master | imagedewarp_predefined_grid.m | .m | prana-master/imagedewarp_predefined_grid.m | 20,029 | utf_8 | 4ade0b13039821e09cfb1009d22c63c1 | function [outputdirlist,dewarp_grid,scaling]=imagedewarp_predefined_grid(caldata,dewarpmethod,imagelist,vectorlist,xingrid,yingrid,pranagridbuffer)
%This code dewarps the images or vector grid depending on the
%reconstruction type and outputs the dewarped common grid coordinates and
%the modified magnification or sc... |
github | aether-lab/prana-master | camera_calibration_new.m | .m | prana-master/camera_calibration_new.m | 59,521 | utf_8 | b1aa06f95862b49a628a7914482d0ec4 | function [calibration_data,calibration_plane_data]=camera_calibration_new(InputJobFile)
% This function is used to generate a set of calibration coordinates from
% the stereo calibration plate of the form
%
% x = f(X,Y,Z)
% y = g(X,Y,Z)
%
% where (X,Y,Z) are the lab reference frame world coordinates (defined by
% the... |
github | aether-lab/prana-master | prana_SPIV.m | .m | prana-master/prana_SPIV.m | 37,555 | utf_8 | f3985e3b03b3a3ee8bc5c99911b8c687 | function varargout = prana_SPIV(varargin)
% PRANA_SPIV M-file for prana_SPIV.fig
% PRANA_SPIV, by itself, creates a new PRANA_SPIV or raises the existing
% singleton*.
%
% H = PRANA_SPIV returns the handle to a new PRANA_SPIV or the handle to
% the existing singleton*.
%
% PRANA_SPIV('C... |
github | robertcastle/dtslam-master | SuiteSparse_install.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/SuiteSparse_install.m | 10,682 | utf_8 | a6cc3646e27ade29595f599564563121 | function 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.
%
% Packages in SuiteSparse:
%
% UMFPACK sparse LU factorization (multifrontal)
% CHOLMOD sparse Cholesky factorization, and many... |
github | robertcastle/dtslam-master | colamd_test.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/COLAMD/MATLAB/colamd_test.m | 11,856 | utf_8 | 80492506a249323ec12105938fbf6b05 | 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 | robertcastle/dtslam-master | ccolamd_test.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CCOLAMD/MATLAB/ccolamd_test.m | 11,944 | utf_8 | ab91fed9a7d6b40fa30544983b26cc7f | 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 | robertcastle/dtslam-master | klu_make.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/KLU/MATLAB/klu_make.m | 11,446 | utf_8 | b3ce21f8b71e45a67791613d6b87ef1b | function klu_make
%KLU_MAKE compiles the KLU mexFunctions
%
% Example:
% klu_make
%
% KLU relies on AMD, COLAMD, and BTF for its ordering options, and can
% optionally use CHOLMOD, CCOLAMD, CAMD, and METIS as well. METIS must
% be placed in ../../metis-4.0 alongside KLU, or it will not be used.
% See http://www-user... |
github | robertcastle/dtslam-master | cs_make.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CSparse/MATLAB/CSparse/cs_make.m | 7,584 | utf_8 | 65750efe5d8e8da9142d05f011329abc | 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 | robertcastle/dtslam-master | mynormest1.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CSparse/MATLAB/Test/mynormest1.m | 1,823 | utf_8 | 498867603aa6f94006efba4558a609f9 | 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-2012, Timothy A. Davis, http://www.suitesparse.com
n = size (L,1) ;
est = 0 ;
S = zeros (n,1) ;
for k = 1:5
if k == 1
... |
github | robertcastle/dtslam-master | testall.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CSparse/MATLAB/Test/testall.m | 1,539 | utf_8 | d7a3dc46930a9735cd378923039b397e | function testall
%TESTALL test all CSparse functions (run tests 1 to 28 below)
%
% Example:
% testall
% See also: cs_demo
% Copyright 2006-2012, Timothy A. Davis, http://www.suitesparse.com
h = waitbar (0, 'CSparse') ;
cs_test_make % compile all CSparse, Demo, Text, and Test mexFunctions
ntests = 28 ;
tes... |
github | robertcastle/dtslam-master | umfpack_make.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/MATLAB/umfpack_make.m | 17,163 | utf_8 | 25e1a37d60633ff7c283f5814a9c1546 | function umfpack_make
%UMFPACK_MAKE to compile umfpack2 for use in MATLAB
%
% Compiles the umfpack2 mexFunction and then runs a simple demo.
%
% Example:
% umfpack_make
%
% UMFPACK relies on AMD and its own built-in version of COLAMD for its ordering
% options. The default is for UMFPACK to also use CHOLMOD, CCOLAMD... |
github | robertcastle/dtslam-master | umfpack_btf.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/MATLAB/umfpack_btf.m | 4,682 | utf_8 | 181c5297897418e5134603d7491796f7 | 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 | robertcastle/dtslam-master | cs_make_helper.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CXSparse_newfiles/MATLAB/CSparse/private/cs_make_helper.m | 8,195 | utf_8 | a2ee6ac2a233402e475055050216d2e1 | function [objfiles, timestamp_out] = cs_make_helper (f, docomplex)
%CS_MAKE_HELPER compiles CXSparse for use in MATLAB.
% Usage:
% [objfiles, timestamp] = cs_make (f, docomplex)
%
% With f=0, only those files needing to be
% compiled are compiled (like the Unix/Linux/GNU "make" command, but not
% requirin... |
github | robertcastle/dtslam-master | testall.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CXSparse_newfiles/MATLAB/Test/testall.m | 1,582 | utf_8 | 5051669de2774a8839c4fde5d6eda5fa | function testall
%TESTALL test all CSparse functions (run tests 1 to 28 below)
%
% Example:
% testall
% See also: cs_demo
% Copyright 2006-2012, Timothy A. Davis, http://www.suitesparse.com
h = waitbar (0, 'CXSparse') ;
cs_test_make % compile all CSparse, Demo, Text, and Test mexFunctions
ntests = 29 ;
te... |
github | robertcastle/dtslam-master | camd_demo.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CAMD/MATLAB/camd_demo.m | 3,267 | utf_8 | 27163850836e993567efd8afc2ec08d9 | 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, Patrick R. Amestoy, Iain S. Duff, and Y. Chen.
% This orders the same matrix as the ANSI C demo, camd_demo.c. It includes an
... |
github | robertcastle/dtslam-master | cs_make_helper.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CXSparse/MATLAB/CSparse/private/cs_make_helper.m | 8,195 | utf_8 | a2ee6ac2a233402e475055050216d2e1 | function [objfiles, timestamp_out] = cs_make_helper (f, docomplex)
%CS_MAKE_HELPER compiles CXSparse for use in MATLAB.
% Usage:
% [objfiles, timestamp] = cs_make (f, docomplex)
%
% With f=0, only those files needing to be
% compiled are compiled (like the Unix/Linux/GNU "make" command, but not
% requirin... |
github | robertcastle/dtslam-master | mynormest1.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CXSparse/MATLAB/Test/mynormest1.m | 1,823 | utf_8 | 498867603aa6f94006efba4558a609f9 | 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-2012, Timothy A. Davis, http://www.suitesparse.com
n = size (L,1) ;
est = 0 ;
S = zeros (n,1) ;
for k = 1:5
if k == 1
... |
github | robertcastle/dtslam-master | testall.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CXSparse/MATLAB/Test/testall.m | 1,582 | utf_8 | 5051669de2774a8839c4fde5d6eda5fa | function testall
%TESTALL test all CSparse functions (run tests 1 to 28 below)
%
% Example:
% testall
% See also: cs_demo
% Copyright 2006-2012, Timothy A. Davis, http://www.suitesparse.com
h = waitbar (0, 'CXSparse') ;
cs_test_make % compile all CSparse, Demo, Text, and Test mexFunctions
ntests = 29 ;
te... |
github | robertcastle/dtslam-master | cholmod_make.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CHOLMOD/MATLAB/cholmod_make.m | 10,757 | utf_8 | 85d3dcf6c56535cffa5e68f8b9b43d96 | function cholmod_make
%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 directory (METI... |
github | robertcastle/dtslam-master | graph_demo.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CHOLMOD/MATLAB/graph_demo.m | 2,371 | utf_8 | b3cc2b809664a7516b370cc53c5a276c | 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 | robertcastle/dtslam-master | cholmod_demo.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CHOLMOD/MATLAB/cholmod_demo.m | 3,469 | utf_8 | 63291ab0ec06fffb4beab8f17dd9398b | 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 | robertcastle/dtslam-master | test15.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CHOLMOD/MATLAB/Test/test15.m | 3,742 | utf_8 | 96ae66705460a5eb92dd8fb4b8432753 | function test15 (nmat)
%TEST15 test symbfact2 vs MATLAB
% Example:
% test15(nmat)
% See also cholmod_test
% Copyright 2007, Timothy A. Davis, http://www.suitesparse.com
fprintf ('=================================================================\n');
index = UFget ;
% only test matrices with nrows = 109000 or less... |
github | robertcastle/dtslam-master | test26.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/CHOLMOD/MATLAB/Test/test26.m | 1,919 | utf_8 | a7d810be953a4284b425605290b47e87 | function test26 (do_metis)
%TEST26 test logical full and sparse matrices
% Example:
% test26
% See also cholmod_test
% Copyright 2007, Timothy A. Davis, http://www.suitesparse.com
fprintf ('=================================================================\n');
fprintf ('test26: test logical full and sparse matrices... |
github | robertcastle/dtslam-master | pagerankdemo.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/MATLAB_Tools/pagerankdemo.m | 6,278 | utf_8 | 93aad7e56938d6a2ba074e9e1e82dbd7 | 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 | robertcastle/dtslam-master | gipper.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/MATLAB_Tools/gipper.m | 7,409 | utf_8 | 763bb8dd1b94186915f79504621cbe81 | 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 | robertcastle/dtslam-master | cod_sparse.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/MATLAB_Tools/Factorize/cod_sparse.m | 6,815 | utf_8 | 1a4ce0b1b8b582cce43c74ce5ac13213 | function [U, R, V, r] = cod_sparse (A, arg)
%COD_SPARSE complete orthogonal decomposition of a sparse matrix A = U*R*V'
%
% [U, R, V, r] = cod_sparse (A)
% [U, R, V, r] = cod_sparse (A, opts)
%
% The sparse m-by-n matrix A is factorized into U*R*V' where R is m-by-n and
% all zero except for R(1:r,1:r), which is up... |
github | robertcastle/dtslam-master | factorize.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/MATLAB_Tools/Factorize/factorize.m | 11,934 | utf_8 | 21103fa9cb25c81819412ac23dcf8b00 | function F = factorize (A,strategy,burble)
%FACTORIZE an object-oriented method for solving linear systems
% and least-squares problems, and for representing operations with the
% inverse of a square matrix or the pseudo-inverse of a rectangular matrix.
%
% F = factorize(A) returns an object F that holds the factorizat... |
github | robertcastle/dtslam-master | factorization.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/MATLAB_Tools/Factorize/factorization.m | 26,728 | utf_8 | 55ffea84aab117fa3c5b7553af5c25be | classdef factorization
%FACTORIZATION a generic matrix factorization object
% Normally, this object is created via the F=factorize(A) function. Users
% do not need to use this method directly.
%
% This is an abstract class that is specialized into 13 different kinds of
% matrix factorizations:
%
% factorization_chol... |
github | robertcastle/dtslam-master | test_factorize.m | .m | dtslam-master/3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/MATLAB_Tools/Factorize/Test/test_factorize.m | 14,450 | utf_8 | 9ac6e99f0fe01b551b2aa0cbdbdc17ed | function err = test_factorize (A, strategy)
%TEST_FACTORIZE test the accuracy of the factorization object
%
% Example
% test_factorize (A) ; % where A is square or rectangular, sparse or dense
% test_factorize (A, strategy) ; % forces a particular strategy;
% % works only if the matrix... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.