/usr/share/votca/scripts/inverse/linsolve.octave is in votca-csg-scripts 1.2.4-2.1.
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 | A = load('$name.gmc');
b = load('$name.imc');
x(:,1)=b(:,1);
x(:,2) = -A\b(:,2);
save -ascii '$name_out' x
quit
|