Overview
Comment:gcc-3.0 compatibility.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/numerical-algebraic-solution | trunk
Files: files | file ages | folders
SHA3-256: f80e872abe85e9947a325e42e26631098f9fc155ed89212602d06e69ca725199
User & Date: geraint@users.sourceforge.net on 2001-06-30 03:26:20
Other Links: branch diff | manifest | tags
Context
2001-07-02
00:34:56
gcc-3.0 compatibility. check-in: 98a5282e8f user: geraint@users.sourceforge.net tags: origin/numerical-algebraic-solution, trunk
2001-06-30
03:26:20
gcc-3.0 compatibility. check-in: f80e872abe user: geraint@users.sourceforge.net tags: origin/numerical-algebraic-solution, trunk
2001-06-28
22:58:27
Using mtt_xargs.sh to prevent Arg list too long error. check-in: 3cd3edb0e6 user: geraint@users.sourceforge.net tags: origin/numerical-algebraic-solution, trunk
Changes

Modified mttroot/mtt/cc/include/Bracket.hh from [206254c8d0] to [d18f2fcc8a].

1
2



3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
/* $Id$
 * $Log$



 * Revision 1.1  2000/10/31 04:29:11  geraint
 * Initial revision
 *
 */



#include <iostream>
#include <string>




class Bracket
{
public:
  friend ostream &operator<< (ostream &str, Bracket *b);
  friend string  &operator<< (string  &str, Bracket *b);
  friend string  &operator+= (string  &str, Bracket *b);


>
>
>











>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* $Id$
 * $Log$
 * Revision 1.1  2000/12/28 09:47:29  peterg
 * put under RCS
 *
 * Revision 1.1  2000/10/31 04:29:11  geraint
 * Initial revision
 *
 */



#include <iostream>
#include <string>


using namespace std;

class Bracket
{
public:
  friend ostream &operator<< (ostream &str, Bracket *b);
  friend string  &operator<< (string  &str, Bracket *b);
  friend string  &operator+= (string  &str, Bracket *b);

Modified mttroot/mtt/cc/include/useful-functions.hh from [652bf845ed] to [7422411f93].

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

static ColumnVector
nozeros (const ColumnVector v0, const double tol = 0.0)
{
  ColumnVector v (v0.length ());
  register int i, j;
  for (i = j = 0; i < v.length (); i++)
    if (tol < abs (v0 (i)))
      {
	v (j) = v0 (i);
	j++;
      }
  if (0 == j)
    {
      return *new ColumnVector ();







|







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

static ColumnVector
nozeros (const ColumnVector v0, const double tol = 0.0)
{
  ColumnVector v (v0.length ());
  register int i, j;
  for (i = j = 0; i < v.length (); i++)
    if (tol < std::abs (v0 (i)))
      {
	v (j) = v0 (i);
	j++;
      }
  if (0 == j)
    {
      return *new ColumnVector ();

Modified mttroot/mtt/cc/parse_m2cc.cc from [9dadb09da4] to [63533e5b8d].

1
2



3
4
5
6
7
8
9
/* $Id$
 * $Log$



 * Revision 1.1.2.2  2001/03/09 04:01:20  geraint
 * \ escapes newline.
 *
 * Revision 1.1.2.1  2001/03/09 02:59:26  geraint
 * got_comment: (char)c no longer compared to (int)EOF.
 *
 * Revision 1.1  2000/12/28 09:46:05  peterg


>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
/* $Id$
 * $Log$
 * Revision 1.2  2001/03/19 02:28:53  geraint
 * Branch merge: merging-ode2odes-exe back to MAIN.
 *
 * Revision 1.1.2.2  2001/03/09 04:01:20  geraint
 * \ escapes newline.
 *
 * Revision 1.1.2.1  2001/03/09 02:59:26  geraint
 * got_comment: (char)c no longer compared to (int)EOF.
 *
 * Revision 1.1  2000/12/28 09:46:05  peterg
26
27
28
29
30
31
32


33
34
35
36
37
38
39
/*
 * Bracket.hh deals with nesting levels of parenthesis
 * just add Bracket pointer to string / stream
 */
#include "Bracket.hh"





/*
 * use lbrace, etc. in expressions to automate nesting calculations
 */
LeftBrace	*lbrace = new LeftBrace;
RightBrace	*rbrace = new RightBrace;








>
>







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Bracket.hh deals with nesting levels of parenthesis
 * just add Bracket pointer to string / stream
 */
#include "Bracket.hh"



using namespace std;

/*
 * use lbrace, etc. in expressions to automate nesting calculations
 */
LeftBrace	*lbrace = new LeftBrace;
RightBrace	*rbrace = new RightBrace;


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]