1# ifndef _RHEOLEF_TENSOR4_H
2# define _RHEOLEF_TENSOR4_H
74#include "rheolef/point.h"
75#include "rheolef/tensor.h"
94 tensor4_basic (
const std::initializer_list<std::initializer_list<
95 std::initializer_list<std::initializer_list<T> > > >& il);
141T norm2 (
const tensor4_basic<T>&);
144tensor_basic<T>
ddot (
const tensor4_basic<T>&,
const tensor_basic<T>&);
147tensor_basic<T>
ddot (
const tensor_basic<T>&,
const tensor4_basic<T>&);
150tensor4_basic<T>
dexp (
const tensor_basic<T>& a,
size_t d = 3);
214template <
class T,
class U>
218 details::is_rheolef_arithmetic<U>::value
field::size_type size_type
std::ostream & put(std::ostream &out, size_type d=3) const
tensor4_basic< T > operator+(const tensor4_basic< T > &b) const
tensor4_basic< T > operator-(const tensor4_basic< T > &b) const
tensor_basic< tensor_basic< T > > _x
tensor4_basic< T > & operator-=(const tensor4_basic< T > &)
tensor4_basic< T > & operator/=(const T &k)
tensor4_basic< T > & operator+=(const tensor4_basic< T > &)
tensor4_basic< T > operator*(const T &k) const
tensor4_basic< T > & operator*=(const T &k)
tensor4_basic< T > & operator=(const tensor4_basic< T > &a)
tensor4_basic< T > operator/(const T &k) const
T & operator()(size_type i, size_type j, size_type k, size_type l)
tensor4_basic< Float > tensor4
This file is part of Rheolef.
T ddot(const tensor_basic< T > &a, const tensor_basic< T > &b)
ddot(x,y): see the expression page for the full documentation
std::ostream & operator<<(std::ostream &os, const catchmark &m)
T norm2(const vec< T, M > &x)
norm2(x): see the expression page for the full documentation
solver_basic< Float > eye()
see the eye page for the full documentation
tensor4_basic< T > dexp(const tensor_basic< T > &chi, size_t dim)
std::istream & operator>>(std::istream &is, const catchmark &m)
csr< T, sequential > operator*(const T &lambda, const csr< T, sequential > &a)
T norm(const vec< T, M > &x)
norm(x): see the expression page for the full documentation
float_traits< T >::type type
helper for std::complex<T>: get basic T type
helper for point_basic<T> & tensor_basic<T>: get basic T type