Subversion Repositories gelsvn

Rev

Rev 10 | Rev 43 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 12
Line 3... Line 3...
3
 
3
 
4
#include <iostream>
4
#include <iostream>
5
#include "CGLA.h"
5
#include "CGLA.h"
6
 
6
 
7
 
7
 
8
namespace CGLA {
8
namespace CGLA 
-
 
9
{
9
 
10
 
10
	/** The ArithVec class template represents a generic arithmetic
11
  /** The ArithVec class template represents a generic arithmetic
11
			vector.  The three parameters to the template are
12
      vector.  The three parameters to the template are
12
 
13
 
13
			T - the scalar type (i.e. float, int, double etc.)
14
      T - the scalar type (i.e. float, int, double etc.)
Line 41... Line 42...
41
 
42
 
42
		//----------------------------------------------------------------------
43
      //----------------------------------------------------------------------
43
		// Constructors
44
      // Constructors
44
		//----------------------------------------------------------------------
45
      //----------------------------------------------------------------------
45
 
46
 
46
		/// Construct 0 vector
47
      /// Construct uninitialized vector
47
		ArithVec() 
48
      ArithVec() 
48
		{
49
	{
49
		}
50
	}
50
 
51
 
51
		/// Construct a vector where all coordinates are identical
52
      /// Construct a vector where all coordinates are identical