☰
Debian Codegraph
@
7.2-3
7.2-2
7.2-1
7.1-1
/
/
tests
/
external_function
/
extFunWithFirstAndSecondDerivs.m
☽
☼
tests/external_function/extFunWithFirstAndSecondDerivs.m
code
plain
raw
GPL-3+
1996-2026 Dynare Team
debian/copyright
1
function [y df d2f]=extFunWithFirstAndSecondDerivs(a,b)
2
y=a*(b^2);
3
4
da=b^2;
5
db=2*a*b;
6
df=[da db];
7
8
d2f=[0 2*b; 2*b 2*a];
9
end