Interior-point-optimisation  1.0-1
Interior-pointoptimisationlibrary
Format.hpp
Go to the documentation of this file.
1 /*
2  * $Id: Format.hpp 173 2013-07-01 08:52:40Z jdl3 $
3  * Copyright (C) 2013 John D Lamb
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or (at
8  * your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 
20 #ifndef IPO_DETAIL_FORMAT_HPP
21 #define IPO_DETAIL_FORMAT_HPP
22 
23 #include<string>
24 #include<array>
25 
26 namespace ipo {
30  namespace format {
36  std::string subscript( size_t subscript );
42  std::string superscript( size_t superscript );
46  std::string const lessEqual { "≤" };
50  std::string const greaterEqual { "≥" };
54  std::string const infinity { "∞" };
58  std::string const minus { "−" };
62  std::string const times { "×" };
63  }
64 }
65 
66 #endif
std::string const lessEqual
Less than or equal sign, ≤.
Definition: Format.hpp:46
std::string subscript(size_t subscript)
Create a string representing a subscript from a whole number.
Definition: Format.cc:27
std::string superscript(size_t superscript)
Create a string representing a superscript from a whole number.
Definition: Format.cc:40
std::string const minus
Minus sign, −.
Definition: Format.hpp:58
std::string const greaterEqual
Greater than or equal sign, ≥.
Definition: Format.hpp:50
std::string const times
Multiplication sign, ×.
Definition: Format.hpp:62
This namespace holds all the interior-point optimisation classes.
Definition: Array.hpp:28
std::string const infinity
Infinity sign, ∞.
Definition: Format.hpp:54