flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
scan.hpp
Go to the documentation of this file.
1// ====================================================================
2// This file is part of FlexibleSUSY.
3//
4// FlexibleSUSY is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published
6// by the Free Software Foundation, either version 3 of the License,
7// or (at your option) any later version.
8//
9// FlexibleSUSY is distributed in the hope that it will be useful, but
10// WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with FlexibleSUSY. If not, see
16// <http://www.gnu.org/licenses/>.
17// ====================================================================
18
19#ifndef SCAN_HPP
20#define SCAN_HPP
21
22#include <cstddef>
23#include <vector>
24
25namespace flexiblesusy {
26
28std::vector<double> float_range(double start, double stop,
29 std::size_t number_of_steps);
30
32std::vector<double> float_range_log(double start, double stop,
33 std::size_t number_of_steps);
34
36std::vector<double> subdivide(double start, double stop,
37 std::size_t number_of_divisions);
38
40std::vector<double> subdivide_log(double start, double stop,
41 std::size_t number_of_divisions);
42
43} // namespace flexiblesusy
44
45#endif
LinearRange[start_, stop_, steps_] stop
std::vector< double > subdivide_log(double start, double stop, std::size_t number_of_divisions)
returns range of (number_of_divisions + 1) floating point values between (including) start and (inclu...
Definition: scan.cpp:119
std::vector< double > float_range(double start, double stop, std::size_t number_of_steps)
returns range of floating point values between start (included) and stop (excluded)
Definition: scan.cpp:42
std::vector< double > subdivide(double start, double stop, std::size_t number_of_divisions)
returns range of (number_of_divisions + 1) floating point values between (including) start and (inclu...
Definition: scan.cpp:94
std::vector< double > float_range_log(double start, double stop, std::size_t number_of_steps)
returns range of floating point values between start (included) and stop (excluded) with logarithmic ...
Definition: scan.cpp:67