48 this->v_[XX] = st.
ii(); this->v_[XY] = 0;
49 this->v_[YX] = 0; this->v_[YY] = st.
ii();
60 this->v_[XX] = x.
x(); this->v_[XY] = x.
y();
61 this->v_[YX] = y.
x(); this->v_[YY] = y.
y();
68 const Cmpt txx,
const Cmpt txy,
69 const Cmpt tyx,
const Cmpt tyy
72 this->v_[XX] = txx; this->v_[XY] = txy;
73 this->v_[YX] = tyx; this->v_[YY] = tyy;
105 template <
class Cmpt>
111 template <
class Cmpt>
117 template <
class Cmpt>
124 template <
class Cmpt>
130 template <
class Cmpt>
136 template <
class Cmpt>
142 template <
class Cmpt>
149 template <
class Cmpt>
162 template <
class Cmpt>
165 this->v_[XX] = st.
ii(); this->v_[XY] = 0;
166 this->v_[YX] = 0; this->v_[YY] = st.
ii();
174 template <
class Cmpt>
189 template <
class Cmpt>
190 inline typename innerProduct<Tensor2D<Cmpt>, Vector2D<Cmpt> >
::type
195 t.
xx()*v.
x() + t.
xy()*v.
y(),
196 t.
yx()*v.
x() + t.
yy()*v.
y()
201 template <
class Cmpt>
202 inline typename innerProduct<Vector2D<Cmpt>, Tensor2D<Cmpt> >
::type
207 v.
x()*t.
xx() + v.
y()*t.
yx(),
208 v.
x()*t.
xy() + v.
y()*t.
yy()
213 template <
class Cmpt>
214 inline typename outerProduct<Vector2D<Cmpt>, Vector2D<Cmpt> >
::type
219 v1.
x()*v2.
x(), v1.
x()*v2.
y(),
220 v1.
y()*v2.
x(), v1.
y()*v2.
y()
226 template <
class Cmpt>
229 return t.
xx() + t.
yy();
234 template <
class Cmpt>
242 template <
class Cmpt>
247 t.
xx(), 0.5*(t.
xy() + t.
yx()),
248 0.5*(t.
yx() + t.
xy()), t.
yy()
253 template <
class Cmpt>
264 template <
class Cmpt>
269 0.0, 0.5*(t.
xy() - t.
yx()),
270 0.5*(t.
yx() - t.
xy()), 0.0
276 template <
class Cmpt>
284 template <
class Cmpt>
292 template <
class Cmpt>
295 return(t.
xx()*t.
yy() - t.
xy()*t.
yx());
300 template <
class Cmpt>
312 template <
class Cmpt>
320 template <
class Cmpt>
328 template <
class Cmpt>
336 template <
class Cmpt>
352 template <
class Cmpt>
361 template <
class Cmpt>
362 inline Tensor2D<Cmpt>
367 st1.
ii() + t2.
xx(), t2.
xy(),
368 t2.
yx(), st1.
ii() + t2.
yy()
373 template <
class Cmpt>
374 inline Tensor2D<Cmpt>
379 t1.
xx() + st2.
ii(), t1.
xy(),
380 t1.
yx(), t1.
yy() + st2.
ii()
385 template <
class Cmpt>
386 inline Tensor2D<Cmpt>
391 st1.
ii() - t2.
xx(), -t2.
xy(),
392 -t2.
yx(), st1.
ii() - t2.
yy()
397 template <
class Cmpt>
398 inline Tensor2D<Cmpt>
403 t1.
xx() - st2.
ii(), t1.
xy(),
404 t1.
yx(), t1.
yy() - st2.
ii()
410 template <
class Cmpt>
411 inline Tensor2D<Cmpt>
425 template <
class Cmpt>
426 inline Tensor2D<Cmpt>
441 template <
class Cmpt>
445 return(st1.
ii()*t2.
xx() + st1.
ii()*t2.
yy());
450 template <
class Cmpt>
454 return(t1.
xx()*st2.
ii() + t1.
yy()*st2.
ii());