NDOSolver / FiOracle
Interfaces and Solvers for NonDifferentiable Optimization
Loading...
Searching...
No Matches
OPTtypes.h File Reference
#include "OPTUtils.h"
#include <limits.h>

Go to the source code of this file.

Namespaces

namespace  OPTtypes_di_unipi_it
 

Macros

#define __OPTtypes   /* self-identification: #endif at the end of the file */
 

Typedefs

typedef bool * Bool_Vec
 vector of booleans
 
typedef Bool_VecBool_Mat
 matrix of booleans
 
typedef const bool cBOOL
 a read-only boolean
 
typedef cBOOLcBool_Vec
 read-only array
 
typedef unsigned int Index
 Index in a vector ( >= 0 )
 
typedef IndexIndex_Set
 set (array) of indices
 
typedef Index_SetIndex_Mat
 set of set of indices
 
typedef const Index cIndex
 a read-only Index
 
typedef cIndexcIndex_Set
 read-only array
 
typedef int SIndex
 
typedef SIndexSIndex_Set
 set (array) of s. indices
 
typedef SIndex_SetSIndex_Mat
 set of set (matrix) of s. indices
 
typedef const SIndex cSIndex
 a read-only Signed Index
 
typedef cSIndexcSIndex_Set
 read-only array
 
typedef long int INum
 integer numbers
 
typedef INumIRow
 vectors of integers
 
typedef IRowIMat
 
typedef const INum cINum
 a read-only integer
 
typedef cINumcIRow
 read-only array
 
typedef double Number
 "normal" floating point numbers
 
typedef NumberRow
 "normal" (fp) array
 
typedef RowMat
 "normal" (fp) matrix
 
typedef const Number cNumber
 a read-only Number
 
typedef cNumbercRow
 read-only array
 
typedef double HpNum
 "finer" floating point numbers
 
typedef HpNumHpRow
 "finer" (fp) array
 
typedef HpRowHpMat
 "finer" (fp) matrix
 
typedef const HpNum cHpNum
 a read-only HpNum
 
typedef cHpNumcHpRow
 read-only array
 
typedef double SgNum
 subgradient entries
 
typedef SgNumSgRow
 a subgradient
 
typedef SgRowSgMat
 a bundle (set of subgradients)
 
typedef const SgNum cSgNum
 a read-only subgradient entry
 
typedef cSgNumcSgRow
 a read-only subgradient
 
typedef double QuNum
 numbers in Q ( G{i}{T} * G{j} )
 
typedef QuNumQuRow
 row of Q
 
typedef QuRowQuMat
 Q (itself)
 
typedef const QuNum cQuNum
 a read-only number in Q
 
typedef cQuNumcQuRow
 a read-only row of Q
 
typedef double LMNum
 a Lagrangean Multiplier
 
typedef LMNumLMRow
 a vector of Lagrangean Multipliers
 
typedef LMRowLMMat
 a matrix of Lagrangean Multipliers
 
typedef const LMNum cLMNum
 a read-only Lagrangean Multiplier
 
typedef cLMNumcLMRow
 a read-only vector of LMs
 

Detailed Description

Standard types and constants definitions: by changing the definitions here, the dimension/precision of all the numbers used within the programs can be customized.

It also includes OPTUtils.h for various stuff related to reading the time of a code, generating random numbers and safely reading parameters out of a stream; see the comments in OPTUtils.h.

Author
Antonio Frangioni
Dipartimento di Informatica
Universita' di Pisa