SyTen

◆ addScaled()

void syten::BTT::addScaled ( State a,
State const &  b,
SDef  s 
)

Adds b, scaled by s, to a.

References syten::BinaryTree::Node< T >::a, syten::BTT::State::aIdx, syten::BinaryTree::Node< T >::b, syten::BTT::State::bIdx, syten::expansion(), syten::genCombinator(), syten::Cached< Type >::maybeCache(), syten::BTT::State::pIdx, syten::BTT::State::pleaseCache, syten::BinaryTree::Tree< T >::r, syten::BTT::State::rIdx, syten::BTT::State::state_add_rec(), SYTEN_ASSERT_DEBUG, and syten::BinaryTree::Node< T >::v.

Referenced by syten::BTT::State::load().

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