Debian Codegraph @

packages/sacado/Fad/TinyFad/Specializations/tinyfadfive.h

raw
1 // @HEADER
2 // *****************************************************************************
3 // Sacado Package
4 //
5 // Copyright 2006 NTESS and the Sacado contributors.
6 // SPDX-License-Identifier: LGPL-2.1-or-later
7 // *****************************************************************************
8 // @HEADER
9
10 #ifndef _tinyfadfive_h_
11 #define _tinyfadfive_h_
12
13 //*********************************************************
14 // This file is generated by generate.cc.
15 // Use this file for any modification
16 //*********************************************************
17
18 template <class T> class TinyFad<5,T> {
19 public:
20 typedef T value_type;
21 typedef T grad_type;
22 protected:
23
24 int n;
25 T val_;
26
27 T dx0_;
28 T dx1_;
29 T dx2_;
30 T dx3_;
31 T dx4_;
32
33
34 public:
35 void diff(const size_t ith, const size_t sz){
36 n = ith+1;
37 dx0_ = T(0.);
38 dx1_ = T(0.);
39 dx2_ = T(0.);
40 dx3_ = T(0.);
41 dx4_ = T(0.);
42
43 switch(ith){
44 case 0 : dx0_ = T(1.);break;
45 case 1 : dx1_ = T(1.);break;
46 case 2 : dx2_ = T(1.);break;
47 case 3 : dx3_ = T(1.);break;
48 case 4 : dx4_ = T(1.);break;
49 default : std::cout << "ith = " << ith << " out of definition set" << std::endl;exit(1);
50 }
51 }
52
53 TinyFad(const T& ind, const int ini) : n(ini+1), val_(ind) {
54 dx0_ = T(0.);
55 dx1_ = T(0.);
56 dx2_ = T(0.);
57 dx3_ = T(0.);
58 dx4_ = T(0.);
59
60 switch(ini){
61 case 0 : dx0_ = T(1.);break;
62 case 1 : dx1_ = T(1.);break;
63 case 2 : dx2_ = T(1.);break;
64 case 3 : dx3_ = T(1.);break;
65 case 4 : dx4_ = T(1.);break;
66 default : std::cout << "ini = " << ini << " out of definition set" << std::endl;exit(1);
67 }
68 }
69 TinyFad() : n(0), val_(0.) {
70 dx0_ = T(0.);
71 dx1_ = T(0.);
72 dx2_ = T(0.);
73 dx3_ = T(0.);
74 dx4_ = T(0.);
75 }
76 TinyFad(const No_Initialization &): n(0) {}
77 TinyFad(const T& in) : n(0), val_(in) {
78 dx0_ = T(0.);
79 dx1_ = T(0.);
80 dx2_ = T(0.);
81 dx3_ = T(0.);
82 dx4_ = T(0.);
83 }
84 TinyFad(const TinyFad<5,T> & in) : n(0), val_(in.val_) {
85 dx0_ = in.dx0_;
86 dx1_ = in.dx1_;
87 dx2_ = in.dx2_;
88 dx3_ = in.dx3_;
89 dx4_ = in.dx4_;
90 }
91
92 ~TinyFad() {}
93
94 int N() const {return n-1;}
95
96 const T& val() const { return val_;}
97 T& val() { return val_;}
98
99 const T& d0() const { return dx0_;}
100 T& d0() { return dx0_;}
101
102 const T& d1() const { return dx1_;}
103 T& d1() { return dx1_;}
104
105 const T& d2() const { return dx2_;}
106 T& d2() { return dx2_;}
107
108 const T& d3() const { return dx3_;}
109 T& d3() { return dx3_;}
110
111 const T& d4() const { return dx4_;}
112 T& d4() { return dx4_;}
113
114 T& dx(int i){
115 switch(i){
116 case 0 : return dx0_;
117 case 1 : return dx1_;
118 case 2 : return dx2_;
119 case 3 : return dx3_;
120 case 4 : return dx4_;
121 default : std::cout << "i out of bounds" << std::endl;exit(1);
122 }
123 }
124 const T& dx(int i) const {
125 switch(i){
126 case 0 : return dx0_;
127 case 1 : return dx1_;
128 case 2 : return dx2_;
129 case 3 : return dx3_;
130 case 4 : return dx4_;
131 default : std::cout << "i out of bounds" << std::endl;exit(1);
132 }
133 }
134 T& d(int i){
135 switch(i){
136 case 0 : return dx0_;
137 case 1 : return dx1_;
138 case 2 : return dx2_;
139 case 3 : return dx3_;
140 case 4 : return dx4_;
141 default : std::cout << "i out of bounds" << std::endl;exit(1);
142 }
143 }
144 const T& d(int i) const {
145 switch(i){
146 case 0 : return dx0_;
147 case 1 : return dx1_;
148 case 2 : return dx2_;
149 case 3 : return dx3_;
150 case 4 : return dx4_;
151 default : std::cout << "i out of bounds" << std::endl;exit(1);
152 }
153 }
154
155 TinyFad<5,T> & operator = (const TinyFad<5,T> & in){
156 val_ = in.val_;
157
158 dx0_ = in.dx0_;
159 dx1_ = in.dx1_;
160 dx2_ = in.dx2_;
161 dx3_ = in.dx3_;
162 dx4_ = in.dx4_;
163
164 return *this;
165 }
166
167 TinyFad<5,T> & operator = (const T & in){
168 val_ = in;
169
170 dx0_ = T(0.);
171 dx1_ = T(0.);
172 dx2_ = T(0.);
173 dx3_ = T(0.);
174 dx4_ = T(0.);
175
176 return *this;
177 }
178
179 TinyFad<5,T> & operator += (const TinyFad<5,T> & in){
180 dx0_ += in.dx0_;
181 dx1_ += in.dx1_;
182 dx2_ += in.dx2_;
183 dx3_ += in.dx3_;
184 dx4_ += in.dx4_;
185 val_ += in.val_;
186
187
188 return *this;
189 }
190 TinyFad<5,T> & operator -= (const TinyFad<5,T> & in){
191 dx0_ -= in.dx0_;
192 dx1_ -= in.dx1_;
193 dx2_ -= in.dx2_;
194 dx3_ -= in.dx3_;
195 dx4_ -= in.dx4_;
196 val_ -= in.val_;
197
198 return *this;
199 }
200 TinyFad<5,T> & operator *= (const TinyFad<5,T> & in){
201 dx0_ = dx0_ * in.val_ + val_ * in.dx0_;
202 dx1_ = dx1_ * in.val_ + val_ * in.dx1_;
203 dx2_ = dx2_ * in.val_ + val_ * in.dx2_;
204 dx3_ = dx3_ * in.val_ + val_ * in.dx3_;
205 dx4_ = dx4_ * in.val_ + val_ * in.dx4_;
206 val_ *= in.val_;
207
208 return *this;
209 }
210 TinyFad<5,T> & operator /= (const TinyFad<5,T> & in){
211 if (in.val_ == 0.) error("TinyFad & TinyFad::operator /= (const TinyFad & in), dividing by 0");
212 dx0_ = ( dx0_ * in.val_ - val_ * in.dx0_ ) / in.val_ / in.val_ ;
213 dx1_ = ( dx1_ * in.val_ - val_ * in.dx1_ ) / in.val_ / in.val_ ;
214 dx2_ = ( dx2_ * in.val_ - val_ * in.dx2_ ) / in.val_ / in.val_ ;
215 dx3_ = ( dx3_ * in.val_ - val_ * in.dx3_ ) / in.val_ / in.val_ ;
216 dx4_ = ( dx4_ * in.val_ - val_ * in.dx4_ ) / in.val_ / in.val_ ;
217 val_ /= in.val_;
218
219 return *this;
220 }
221
222 TinyFad<5,T> & operator += (const T & in){ val_ += in;
223
224 return *this;
225 }
226 TinyFad<5,T> & operator -= (const T & in){ val_ -= in;
227
228 return *this;
229 }
230 TinyFad<5,T> & operator *= (const T & in){
231 val_ *= in;
232
233 dx0_ *= in;
234 dx1_ *= in;
235 dx2_ *= in;
236 dx3_ *= in;
237 dx4_ *= in;
238
239 return *this;
240 }
241 TinyFad<5,T> & operator /= (const T & in){
242 if ( in == T(0.) ) error("TinyFad & TinyFad::operator /= (const T & in), dividing by 0");
243 val_ /= in;
244
245 dx0_ /= in;
246 dx1_ /= in;
247 dx2_ /= in;
248 dx3_ /= in;
249 dx4_ /= in;
250
251 return *this;
252 }
253
254 TinyFad<5,T> operator++(int){
255 TinyFad<5,T> tmp(*this);
256 tmp.val_++;
257 return tmp;
258 };
259 TinyFad<5,T> operator--(int){
260 TinyFad<5,T> tmp(*this);
261 tmp.val_--;
262 return tmp;
263 };
264 TinyFad<5,T> & operator++(){ ++val_;
265 return *this;
266 }
267 TinyFad<5,T> & operator--(){ --val_;
268 return *this;
269 }
270 };
271
272
273 template <class T> inline TinyFad<5,T> operator + (const TinyFad<5,T>& in)
274 {
275 return TinyFad<5,T>(in);
276 }
277
278 template <class T> inline TinyFad<5,T> operator - (const TinyFad<5,T>& in)
279 {
280 TinyFad<5,T> tmp;
281 tmp -= in;
282 return tmp;
283 }
284
285 template <class L, class R> inline
286 TinyFad<5,typename NumericalTraits<L,R>::promote >
287 operator +(const TinyFad<5,L>& un, const TinyFad<5,R>& deux) {
288
289 typedef typename NumericalTraits<L,R>::promote value_type;
290
291 No_Initialization nothing;
292 TinyFad<5,value_type> tmp( nothing );
293
294 tmp.d0() = un.d0() + deux.d0();
295
296 tmp.d1() = un.d1() + deux.d1();
297
298 tmp.d2() = un.d2() + deux.d2();
299
300 tmp.d3() = un.d3() + deux.d3();
301
302 tmp.d4() = un.d4() + deux.d4();
303
304 tmp.val() = un.val() + deux.val();
305
306 return tmp;
307 }
308
309 template <class L, class R> inline
310 TinyFad<5,typename NumericalTraits<L,R>::promote>
311 operator +(const TinyFad<5,L>& un, const R& deux) {
312
313 typedef typename NumericalTraits<L,R>::promote value_type;
314
315 No_Initialization nothing;
316 TinyFad<5,value_type> tmp( nothing );
317
318 tmp.d0() = un.d0();
319
320 tmp.d1() = un.d1();
321
322 tmp.d2() = un.d2();
323
324 tmp.d3() = un.d3();
325
326 tmp.d4() = un.d4();
327
328 tmp.val() = un.val() + deux;
329
330 return tmp;
331 }
332
333 template <class L, class R> inline
334 TinyFad<5,typename NumericalTraits<L,R>::promote >
335 operator +(const L& un, const TinyFad<5,R>& deux) {
336 return operator +(deux,un);
337 }
338
339 template <class L, class R> inline
340 TinyFad<5,typename NumericalTraits<L,R>::promote >
341 operator *(const TinyFad<5,L>& un, const TinyFad<5,R>& deux) {
342
343 typedef typename NumericalTraits<L,R>::promote value_type;
344
345 No_Initialization nothing;
346 TinyFad<5,value_type> tmp( nothing );
347
348 tmp.d0() = un.d0()*deux.val() + un.val() * deux.d0();
349
350 tmp.d1() = un.d1()*deux.val() + un.val() * deux.d1();
351
352 tmp.d2() = un.d2()*deux.val() + un.val() * deux.d2();
353
354 tmp.d3() = un.d3()*deux.val() + un.val() * deux.d3();
355
356 tmp.d4() = un.d4()*deux.val() + un.val() * deux.d4();
357
358 tmp.val() = un.val() * deux.val();
359
360 return tmp;
361 }
362
363 template <class L, class R> inline
364 TinyFad<5,typename NumericalTraits<L,R>::promote >
365 operator *(const TinyFad<5,L>& un, const R& deux) {
366
367 typedef typename NumericalTraits<L,R>::promote value_type;
368
369 No_Initialization nothing;
370 TinyFad<5,value_type> tmp( nothing );
371
372 tmp.d0() = un.d0()*deux;
373
374 tmp.d1() = un.d1()*deux;
375
376 tmp.d2() = un.d2()*deux;
377
378 tmp.d3() = un.d3()*deux;
379
380 tmp.d4() = un.d4()*deux;
381
382 tmp.val() = un.val() * deux;
383
384 return tmp;
385 }
386
387 template <class L, class R> inline
388 TinyFad<5,typename NumericalTraits<L,R>::promote >
389 operator *(const L& un, const TinyFad<5,R>& deux) {
390
391 return operator *(deux,un);
392 }
393
394
395 template <class L, class R> inline
396 TinyFad<5,typename NumericalTraits<L,R>::promote >
397 operator -(const TinyFad<5,L> & un, const TinyFad<5,R> & deux) {
398
399 typedef typename NumericalTraits<L,R>::promote value_type;
400
401 No_Initialization nothing;
402 TinyFad<5,value_type> tmp( nothing );
403
404 tmp.d0() = un.d0() - deux.d0();
405
406 tmp.d1() = un.d1() - deux.d1();
407
408 tmp.d2() = un.d2() - deux.d2();
409
410 tmp.d3() = un.d3() - deux.d3();
411
412 tmp.d4() = un.d4() - deux.d4();
413
414 tmp.val() = un.val() - deux.val();
415
416 return tmp;
417 }
418
419 template <class L, class R> inline
420 TinyFad<5,typename NumericalTraits<L,R>::promote>
421 operator -(const L & un, const TinyFad<5,R> & deux) {
422
423 typedef typename NumericalTraits<L,R>::promote value_type;
424
425 No_Initialization nothing;
426 TinyFad<5,value_type> tmp( nothing );
427
428 tmp.d0() -= deux.d0();
429
430 tmp.d1() -= deux.d1();
431
432 tmp.d2() -= deux.d2();
433
434 tmp.d3() -= deux.d3();
435
436 tmp.d4() -= deux.d4();
437
438 tmp.val() = un - deux.val();
439
440 return tmp;
441 }
442
443 template <class L, class R> inline
444 TinyFad<5, typename NumericalTraits<L,R>::promote >
445 operator -(const TinyFad<5,L> & un, const R & deux) {
446 typedef typename NumericalTraits<L,R>::promote value_type;
447
448 No_Initialization nothing;
449 TinyFad<5,value_type> tmp( nothing );
450
451 tmp.d0() = un.d0();
452
453 tmp.d1() = un.d1();
454
455 tmp.d2() = un.d2();
456
457 tmp.d3() = un.d3();
458
459 tmp.d4() = un.d4();
460
461 tmp.val() = un.val() - deux;
462
463 return tmp;
464 }
465
466 template <class L, class R> inline
467 TinyFad<5, typename NumericalTraits<L,R>::promote >
468 operator /(const TinyFad<5,L> & un, const TinyFad<5,R> & deux) {
469
470 typedef typename NumericalTraits<L,R>::promote value_type;
471
472 if (deux.val() == 0.) error("TinyFad & TinyFad::operator /(const TinyFad<5,L> & un, const TinyFad<5,R> & deux), dividing by 0");
473
474 No_Initialization nothing;
475 TinyFad<5,value_type> tmp( nothing );
476 value_type dval = deux.val();
477
478 tmp.d0() = ( un.d0()* deux.val() - un.val() * deux.d0() ) / dval / dval ;
479
480 tmp.d1() = ( un.d1()* deux.val() - un.val() * deux.d1() ) / dval / dval ;
481
482 tmp.d2() = ( un.d2()* deux.val() - un.val() * deux.d2() ) / dval / dval ;
483
484 tmp.d3() = ( un.d3()* deux.val() - un.val() * deux.d3() ) / dval / dval ;
485
486 tmp.d4() = ( un.d4()* deux.val() - un.val() * deux.d4() ) / dval / dval ;
487
488 tmp.val() = un.val() / dval;
489
490 return tmp;
491 }
492
493 template <class L, class R> inline
494 TinyFad<5, typename NumericalTraits<L,R>::promote >
495 operator /(const L & un, const TinyFad<5,R> & deux) {
496
497 typedef typename NumericalTraits<L,R>::promote value_type;
498
499 if (deux.val() == 0.) error("TinyFad & TinyFad::operator /(const L & un, const TinyFad<5,R> & deux), dividing by 0");
500
501 No_Initialization nothing;
502 TinyFad<5,value_type> tmp( nothing );
503 value_type dval = deux.val();
504
505 tmp.d0() = - un * deux.d0() / dval / dval ;
506
507 tmp.d1() = - un * deux.d1() / dval / dval ;
508
509 tmp.d2() = - un * deux.d2() / dval / dval ;
510
511 tmp.d3() = - un * deux.d3() / dval / dval ;
512
513 tmp.d4() = - un * deux.d4() / dval / dval ;
514
515 tmp.val() = un / dval;
516
517 return tmp;
518 }
519
520 template <class L, class R> inline
521 TinyFad<5, typename NumericalTraits<L,R>::promote >
522 operator /(const TinyFad<5,L> & un, const R & deux) {
523
524 typedef typename NumericalTraits<L,R>::promote value_type;
525
526 if (deux == 0.) error("TinyFad & TinyFad::operator /(const TinyFad<5,L> & un, const R & deux), dividing by 0");
527
528 No_Initialization nothing;
529 TinyFad<5,value_type> tmp( nothing );
530
531 tmp.d0() = un.d0() / deux;
532
533 tmp.d1() = un.d1() / deux;
534
535 tmp.d2() = un.d2() / deux;
536
537 tmp.d3() = un.d3() / deux;
538
539 tmp.d4() = un.d4() / deux;
540
541 tmp.val() = un.val() / deux;
542
543 return tmp;
544 }
545
546 template <class T> TinyFad<5,T> exp (const TinyFad<5,T>& in)
547 {
548 TinyFad<5,T> tmp(exp(in.val()));
549
550 tmp.d0() = in.d0()*exp(in.val());
551 tmp.d1() = in.d1()*exp(in.val());
552 tmp.d2() = in.d2()*exp(in.val());
553 tmp.d3() = in.d3()*exp(in.val());
554 tmp.d4() = in.d4()*exp(in.val());
555
556 return tmp;
557 }
558
559 template <class T> TinyFad<5,T> log (const TinyFad<5,T>& in)
560 {
561 if ( in.val() <= 0) error("TinyFad log (const TinyFad& in) : zero or negative value");
562 TinyFad<5,T> tmp(log(in.val()));
563
564 tmp.d0() = in.d0() / in.val();
565 tmp.d1() = in.d1() / in.val();
566 tmp.d2() = in.d2() / in.val();
567 tmp.d3() = in.d3() / in.val();
568 tmp.d4() = in.d4() / in.val();
569
570 return tmp;
571 }
572
573 template <class T> TinyFad<5,T> sqrt (const TinyFad<5,T>& in)
574 {
575 if ( in.val() < 0. ) error("TinyFad<5,T> sqrt (const TinyFad& in) : negative value");
576 TinyFad<5,T> tmp(sqrt(in.val()));
577
578 bool test=true;
579 if ( in.val() == T(0.) ){
580 if ( in.d0() != T(0.) ) test = false;
581
582 if ( in.d1() != T(0.) ) test = false;
583
584 if ( in.d2() != T(0.) ) test = false;
585
586 if ( in.d3() != T(0.) ) test = false;
587
588 if ( in.d4() != T(0.) ) test = false;
589
590 if ( !test )
591 error("TinyFad<5,T> sqrt (const TinyFad& in) : null value");
592 }
593 else {
594 tmp.d0() = in.d0() / sqrt(in.val()) / 2.;
595 tmp.d1() = in.d1() / sqrt(in.val()) / 2.;
596 tmp.d2() = in.d2() / sqrt(in.val()) / 2.;
597 tmp.d3() = in.d3() / sqrt(in.val()) / 2.;
598 tmp.d4() = in.d4() / sqrt(in.val()) / 2.;
599 }
600
601 return tmp;
602 }
603
604 template <class T> TinyFad<5,T> sin (const TinyFad<5,T>& in)
605 {
606 TinyFad<5,T> tmp( sin(in.val()) );
607
608 tmp.d0() = in.d0() * cos( in.val() );
609 tmp.d1() = in.d1() * cos( in.val() );
610 tmp.d2() = in.d2() * cos( in.val() );
611 tmp.d3() = in.d3() * cos( in.val() );
612 tmp.d4() = in.d4() * cos( in.val() );
613
614 return tmp;
615 }
616
617 template <class T> TinyFad<5,T> cos (const TinyFad<5,T>& in)
618 {
619 TinyFad<5,T> tmp(cos(in.val()));
620
621 tmp.d0() = - in.d0() * sin( in.val() );
622 tmp.d1() = - in.d1() * sin( in.val() );
623 tmp.d2() = - in.d2() * sin( in.val() );
624 tmp.d3() = - in.d3() * sin( in.val() );
625 tmp.d4() = - in.d4() * sin( in.val() );
626
627 return tmp;
628 }
629
630 template <class T> TinyFad<5,T> tan (const TinyFad<5,T>& in)
631 {
632 if ( in.val() == 0) error("TinyFad tan (const TinyFad& in) undiefined in 0.");
633 TinyFad<5,T> tmp(tan(in.val()));
634
635 T cosinus = cos(in.val());
636 tmp.d0() = in.d0() / cosinus / cosinus;
637 tmp.d1() = in.d1() / cosinus / cosinus;
638 tmp.d2() = in.d2() / cosinus / cosinus;
639 tmp.d3() = in.d3() / cosinus / cosinus;
640 tmp.d4() = in.d4() / cosinus / cosinus;
641
642 return tmp;
643 }
644
645 template <class T> TinyFad<5,T> pow (const TinyFad<5,T>& in, double e)
646 {
647 TinyFad<5,T> tmp(pow(in.val(), e));
648
649 tmp.d0() = e*in.d0()*pow(in.val(), e-1);
650 tmp.d1() = e*in.d1()*pow(in.val(), e-1);
651 tmp.d2() = e*in.d2()*pow(in.val(), e-1);
652 tmp.d3() = e*in.d3()*pow(in.val(), e-1);
653 tmp.d4() = e*in.d4()*pow(in.val(), e-1);
654
655 return tmp;
656 }
657
658 template <class T> TinyFad<5,T> pow (const TinyFad<5,T>& un, const TinyFad<5,T>& deux)
659 {
660 if (un.val() == 0) error("TinyFad pow (const TinyFad& un, const TinyFad& deux), un = 0. ");
661 TinyFad<5,T> tmp(pow(un.val(), deux.val()));
662
663 tmp.d0() = deux.d0() * log(un.val()) * pow(un.val(), deux.val())
664 + deux.val() * un.d0() * pow(un.val(), deux.val()-1);
665 tmp.d1() = deux.d1() * log(un.val()) * pow(un.val(), deux.val())
666 + deux.val() * un.d1() * pow(un.val(), deux.val()-1);
667 tmp.d2() = deux.d2() * log(un.val()) * pow(un.val(), deux.val())
668 + deux.val() * un.d2() * pow(un.val(), deux.val()-1);
669 tmp.d3() = deux.d3() * log(un.val()) * pow(un.val(), deux.val())
670 + deux.val() * un.d3() * pow(un.val(), deux.val()-1);
671 tmp.d4() = deux.d4() * log(un.val()) * pow(un.val(), deux.val())
672 + deux.val() * un.d4() * pow(un.val(), deux.val()-1);
673
674 return tmp;
675 }
676
677 template <class T> TinyFad<5,T> pow (const TinyFad<5,T>& in, const int e)
678 {
679 TinyFad<5,T> tmp( std::pow((double)in.val(), (double)e) );
680
681 tmp.d0() = e*in.d0()*std::pow((double)in.val(), (double)e-1);
682 tmp.d1() = e*in.d1()*std::pow((double)in.val(), (double)e-1);
683 tmp.d2() = e*in.d2()*std::pow((double)in.val(), (double)e-1);
684 tmp.d3() = e*in.d3()*std::pow((double)in.val(), (double)e-1);
685 tmp.d4() = e*in.d4()*std::pow((double)in.val(), (double)e-1);
686
687 return tmp;
688 }
689
690 template <class T> TinyFad<5,T> abs (const TinyFad<5,T>& in)
691 {
692 int sign = in.val() > 0? 1:0;
693
694 if (sign) return in;
695 else return (-in);
696 }
697
698 template <class T> std::ostream& operator << (std::ostream& os, const TinyFad<5,T>& a)
699 {
700 os.setf(std::ios::fixed,std::ios::scientific);
701 os.width(12);
702 os << a.val() << " [";
703
704 os.width(12);
705 os << a.d0();
706 os.width(12);
707 os << a.d1();
708 os.width(12);
709 os << a.d2();
710 os.width(12);
711 os << a.d3();
712 os.width(12);
713 os << a.d4();
714
715 os << "]";
716
717 return os;
718 }
719
720
721 #endif