ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
admanip.cpp
Go to the documentation of this file.
1 
8 #include <fvar.hpp>
9 
10 /*
11 ostream& setfixed(const ostream& _s)
12 {
13  ostream& s=(ostream&)(_s);
14  s.setf(ios::fixed,ios::floatfield);
15  return s;
16 }
17 
18 ostream& setscientific(const ostream& _s)
19 {
20  ostream& s=(ostream&)(_s);
21  s.setf(ios::scientific,ios::floatfield);
22  return s;
23 }
24 
25 
26 ostream& setshowpoint(const ostream& _s)
27 {
28  ostream& s=(ostream&)(_s);
29  s.setf(ios::showpoint);
30  return s;
31 }
32 */
33 
39 {
40  preshowpoint tmp;
41  return tmp;
42 }
43 
48 ostream& operator<<(const ostream& _s, preshowpoint p)
49 {
50  ostream& s=(ostream&)(_s);
51  s.setf(ios::showpoint);
52  return s;
53 }
54 
60 {
61  prefixed tmp;
62  return tmp;
63 }
64 
69 ostream& operator<<(const ostream& _s, prefixed p)
70 {
71  ostream& s=(ostream&)(_s);
72  s.setf(ios::fixed,ios::floatfield);
73  return s;
74 }
75 
81 {
82  prescientific tmp;
83  return tmp;
84 }
85 
90 ostream& operator<<(const ostream& _s, prescientific p)
91 {
92  ostream& s=(ostream&)(_s);
93  s.setf(ios::scientific,ios::floatfield);
94  return s;
95 }
prescientific setscientific(void)
Description not yet available.
Definition: admanip.cpp:80
preshowpoint setshowpoint(void)
Description not yet available.
Definition: admanip.cpp:38
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
ostream & operator<<(const ostream &_s, preshowpoint p)
Description not yet available.
Definition: admanip.cpp:48
prefixed setfixed(void)
Description not yet available.
Definition: admanip.cpp:59