Some generic, useful types
- Double -> double - DoubleVector -> std::vector<Double> - TVector -> DoubleVector
This commit is contained in:
		
							parent
							
								
									e5cb9be1aa
								
							
						
					
					
						commit
						cf7806484f
					
				
					 1 changed files with 23 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								src/types.hh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/types.hh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,23 @@
 | 
			
		|||
/* types.hh
 | 
			
		||||
 * vim: set tw=80:
 | 
			
		||||
 * Eryn Wells <eryn@erynwells.me>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef __CHARLES_TYPES_HH__
 | 
			
		||||
#define __CHARLES_TYPES_HH__
 | 
			
		||||
 | 
			
		||||
#include <vector>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
namespace charles {
 | 
			
		||||
 | 
			
		||||
/* Basic types */
 | 
			
		||||
typedef double Double;
 | 
			
		||||
 | 
			
		||||
typedef std::vector<Double> DoubleVector;
 | 
			
		||||
typedef DoubleVector TVector;
 | 
			
		||||
 | 
			
		||||
} /* namespace charles */
 | 
			
		||||
 | 
			
		||||
#endif /* __CHARLES_TYPES_HH__ */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue