SyTen

◆ operator*=() [1/2]

STensor & syten::STensorImpl::operator*= ( STensor a,
SDef const &  b 
)

Scaling of one STensor by a scalar.

Remarks
This function is autodifferentiable.

References syten::STensorImpl::STensor::autodiff_enabled(), syten::STensorImpl::STensor::get_autodiff(), syten::STensorImpl::Autodiff::ComputeNode::get_output_adjoint(), if_constexpr, make_zero(), syten::mve(), syten::STensorImpl::STensor::new_autodiff_id(), prod(), syten::STensorImpl::STensor::set_autodiff_node(), SYTEN_TENSOR_RANK, syten::to_string_def(), and syten::STensorImpl::STensor::visit().

+ Here is the call graph for this function: