SyTen

◆ create_primer()

ComputeNodePtr syten::STensorImpl::Autodiff::create_primer ( ComputeNodePtr  input_node_ptr,
Size  input_node_number,
STensorId  output_id,
std::int8_t  value,
SBasis  unprimed_basis,
STensor const &  shapelike 
)

Helper to create a priming ComputeNode and a return a shared pointer to it.

References syten::STensorImpl::SBasis::cprime(), create(), syten::STensorImpl::SBasis::f(), syten::STensorImpl::gen_io(), syten::STensorImpl::SBasis::get_id(), syten::STensorImpl::make_zero(), syten::mve(), std::stringstream::str(), SYTEN_ASSERT_MSG, and syten::to_string_def().

Referenced by syten::STensorImpl::STensorProxy::prime(), syten::STensorImpl::STensor::prime(), syten::STensorImpl::STensorProxy::prime_all(), and syten::STensorImpl::STensor::prime_all().

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