Interior-point-optimisation
1.0-1
Interior-pointoptimisationlibrary
Main Page
Namespaces
Classes
Files
File List
File Members
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
ipo::format::lessEqual
std::string const lessEqual
Less than or equal sign, ≤.
Definition:
Format.hpp:46
ipo::format::subscript
std::string subscript(size_t subscript)
Create a string representing a subscript from a whole number.
Definition:
Format.cc:27
ipo::format::superscript
std::string superscript(size_t superscript)
Create a string representing a superscript from a whole number.
Definition:
Format.cc:40
ipo::format::minus
std::string const minus
Minus sign, −.
Definition:
Format.hpp:58
ipo::format::greaterEqual
std::string const greaterEqual
Greater than or equal sign, ≥.
Definition:
Format.hpp:50
ipo::format::times
std::string const times
Multiplication sign, ×.
Definition:
Format.hpp:62
ipo
This namespace holds all the interior-point optimisation classes.
Definition:
Array.hpp:28
ipo::format::infinity
std::string const infinity
Infinity sign, ∞.
Definition:
Format.hpp:54
ipo
ipo
detail
Format.hpp
Generated on Sun Nov 30 2014 14:31:14 for Interior-point-optimisation by
1.8.8