/usr/include/singular/gfanlib/gfanlib_mixedvolume.h is in libsingular4-dev-common 1:4.1.0-p3+ds-2build1.
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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /*
* gfanlib_mixedvolume.h
*
* Created on: Apr 10, 2016
* Author: anders
*/
#ifndef GFANLIB_MIXEDVOLUME_H_
#define GFANLIB_MIXEDVOLUME_H_
#include <vector>
#include "gfanlib_matrix.h"
#include "gfanlib_z.h"
namespace gfan{
Integer mixedVolume(std::vector<IntMatrix> const &tuple, int nthreads=0, int steps=500);
namespace MixedVolumeExamples{
std::vector<IntMatrix> cyclic(int n);
std::vector<IntMatrix> noon(int n);
std::vector<IntMatrix> chandra(int n);
std::vector<IntMatrix> katsura(int n);
std::vector<IntMatrix> gaukwa(int n);
std::vector<IntMatrix> eco(int n);
}
}
#endif /* GFANLIB_MIXEDVOLUME_H_ */
|