SyTen

◆ addScaled() [2/2]

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

Adds a MPS b, scaled by the scalar prefactor s to the MPS a, essentially a fused-multiply-add for MPS::State.

References syten::expansion(), syten::genCombinator(), syten::MPS::State::lIdx, syten::MPS::State::lInt, syten::MPS::State::maybeCache(), syten::MPS::State::rIdx, syten::MPS::State::rInt, syten::MPS::State::size(), SYTEN_ASSERT_DEBUG, and syten::MPS::State::uInt.

+ Here is the call graph for this function: