1# ifndef _RHEOLEF_TENSOR4_H
2# define _RHEOLEF_TENSOR4_H
74#include "rheolef/point.h"
75#include "rheolef/tensor.h"
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
std::ostream & put(std::ostream &out, size_type d=3) const
tensor_basic< T > & operator()(size_type i, size_type j)
tensor4_basic(const tensor4_basic< T > &a)
tensor4_basic< T > operator+(const tensor4_basic< T > &b) const
tensor4_basic(const std::initializer_list< std::initializer_list< std::initializer_list< std::initializer_list< T > > > > &il)
tensor4_basic< T > operator-(const tensor4_basic< T > &b) const
const tensor_basic< T > & operator()(size_type i, size_type j) const
tensor_basic< tensor_basic< S > > _x
tensor4_basic< T > & operator-=(const tensor4_basic< T > &)
tensor4_basic< T > & operator/=(const T &k)
tensor4_basic(const T &init_val)
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)
const T & operator()(size_type i, size_type j, size_type k, size_type l) const
static tensor4_basic< T > eye(size_type d=3)
tensor4_basic< T > operator/(const T &k) const
T & operator()(size_type i, size_type j, size_type k, size_type l)
rheolef::std::enable_if< details::is_field_expr_v2_nonlinear_arg< Expr1 >::value &&! details::is_field_expr_v2_constant< Expr1 >::value &&details::is_field_expr_v2_nonlinear_arg< Expr2 >::value &&! details::is_field_expr_v2_constant< Expr2 >::value, details::field_expr_v2_nonlinear_node_binary< details::function_traits< Function >::functor_type, details::field_expr_v2_nonlinear_terminal_wrapper_traits< Expr1 >::type, details::field_expr_v2_nonlinear_terminal_wrapper_traits< Expr2 >::type > > type
see the tensor4 page for the full documentation
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
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