SyTen
stensor_prod.h File Reference

Products of smart tensors. More...

+ Include dependency graph for stensor_prod.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::STensorImpl
 Contains all ‘smart’ tensor related classes and functions.
 
namespace  syten::STensorImpl::Autodiff
 Contains classes and functions to deal with autodifferentiation of STensor objects.
 

Functions

void syten::STensorImpl::Autodiff::create_product_differentiable (STensorProxy const &a, STensorProxy const &b, STensor &return_value)
 Sets the compute nodes of the tensor return_value to represent the product of tensor proxies a and b. More...
 
STensor syten::STensorImpl::norm (STensor const &t, SourceLocation const &loc=SourceLocation::current())
 Returns the norm of a tensor as a rank-0 STensor. More...
 
STensor syten::STensorImpl::normSqd (STensor const &t, SourceLocation const &loc=SourceLocation::current())
 Returns the squared norm of a tensor. More...
 
STensor syten::STensorImpl::overlap (STensor const &a, STensor const &b, SourceLocation const &loc=SourceLocation::current())
 Takes the overlap of two STensor objects. More...
 
STensor syten::STensorImpl::prod (SDef const &value, STensorProxy const &tensor)
 Scales the tensor tensor by the scalar value value. More...
 
STensor syten::STensorImpl::prod (STensorProxy const &a, STensorProxy const &b, SourceLocation const &loc=SourceLocation::current())
 Contracts tensors a and b over all common indices. More...
 
STensor syten::STensorImpl::prod (STensorProxy const &tensor, SDef const &value)
 Scales the tensor tensor by the scalar value value. More...
 
SRDef syten::STensorImpl::snorm (STensor const &t, SourceLocation const &loc=SourceLocation::current())
 Returns the norm of a tensor as a standard scalar. More...
 

Detailed Description

Products of smart tensors.