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
microsoft/ADBench-master
adimat_opdiff_sol_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_sol_right.m
659
utf_8
619cda293a429c3debd8fd7a334625da
% function r = adimat_opdiff_sol_right(g_val1, val1, val2) % % Copyright 2010,2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_sol_right(g_val1, val1, val2) if isscalar(val1) ...
github
microsoft/ADBench-master
adimat_opdiff_mult_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_mult_right.m
728
utf_8
4b44ec7a8919efaf6adb93f9f0d726a3
% function r = adimat_opdiff_mult_right(t_val1, val1, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_mult_right(t_val1, val1, val2) if isscalar(val1)...
github
microsoft/ADBench-master
t_zeros.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/t_zeros.m
1,049
utf_8
4b685c365133070967521f7c772f0b83
% function t_z = t_zeros(aval) % % Create zero derivatives of input argument, with the number of % derivative components given by option('ndd') % % see also option, createFullGradients % % Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % This code is under devel...
github
microsoft/ADBench-master
adimat_taylor_exps.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_taylor_exps.m
1,036
utf_8
2b59daf77a1afe7c55228c90c00d2bf6
% function [t_exp expx] = adimat_taylor_exps(t_x, x, mode) % % Compute taylor coefficients of functions exp, pow2, and expm1. % % see also admTaylorFor % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % function [t_exp expx] = adimat_taylor_exps(t_x, x, mode) ...
github
microsoft/ADBench-master
adimat_opdiff_trans.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_trans.m
388
utf_8
54b5306be196437948d1f332858e3932
% function t_res = adimat_opdiff_trans(t_val, val) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_trans(t_val, val) t_res = permute(conj(t_val), [1 2 4 3])...
github
microsoft/ADBench-master
d_cell.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/d_cell.m
402
utf_8
f1348a98af1b910728d02f0476beccd9
% function res = d_cell(val) % Create zero derivative object of cell arrays % % see also d_zeros, d_struct % % This file is part of the ADiMat runtime environment % function res = d_cell(val) res = cell(size(val)); for i=1:numel(val) if isfloat(val{i}) || isstruct(val{i}) || iscell(val{i}) res{i} = d_ze...
github
microsoft/ADBench-master
d_zerosv.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/d_zerosv.m
593
utf_8
24b8ddc8dcfd5e91a5ac5674da92d84f
% function varargout = d_zerosv(varargin) % % Create zero derivatives of input arguments, with the number of % derivative components given by option('ndd') % % see also d_zeros, option, createFullGradients % % Copyright 2010-2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. ...
github
microsoft/ADBench-master
adimat_taylor_sincos.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_taylor_sincos.m
1,047
utf_8
7e886e6d10a1c043a1a54a0383cbf648
% function [t_sin sinx t_cos cosx] = adimat_taylor_sincos(t_x, x) % % Compute taylor coefficients of sin(x) and cos(x) simultaneously. % % see also admTaylorFor % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % function [t_sin sinx t_cos cosx] = adimat_taylor...
github
microsoft/ADBench-master
adimat_opdiff_emult.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_emult.m
1,124
utf_8
2096497a93dcf3504c59c9914f6f3318
% function t_res = adimat_opdiff_emult(t_val1, val1, t_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function [t_res res] = adimat_opdiff_emult(t_val1, val1, t_val2, val2) [...
github
microsoft/ADBench-master
createSeededGradientsFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/createSeededGradientsFor.m
1,965
utf_8
de7c4dc49d82c89d923adf694e435da3
% function varargout = createSeededGradientsFor(maxOrder, seedMatrix, varargin) % % see also createFullGradients, createSeededGradientsRev % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009-2012 Johannes Willkomm, Institute for Scientific Co...
github
microsoft/ADBench-master
adimat_opdiff_sol.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_sol.m
555
utf_8
8abb43ddb1b315ba3fdaade4e7e39eef
% function r = adimat_opdiff_sol(t_val1, val1, t_val2, val2) % % Copyright 2010,2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function [t_res res] = adimat_opdiff_sol(t_val1, val1, t_val2, val2) if i...
github
microsoft/ADBench-master
adimat_opdiff_esol.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_esol.m
404
utf_8
f38290ee72dbf14f0f954e11e3db1613
% function r = adimat_opdiff_esol(t_v1, v1, t_v2, v2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_esol(t_v1, v1, t_v2, v2) t_res = adimat_opdiff_ediv(t_...
github
microsoft/ADBench-master
adimat_opdiff_subsasgn.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_subsasgn.m
1,923
utf_8
1e4af30137c187117e6482f939edc1d2
% % function r = adimat_opdiff_subsasgn(d_val, sel, rhs) % % Copyright 2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_subsasgn(d_val, sel, rhs) last = sel(end); r = d_val;...
github
microsoft/ADBench-master
adimat_derivclass_version_local.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_derivclass_version_local.m
560
utf_8
6e7928516558a611bfc9ad55d9a8da64
% function [dcv dck] = adimat_derivclass_version_local() % get the version and revision of the derivative class ADiMat % dcv - derivative class version number: a double value % dck - derivative class name and version string % % Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
adimat_opdiff_pow_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_pow_left.m
1,429
utf_8
7a14d2f6687d0aa3cd2874fd04fbd562
% function r = adimat_diff_pow_left(val1, g_val2, val2) % % Copyright 2010,2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_pow_left(val1, g_val2, val2) if isscalar(val1) && iss...
github
microsoft/ADBench-master
option.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/option.m
1,706
utf_8
97bb364842dfff39a7ffa51d2ccd9905
% function r = option(name, val?) % This function manages options of the vector_directderivs % derivative objects. Options can be queried using % option(name). Options can be set using option(name, value). When % setting an option the previous value will be returned. % % option('order') % option('order', ne...
github
microsoft/ADBench-master
adimat_opdiff_div_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_div_left.m
650
utf_8
c6767635079a449de3c2d7604436c424
% function r = adimat_opdiff_div_left(val1, g_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_div_left(val1, g_val2, val2) if isscalar(val1) || issc...
github
microsoft/ADBench-master
adimat_opdiff_sum.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_sum.m
812
utf_8
6dbbb37a47a48915cd861553f7e113bd
% % function r = adimat_opdiff_sum(g_v1, g_v2, ...) % % Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_sum(varargin) ndd = size(varargin{1}, 1); nargs = nargin; ...
github
microsoft/ADBench-master
adimat_opdiff_mult_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_mult_left.m
732
utf_8
4f38ae4c02824ef405d079b18d407d8c
% function r = adimat_diff_mult_left(val1, t_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_mult_left(val1, t_val2, val2) if isscalar(val1) || ...
github
microsoft/ADBench-master
createFullGradients.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/createFullGradients.m
866
utf_8
a99ca99b2a402a9a61bc095803dccbbe
% function [varargout]= createFullGradients(maxOrder, varargin) % % see also d_zeros, option, createSeededGradientsFor % % Copyright 2009-2012 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2008 Andre Vehreschild, Institute for Scientific Computing % RWTH Aachen Univers...
github
microsoft/ADBench-master
createZeroGradients.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/createZeroGradients.m
1,499
utf_8
cf403ce1b43ac03283a9f43716ab95f4
% function [varargout]= createZeroGradients(maxOrder, ndd, varargin) % % Save the number maxOrder with option('order', maxOrder) and the % number ndd with option('ndd', ndd) and create a zero gradient object % for each input argument, using d_zeros. % % see also d_zeros, createFullGradients, createSeededGradientsFor % ...
github
microsoft/ADBench-master
adimat_opdiff_ediv_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_ediv_right.m
718
utf_8
c78f5b0610c5bd2c740c77c927f593f8
% function r = adimat_opdiff_ediv_right(t_val1, val1, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_ediv_right(t_val1, val1, val2) if isscalar(val2) ...
github
microsoft/ADBench-master
adimat_opdiff_esol_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_esol_left.m
425
utf_8
0ed29fac7b79a09248e90ba8f12266e3
% function r = adimat_opdiff_esol_left(val1, g_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_esol_left(val1, t_val2, val2) t_res = adimat_opdi...
github
microsoft/ADBench-master
adimat_opdiff_etrans.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_etrans.m
385
utf_8
814b986ddbb9bcee5701667fd19aea7d
% function t_res = adimat_opdiff_etrans(t_val, val) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_etrans(t_val, val) t_res = permute(t_val, [1 2 4 3]); % ...
github
microsoft/ADBench-master
adimat_opdiff_emult_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_emult_right.m
777
utf_8
d06535d3f8bcece2101e4669da3a2010
% function r = adimat_opdiff_emult_right(val1, t_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_emult_right(t_val1, val1, val2) if isscalar(val...
github
microsoft/ADBench-master
adimat_opdiff_epow_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_epow_left.m
513
utf_8
3ae35a2e32b9656376dcf27c732a56f3
% function t_res = adimat_opdiff_epow_left(val1, t_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function t_res = adimat_opdiff_epow_left(val1, t_val2, val2) % compute a.^x ...
github
microsoft/ADBench-master
adimat_opdiff_subsref.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_subsref.m
1,044
utf_8
1307a742dfb82ae4e15bf6026b2785e1
% % function r = adimat_diff_subsref(d_val, sel) % % Copyright 2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_subsref(d_val, sel) r = d_val; last = sel(end); if last.typ...
github
microsoft/ADBench-master
adimat_opdiff_ediv.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_ediv.m
473
utf_8
741917960ba728f9d2ac578f9300519c
% function r = adimat_opdiff_ediv(t_v1, v1, t_v2, v2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function [t_res res] = adimat_opdiff_ediv(t_v1, v1, t_v2, v2) [t_v2i v2i] = adimat_ta...
github
microsoft/ADBench-master
adimat_opdiff_emult_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_emult_left.m
827
utf_8
8a061b8770aaa2fd4640028831da5db6
% function r = adimat_opdiff_emult_left(val1, t_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function [t_res res] = adimat_opdiff_emult_left(val1, t_val2, val2) if isscalar...
github
microsoft/ADBench-master
adimat_opdiff_div.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_div.m
681
utf_8
09fb9bedfe0a81e7f4cab222950e0c14
% function r = adimat_opdiff_div(t_val1, val1, t_val2, val2) % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function [t_res res] = adimat_opdiff_div(t_val1, val1, t_val2, val2) if isscal...
github
microsoft/ADBench-master
admTaylorArray.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/admTaylorArray.m
1,009
utf_8
55a1498339de79f1d26777025a04323e
% function T = admTaylorArray(varargin) % concatenate a number of derivative objects to a Jacobian matrix % % This file is part of the ADiMat runtime environment, and belongs % to the tvector_directderivs derivative "class". % % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % Copyright 200...
github
microsoft/ADBench-master
t_zeros_size.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/t_zeros_size.m
365
utf_8
262b5707f369fd22b371ad0b1e96e8f5
% function t_z = t_zeros_size(sz) % % Return zero taylor coefficients of size sz. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % function t_z = t_zeros_size(sz) ndd = option('ndd'); nord = option('order'); t_z = zeros([ndd nord sz]); % $Id: t_zeros...
github
microsoft/ADBench-master
adimat_opdiff_pow_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_opdiff_pow_right.m
1,363
utf_8
6fc9aa3769758812b14c0198b7ba5d65
% function r = adimat_diff_pow_right(g_val1, val1, val2) % % Copyright 2010,2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_pow_right(g_val1, val1, val2) if isscalar(val1) && i...
github
microsoft/ADBench-master
adimat_taylor_invert.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/tvector_directderivs/adimat_taylor_invert.m
700
utf_8
8c8e0911dbf454d994c3b4342497976a
% function [t_inv inv] = adimat_taylor_invert(t_x, x) % % Compute taylor coefficients of 1 ./ x. % % see also admTaylorFor % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % function [t_inv inv] = adimat_taylor_invert(t_x, x) [ndd maxOrder nel] = size(t_x); ...
github
microsoft/ADBench-master
adimat_store.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/stacks/native-save/adimat_store.m
3,885
utf_8
d5fa7d19a55302211282a571483a787b
% function r = adimat_store(mode, v) % mode=0: pop value from stack % mode=1: store value on stack % mode=2: clear stack % mode=3: query stack size % mode=4: query reserved stack size % mode=5: flush the stack (N/A) % mode=6: return the file size of the stack (N/A) % mode=7: return the entire stack % ...
github
microsoft/ADBench-master
adimat_store.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/stacks/native-cell/adimat_store.m
1,893
utf_8
e29860226a5b9e1db600a7adfc250901
% function r = adimat_store(mode, v) % mode=0: pop value from stack % mode=1: store value on stack % mode=2: clear stack % mode=3: query stack size % mode=4: query reserved stack size % mode=5: flush the stack (N/A) % mode=6: return the file size of the stack (N/A) % mode=7: return the entire stack % % ...
github
microsoft/ADBench-master
adimat_store.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/stacks/native-null/adimat_store.m
686
utf_8
faf3fefdb20ae4b9da3f9792de20bf3b
% function r = adimat_store(mode, v) % % This implementation does nothing. % % see also adimat_push, adimat_pop, adimat_clear_stack, % adimat_stack_size, adimat_stack % % This file is part of the ADiMat runtime environment % function r = adimat_store(mode, v) persistent nitems r = 0; switch mode case 0, nite...
github
microsoft/ADBench-master
admHessianFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admHessianFor.m
910
utf_8
3567a991603302178cadd1cec4457714
% function T2 = admHessianFor(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2014 Johannes Willkomm % Copyright 2009-2012,2014 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute ...
github
microsoft/ADBench-master
createSeededGradientsRev.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/createSeededGradientsRev.m
1,249
utf_8
c215e65cb0272b2463415dbbffef1be7
% function varargout = createSeededGradientsRev(seedMatrix, varargin) % this simply calls createSeededGradientsFor(seedMatrix', varargin) % % see also createFullGradients, createSeededGradientsFor % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyri...
github
microsoft/ADBench-master
admTaylor2For.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admTaylor2For.m
975
utf_8
79027d37eeeadb216da6cf1d0894d40d
% function HDiag = admTaylor2For(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
createSeededGradientsFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/createSeededGradientsFor.m
1,796
utf_8
79b07945e40d1df3899c5509c3f1c467
% function varargout = createSeededGradientsFor(seedMatrix, varargin) % % see also createFullGradients, createSeededGradientsRev % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
admJacFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admJacFor.m
844
utf_8
01d6eead3af797c468bb1c9f31e76da0
% function Jac = admJacFor(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2014 Johannes Willkomm % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute for Scie...
github
microsoft/ADBench-master
admComputeDerivFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admComputeDerivFor.m
3,731
utf_8
86aaf8dd136a673432cf7cdea3f57f38
% function [Jacobian, varargout] = ... % admComputeDerivFor(diffFunction, seedMatrix, ... % independents, dependents, fNargout, ... % admOpts, varargin) % % see also admDiffRev, admDiffVFor, admTransform, createFullGradients, % createSeededGradients, admJacFor, admOp...
github
microsoft/ADBench-master
admComputeDerivRev.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admComputeDerivRev.m
2,079
utf_8
a91bdb34884651087abbb1c1c97f8bb4
% function [Jacobian, varargout] = ... % admComputeDerivRev(diffFunction, seedMatrix, ... % independents, dependents, ... % functionResults, admOpts, varargin) % % see also admDiffFor, admDiffVFor, admTransform, createFullGradients, % createSeededGradients, admJac...
github
microsoft/ADBench-master
admJacRev.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admJacRev.m
859
utf_8
43d5b4eed5158c0a5f169c496fbf69ea
% function Jac = admJacRev(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
admComputeDerivFor2.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/admComputeDerivFor2.m
1,872
utf_8
bd61363a24880665a296a31c7be64199
% function [Hessian, Jacobian, varargout] = ... % admComputeDerivFor2(diffFunction, seedV, seedW, ... % independents, dependents, fNargout, varargin) % % Compute derivatives in second order FM with RE opt_derivclass or % opt_sp_derivclass. % % see also admDiffFor2, admOptions, adimat_derivc...
github
microsoft/ADBench-master
admGetDD.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/@adderivsp/admGetDD.m
492
utf_8
9703702a8cb57e01aa252f5fa911bce7
% ADDERIV/admGetDD % function dd = admGetDD(g_x, i) % % Return the i-th directional derivative of g_x. % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % TU Darmstad...
github
microsoft/ADBench-master
admSetDD.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/@adderivsp/admSetDD.m
481
utf_8
68a7a5dd742cc4afb401c98c7dd70a70
% ADDERIV/admSetDD % function g_x = admSetDD(g_x, i, dd) % % Set i-th directional derivative of g_x to data given by dd. % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
option.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_sp_derivclass/@adderivsp/private/option.m
1,921
utf_8
0ba617fe3ef2601ca1b7c88f9a505aae
function res= option(cmd, val) % ADDERIV/PRIVATE/OPTION -- Set and get options. % % Copyright 2003, 2004 Andre Vehreschild, Inst. f. Scientific Computing % This code is under development! Use at your own risk! Duplication, % modification and distribution FORBIDDEN! persistent options if isempty(options) options= c...
github
microsoft/ADBench-master
admHessianFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admHessianFor.m
910
utf_8
3567a991603302178cadd1cec4457714
% function T2 = admHessianFor(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2014 Johannes Willkomm % Copyright 2009-2012,2014 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute ...
github
microsoft/ADBench-master
createSeededGradientsRev.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/createSeededGradientsRev.m
1,249
utf_8
c215e65cb0272b2463415dbbffef1be7
% function varargout = createSeededGradientsRev(seedMatrix, varargin) % this simply calls createSeededGradientsFor(seedMatrix', varargin) % % see also createFullGradients, createSeededGradientsFor % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyri...
github
microsoft/ADBench-master
admTaylor2For.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admTaylor2For.m
864
utf_8
0afd0501cbfe5a66d50ded9b30c2e0b4
% function T2 = admTaylor2For(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009-2012 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
createSeededGradientsFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/createSeededGradientsFor.m
1,796
utf_8
79b07945e40d1df3899c5509c3f1c467
% function varargout = createSeededGradientsFor(seedMatrix, varargin) % % see also createFullGradients, createSeededGradientsRev % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
admJacFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admJacFor.m
844
utf_8
01d6eead3af797c468bb1c9f31e76da0
% function Jac = admJacFor(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2014 Johannes Willkomm % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute for Scie...
github
microsoft/ADBench-master
getdd.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/getdd.m
397
utf_8
f810ac594b89e13f5c1aa388eaf4815d
% % function [derivative] = getdd(obj, index) % get the derivative directions ind from derivative object obj % % Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function varargout = getdd(obj...
github
microsoft/ADBench-master
admComputeDerivFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admComputeDerivFor.m
3,731
utf_8
86aaf8dd136a673432cf7cdea3f57f38
% function [Jacobian, varargout] = ... % admComputeDerivFor(diffFunction, seedMatrix, ... % independents, dependents, fNargout, ... % admOpts, varargin) % % see also admDiffRev, admDiffVFor, admTransform, createFullGradients, % createSeededGradients, admJacFor, admOp...
github
microsoft/ADBench-master
admComputeDerivRev.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admComputeDerivRev.m
2,079
utf_8
a91bdb34884651087abbb1c1c97f8bb4
% function [Jacobian, varargout] = ... % admComputeDerivRev(diffFunction, seedMatrix, ... % independents, dependents, ... % functionResults, admOpts, varargin) % % see also admDiffFor, admDiffVFor, admTransform, createFullGradients, % createSeededGradients, admJac...
github
microsoft/ADBench-master
admJacRev.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admJacRev.m
859
utf_8
43d5b4eed5158c0a5f169c496fbf69ea
% function Jac = admJacRev(varargin) % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2009 Andre Vehreschild, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
admComputeDerivFor2.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/admComputeDerivFor2.m
1,872
utf_8
bd61363a24880665a296a31c7be64199
% function [Hessian, Jacobian, varargout] = ... % admComputeDerivFor2(diffFunction, seedV, seedW, ... % independents, dependents, fNargout, varargin) % % Compute derivatives in second order FM with RE opt_derivclass or % opt_sp_derivclass. % % see also admDiffFor2, admOptions, adimat_derivc...
github
microsoft/ADBench-master
toStruct.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/@adderiv/toStruct.m
303
utf_8
d82b59de8c76f1efb7525c4a7114c598
% This file is part of the ADiMat runtime environment % % Copyright 2014 Johannes Willkomm % function res = toStruct(obj) res.deriv = obj.deriv; res.dims = obj.dims; res.ndd = obj.ndd; res.left = obj.left; res.className = 'adderiv'; end % $Id: toStruct.m 3862 2013-09-19 10:50:56Z willkomm $
github
microsoft/ADBench-master
cross.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/@adderiv/cross.m
297
utf_8
cf7f5ff467b69a5f7282aecaf3707c56
% @adderiv/cross % function obj = cross(a, b, dim) % % Compute cross product. % % This file is part of the ADiMat runtime environment. % % Copyright (c) 2016 Johannes Willkomm function obj = cross(a, b, dim) if nargin < 3 dim = find(size(a) == 3); end obj = call(@cross, a, b, dim); end
github
microsoft/ADBench-master
length.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/@adderiv/length.m
519
utf_8
445c37d7e15d4a5f9a65975464e5b405
%ADDERIV/LENGTH Get the length of object that the derivative is associated with. % % This function returns max(size(g)) % % see also adderiv/size % % Copyright 2009 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-2008 Andre Vehreschild, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
admGetDD.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/@adderiv/admGetDD.m
492
utf_8
9703702a8cb57e01aa252f5fa911bce7
% ADDERIV/admGetDD % function dd = admGetDD(g_x, i) % % Return the i-th directional derivative of g_x. % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % TU Darmstad...
github
microsoft/ADBench-master
admSetDD.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/@adderiv/admSetDD.m
481
utf_8
68a7a5dd742cc4afb401c98c7dd70a70
% ADDERIV/admSetDD % function g_x = admSetDD(g_x, i, dd) % % Set i-th directional derivative of g_x to data given by dd. % % This file is part of the ADiMat runtime environment, and belongs % to the opt_derivclass derivative class. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % ...
github
microsoft/ADBench-master
option.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/opt_derivclass/@adderiv/private/option.m
1,917
utf_8
77a4468f4b1b9002d1dc69b0a27dfc60
function res= option(cmd, val) % ADDERIV/PRIVATE/OPTION -- Set and get options. % % Copyright 2003, 2004 Andre Vehreschild, Inst. f. Scientific Computing % This code is under development! Use at your own risk! Duplication, % modification and distribution FORBIDDEN! persistent options if isempty(options) options= c...
github
microsoft/ADBench-master
adimat_opdiff_esol_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_esol_right.m
436
utf_8
a4710b19f129d9810560940586a10d59
% function d_res = adimat_opdiff_esol_right(d_val1, val1, val2) % % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_res = adimat_opdiff_esol_right(d_val1, val1, val2) d_res = ...
github
microsoft/ADBench-master
adimat_opdiff_epow_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_epow_right.m
776
utf_8
84177cc862837dd3df1743d50a15e503
% function d_res = adimat_opdiff_epow_right(d_val1, val1, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_val1 = adimat_opdiff_epow_...
github
microsoft/ADBench-master
d_zeros_size.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/d_zeros_size.m
453
utf_8
e71aac6b55ad865dce389696d1082878
% Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % This code is under development! Use at your own risk! Duplication, % modification and distribution FORBIDDEN! function d_z = d_zeros_size(sz) ndd = option('ndd'); if isempty(ndd) warning('adimat:vect...
github
microsoft/ADBench-master
adimat_opdiff_mult.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_mult.m
661
utf_8
04cda217494fd95a40936da9b9f78672
% function d_res = adimat_opdiff_mult(g_val1, val1, g_val2, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_val1 = adimat_opdiff_mul...
github
microsoft/ADBench-master
adimat_opdiff_div_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_div_right.m
739
utf_8
cbd6ec846cd9551bf7b262f7d8b7f8f8
% function d_res = adimat_opdiff_div_right(g_val1, val1, val2) % % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_res = adimat_opdiff_div_right(d_val1, val1, val2) szv2 = siz...
github
microsoft/ADBench-master
adimat_opdiff_sol_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_sol_left.m
570
utf_8
3050a25a20031e1abd7b7073fd613bc9
% function d_res = adimat_opdiff_sol_left(val1, d_val2, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment function d_val2 = adimat_opdiff_sol_left(...
github
microsoft/ADBench-master
adimat_opdiff_epow.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_epow.m
1,093
utf_8
1998ff30d097075f1da959b48c2ef499
% function d_res = adimat_opdiff_epow(d_val1, val1, d_val2, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_val1 = adimat_opdiff_epo...
github
microsoft/ADBench-master
adimat_rdivide_dv.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_rdivide_dv.m
525
utf_8
c02a4b94bfed4423a5652c728de9f391
% function d_res = adimat_rdivide_dv(d_A, B) % % Right divide derivative object d_A by array B. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % TU Darmstadt function d_res = adimat_rdivide_dv(d_A, B) sz1 = size(d_A); sz2 = size(B); if length(sz1) > 2 p = sz1(3...
github
microsoft/ADBench-master
d_zeros.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/d_zeros.m
926
utf_8
b0a3c46d6ec1985ef4c77757131fee1b
% function d_z = d_zeros(val) % % Create zero derivatives of input argument, with the number of % derivative components given by option('ndd') % % see also option, createFullGradients % % Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % This code is under develo...
github
microsoft/ADBench-master
d_struct.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/d_struct.m
657
utf_8
0e7296d9c5197d67180b23a06fa477b8
% function varargout = d_struct(varargin) % Create zero derivative object of struct objects % % see also d_zeros, a_struct % % This file is part of the ADiMat runtime environment % function varargout = d_struct(varargin) for i=1:nargin res = repmat(struct(), size(varargin{i})); fns = fieldnames(varargin{i})...
github
microsoft/ADBench-master
adimat_opdiff_ediv_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_ediv_left.m
527
utf_8
d070fc196a7cf6dafa8a79cf978b04d2
% function d_res = adimat_opdiff_ediv_left(val1, d_val2, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_val2 = adimat_opdiff_ediv_l...
github
microsoft/ADBench-master
adimat_opdiff_pow.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_pow.m
1,873
utf_8
bfc1c0ec6bb69f5296e11153f8ebb8e8
% function r = adimat_opdiff_pow(d_val1, val1, d_val2, val2) % % Copyright 2010,2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_pow(d_val1, val1, d_val2, val2) if isscalar(val1...
github
microsoft/ADBench-master
adimat_mldivide_vd.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_mldivide_vd.m
374
utf_8
d9f459bbc391b0c8756d28cd18c2b83a
% function d_res = adimat_mldivide_vd(A, d_B) % % Matrix left divide A by derivative object d_B. % % Copyright 2014 Johannes Willkomm function r = adimat_mldivide_vd(v, w) [~, n] = size(v); [ndd m p] = size(w); r = permute(reshape(v \ reshape(permute(w, [2 1 3]), [m ndd.*p]), [n ndd p]),[2,1,3]); end % $Id: adim...
github
microsoft/ADBench-master
adimat_opdiff_sol_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_sol_right.m
1,094
utf_8
ccc46af3ff044519a5378b01df0063ba
% function d_res = adimat_opdiff_sol_right(d_val1, val1, val2) % % This file is part of the ADiMat runtime environment % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University function d_val1 = adimat_opdiff_sol_righ...
github
microsoft/ADBench-master
adimat_opdiff_mult_right.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_mult_right.m
644
utf_8
ef70fee6f689151d00382888cd29188e
% function d_res = adimat_opdiff_mult_right(d_val1, val1, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment function d_val1 = adimat_opdiff_mult_ri...
github
microsoft/ADBench-master
adimat_mtimes_dv.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_mtimes_dv.m
547
utf_8
63da2850b763019f63ba4584bea21b15
% function d_res = adimat_mtimes_dv(d_A, B) % % Matrix multiply derivative object d_A times B. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % TU Darmstadt function d_res = adimat_mtimes_dv(d_A, B) sz1 = size(d_A); if length(sz1) > 2 p = sz1(3); else p = 1...
github
microsoft/ADBench-master
adimat_opdiff_trans.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_trans.m
408
utf_8
b523e1dbc97e63ca80e717e130f22c3e
% function d_res = adimat_opdiff_trans(d_val, val) % % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_res = adimat_opdiff_trans(d_val, ~) d_res = permute(adimat_diff_conj(d_v...
github
microsoft/ADBench-master
d_cell.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/d_cell.m
402
utf_8
f1348a98af1b910728d02f0476beccd9
% function res = d_cell(val) % Create zero derivative object of cell arrays % % see also d_zeros, d_struct % % This file is part of the ADiMat runtime environment % function res = d_cell(val) res = cell(size(val)); for i=1:numel(val) if isfloat(val{i}) || isstruct(val{i}) || iscell(val{i}) res{i} = d_ze...
github
microsoft/ADBench-master
d_zerosv.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/d_zerosv.m
593
utf_8
24b8ddc8dcfd5e91a5ac5674da92d84f
% function varargout = d_zerosv(varargin) % % Create zero derivatives of input arguments, with the number of % derivative components given by option('ndd') % % see also d_zeros, option, createFullGradients % % Copyright 2010-2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. ...
github
microsoft/ADBench-master
adimat_opdiff_emult.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_emult.m
567
utf_8
e9c8c65efd7954cf3943159bb6cfe4db
% function d_res = adimat_opdiff_emult(d_val1, val1, d_val2, val2) % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_val1 = adimat_opdiff_em...
github
microsoft/ADBench-master
adimat_fdiff_vunary_sexp.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_fdiff_vunary_sexp.m
973
utf_8
bb1c2a766662a976c8c8b1299df4c747
% function [d_res res] = adimat_fdiff_vunary_sexp(d_x, x, dpfun) % % Compute derivative d_res and function result res of unary vector % function whos diagonal partial derivative is returned by dpfun(x). % % This version of the function can also deal with scalar expansion, as % it happens for example with besselj(1:3, 0...
github
microsoft/ADBench-master
createSeededGradientsFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/createSeededGradientsFor.m
2,618
utf_8
d039aee67aa621c53c624e2ec1e16e17
% function varargout = createSeededGradientsFor(seedMatrix, varargin) % % Compute the number ndd = size(seedMatrix, 2) of derivative % directions and the total number t of components of all n input % arguments. Check that t == size(seedMatrix, 1). Create n gradient % objects where each leading dimension of float compon...
github
microsoft/ADBench-master
adimat_d_size.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_d_size.m
491
utf_8
32e11346d2c901082750f4d0cde2ecb0
% function sz = adimat_d_size(dval) % % Copyright 2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University. % This code is under development! Use at your own risk! Duplication, % modification and distribution FORBIDDEN! function sz = adimat_d_size(dval) sz = size(dval); sz = sz...
github
microsoft/ADBench-master
admJacFor.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/admJacFor.m
993
utf_8
2b8f0589c2ee570a81c2a2423b763ac4
% function Jac = admJacFor(varargin) % concatenate a number of derivative objects to a Jacobian matrix % % This file is part of the ADiMat runtime environment, and belongs % to the vector_directderivs derivative "class". % % Copyright 2009,2010 Johannes Willkomm, Institute for Scientific Computing % Copyright 2001-20...
github
microsoft/ADBench-master
adimat_opdiff_sol.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_sol.m
1,254
utf_8
f73738e221025f6f063edb82243d09ce
% function d_res = adimat_opdiff_sol(d_val1, val1, d_val2, val2) % % This file is part of the ADiMat runtime environment % % Copyright 2014 Johannes Willkomm % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University function d_val1 = adimat_opdiff_sol(d_...
github
microsoft/ADBench-master
adimat_opdiff_esol.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_esol.m
413
utf_8
4c0b881ce48b07f737b720217c897f7e
% function d_res = adimat_opdiff_esol(d_v1, v1, d_v2, v2) % % Copyright 2010-2012 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_res = adimat_opdiff_esol(d_v1, v1, d_v2, v2) d_res = adimat_opdif...
github
microsoft/ADBench-master
adimat_opdiff_subsasgn.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_subsasgn.m
3,288
utf_8
bb082e40cda5fc5be2c8af48229fa2d6
% function r = adimat_opdiff_subsasgn(d_val, sel, rhs) % % Copyright 2011,2014 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function d_val = adimat_opdiff_subsasgn(d_val, sel, rhs) last = sel(end); if ...
github
microsoft/ADBench-master
getdd.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/getdd.m
555
utf_8
085cafcf5484ae129e36d076c3c5267d
% % function [derivative] = getdd(obj, index) % get the derivative directions ind from derivative object obj % % Copyright 2010 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = getdd(obj, i) i...
github
microsoft/ADBench-master
adimat_mtimes_vd.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_mtimes_vd.m
532
utf_8
a3383732624bb732c4c06f248d786d9c
% function d_res = adimat_mtimes_vd(A, d_B) % % Matrix multiply A times derivative object d_B. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % TU Darmstadt function d_res = adimat_mtimes_vd(A, d_B) sz1 = size(A); sz2 = size(d_B); if length(sz2) < 3 sz2 = [sz2 ...
github
microsoft/ADBench-master
d_call.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/d_call.m
515
utf_8
b77e15e62589ec0d76ae910255a03304
% function [d_z z] = d_call(fun, d_a, a, ...) % % Apply function fun to derivative d_a, and also original object a. % % Copyright 2012 Johannes Willkomm, Institute for Scientific Computing % TU Darmstadt function [d_z z] = d_call(fun, d_a, a, varargin) z = fun(a, varargin{:}); szx = size(a); ...
github
microsoft/ADBench-master
adimat_derivclass_version_local.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_derivclass_version_local.m
612
utf_8
a4e0f6b3a554343c47e5bfd9386cd62e
% function [dcv dck] = adimat_derivclass_version_local() % get the version and revision of the derivative class ADiMat % dcv - derivative class version number: a double value % dck - derivative class name and version string % % Copyright 2018 Johannes Willkomm % Copyright 2010 Johannes Willkomm, Institute for Sci...
github
microsoft/ADBench-master
adimat_opdiff_pow_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_pow_left.m
1,009
utf_8
3e2ddbcaa481c49a3c275aae90f7c381
% function r = adimat_diff_pow_left(val1, g_val2, val2) % % Copyright 2010,2011 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function r = adimat_opdiff_pow_left(val1, g_val2, val2) if isscalar(val1) && iss...
github
microsoft/ADBench-master
option.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/option.m
1,401
utf_8
26a8504e7492f2401eed3e91cbfc6898
% function r = option(name, val?) % This function manages options of the vector_directderivs % derivative objects. Options can be queried using % option(name). Options can be set using option(name, value). When % setting an option the previous value will be returned. % % option('ndd') % option('ndd', newNDD...
github
microsoft/ADBench-master
adimat_opdiff_div_left.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_div_left.m
952
utf_8
81d5b2b6b926a3c35f90f453ce100b38
% function d_res = adimat_opdiff_div_left(val1, g_val2, val2) % % This file is part of the ADiMat runtime environment % % Copyright 2010-2013 Johannes Willkomm, Institute for Scientific Computing % TU Darmstadt function d_res = adimat_opdiff_div_left(val1, d_val2, val2) szv2 = size(val2); if ...
github
microsoft/ADBench-master
adimat_opdiff_sum.m
.m
ADBench-master/submodules/adimat-0.6.2-5288/vector_directderivs/adimat_opdiff_sum.m
448
utf_8
2fefca7db69511ea4882d07a484d1c37
% function d_res = adimat_opdiff_sum(d_v1, d_v2, ...) % % Copyright 2010-2014 Johannes Willkomm, Institute for Scientific Computing % RWTH Aachen University % % This file is part of the ADiMat runtime environment % function v1 = adimat_opdiff_sum(v1, v2, varargin) v1 = bsxfun(@plus, v1, v2); ...