Kindfield
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Friends
Pages
src
math
vector3.cpp
Go to the documentation of this file.
1
//#include <boost/mpi.hpp>
2
3
#include "
vector3.h
"
4
10
std::ostream&
operator<<
(std::ostream &out,
const
Vector3
&vector)
11
{
12
out << vector.
mem_local
[0] <<
", "
<< vector.
mem_local
[1] <<
", "
<< vector.
mem_local
[2];
13
return
out;
14
}
15
16
Vector3
Vector3::ones
()
17
{
18
return
Vector3
(1,1,1);
19
}
20
21
22
Vector3
Vector3::createZeros
()
23
{
24
return
Vector3
(0,0,0);
25
}
Generated on Sun Jun 22 2014 14:02:46 for Kindfield by
1.8.4