9 for (
int i=0; i<3; ++i)
10 for (
int j=0; j<3; ++j)
22 for (
int i=0; i<3; ++i)
23 new_vec(i) = this->
Dot(that.
t[i]);
34 newVector.
x = that.
x*value;
35 newVector.
y = that.
y*value;
36 newVector.
z = that.
z*value;
47 for (
int i=0; i<3; ++i)
48 newVector(i) = t[i].
Dot(v);
59 for (
int i=0; i<3; ++i)
60 newVector(i) = t[i][i];
72 for (
int i=0; i<3; ++i)
74 for (
int j=0; j<3; ++j)
chi_mesh::Vector3 operator*(const double value, const chi_mesh::Vector3 &that)
double Dot(const VecDbl &x, const VecDbl &y)
std::vector< chi_mesh::Vector3 > t
Tensor entries.
Vector3 Dot(const chi_mesh::Vector3 &v) const
chi_mesh::Vector3 Diag() const
double operator[](const size_t i) const
Vector3 Dot(const chi_mesh::TensorRank2Dim3 &that) const
chi_mesh::TensorRank2Dim3 OTimes(const Vector3 &that) const