Files
cmdla/Lessons/11-09/TestFunctions/testNN_Jac.jl
2024-07-30 14:43:25 +02:00

24 lines
850 B
Julia

# function [Jac,Fun] = testNN_Jac(w)
#
# Jacobian 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 testNN_Jac(w)
gator_w.f = w
gator_w.dw = ones(76,1)
v = testNN_ADiGatorJac(gator_w)
Jac = reshape(v.dw, (1, 76))
Fun = v.f
return (Jac, Fun)
end