SyTen

◆ conj()

STensorProxy syten::STensorImpl::conj ( STensor const &  in,
SourceLocation const &  loc = SourceLocation::current() 
)

Creates a proxy which knows to complex-conjugate the input tensor when requested.

In particular, if the returned STensorProxy is converted to a STensor, a copy of in is taken; if it is involved in a procut, the request is forwarded to the appropriate tensor-tensor product.

Remarks
This function is autodifferentiable if complex scalars are used, as it creates a new independent tensor. If real scalars are used, it only corresponds to a transposition which in theory could be autodifferentiated through but in practice is not.

References syten::YesNo< struct _prod_conj >::y().

Referenced by syten::STensorImpl::Autodiff::ComputeNode::ComputeNode(), hermitize_by_copy(), make_zero(), normSqd(), syten::STensorImpl::STensorProxy::operator SDef(), syten::STensorImpl::STensorProxy::operator STensor(), operator*=(), overlap(), prod(), prod_impl_impl(), syten::STensorImpl::Autodiff::qr_adjoint_evaluator(), syten::STensorImpl::STensorProxy::STensorProxy(), syten::STensorImpl::Autodiff::svd_adjoint_evaluator(), and trace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: