Files
cmdla/11-09/TestFunctions Matlab/testNN_Grd.m

21 lines
823 B
Mathematica
Raw Normal View History

2023-11-17 12:42:12 +01:00
% function [Grd,Fun] = testNN_Grd(w)
%
% Gradient wrapper file generated by ADiGator
% ©2010-2014 Matthew J. Weinstein and Anil V. Rao
% ADiGator may be obtained at https://sourceforge.net/projects/adigator/
% Contact: mweinstein@ufl.edu
% Bugs/suggestions may be reported to the sourceforge forums
% DISCLAIMER
% ADiGator is a general-purpose software distributed under the GNU General
% Public License version 3.0. While the software is distributed with the
% hope that it will be useful, both the software and generated code are
% provided 'AS IS' with NO WARRANTIES OF ANY KIND and no merchantability
% or fitness for any purpose or application.
function [Grd,Fun] = testNN_Grd(w)
gator_w.f = w;
gator_w.dw = ones(76,1);
v = testNN_ADiGatorGrd(gator_w);
Grd = reshape(v.dw,[1 76]);
Fun = v.f;
end