Tensor Expressions
Tensor Expression
Description
The templated class tensor_expression<T,E>
is required to be a public
base of all classes. There is no Tensor Expression concept defined.
Definition
Defined in the header tensor/expression.hpp.
Model of
None. Not a Tensor Expression!
Type requirements
None.
Public base classes
ublas_expression<E>
.
Template parameters
Parameter |
Description |
|
The type of the tensor. |
|
The type of the tensor expression. |
Member types
Member type |
Description |
|
Type of the derived expression which is |
|
Tag for categorization which is |
|
Reference type which is |
Public Member Functions
Member | Description |
---|---|
|
Returns a |
Entrywise Tensor Operations
Binary Tensor Expression
Description
The templated class binary_tensor_expression<T,EL,ER,OP>
contains a
constant reference to a left and right expression that can be evaluated
by using the access operator.
Definition
Defined in the header tensor/expression.hpp.
Model of
Tensor Expression
Type requirements
None.
Public base classes
tensor_expression<T,binary_tensor_expression<T,EL,ER,OP>>
Template parameters
Parameter |
Description |
|
Type of the tensor. |
|
Type of the left binary tensor expression. |
|
Type of the right binary tensor expression. |
|
Type of the binary operation. |
Member types
Member type |
Description |
|
Type of the left expression which is |
|
Type of the right expression which is |
|
Reference type which is |
|
Type of the binary operation which is |
Public Member Functions
Member | Description |
---|---|
|
Returns a |
Unary Tensor Expression
Description
The templated class unary_tensor_expression<T,E,OP>
contains a
constant reference to an expression that can be evaluated by using the
access operator.
Definition
Defined in the header tensor/expression.hpp.
Model of
Tensor Expression
Type requirements
None.
Public base classes
tensor_expression<T,unary_tensor_expression<T,E,OP>>
Template parameters
Parameter |
Description |
|
Type of the tensor. |
|
Type of the unary tensor expression. |
|
Type of the unary operation. |
Member types
Member type |
Description |
|
Type of the expression which is |
|
Reference type which is |
|
Type of the unary operation which is |
Public Member Functions
Member | Description |
---|---|
|
Returns a |
Copyright (©) 2018 Cem Bassoy
Copyright (©) 2021 Shikhar Vashistha
Use, modification and distribution are subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt ).