/usr/share/octave/site/m/sundialsTB/kinsol/kim/kim_jtv.m is in octave-sundials 2.5.0-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | function [ret, new_y, flag, new_data] = kim_jtv(y, v, new_y, fct, data)
%
% Wrapper around the actual user-provided Matlab function
%
if isempty(data)
[ret, new_y, flag] = feval(fct,y,v,new_y);
new_data = [];
else
[ret, new_y, flag, new_data] = feval(fct,y,v,new_y,data);
end
|