/usr/lib/petscdir/3.7.7/x86_64-linux-gnu-complex-debug/share/petsc/matlab/@PetscOpenFile/read.m is in libpetsc-complex-3.7.7-dbg 3.7.7+dfsg1-2build5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | function d = read(freader,count,datatype)
%
% O = read(freader,count,datatype) - reads data from a binary file opened with freader('filename')
%
if strcmp(datatype,'float128')
freader.fd
d = longdoubleread(freader.fd,count,datatype);
else
d = fread(freader.fd,count,datatype);
end
|