| 45 | } |
| 46 | |
| 47 | std::vector<unsigned int> TestFunction::getConstDegreeInt() const |
| 48 | { |
| 49 | auto intDegrees = std::vector<unsigned int>(powers.rows(), 0); |
| 50 | |
| 51 | auto maxCoeffs = powers.rowwise().maxCoeff(); |
| 52 | for (size_t i = 0; i < powers.rows(); ++i) |
| 53 | { |
| 54 | intDegrees.at(i) = (unsigned int) std::ceil(maxCoeffs(i)); |
| 55 | } |
| 56 | |
| 57 | return intDegrees; |
| 58 | } |
| 59 | |
| 60 | double TestFunction::getMaxDegree() const |
| 61 | { |
nothing calls this directly
no outgoing calls
no test coverage detected