Searched refs:summand (Results 1 - 7 of 7) sorted by relevance

/haiku/src/libs/linprog/
H A DSummand.cpp12 Summand::Summand(Summand* summand) argument
14 fCoeff(summand->Coeff()),
15 fVar(summand->Var())
37 * @return the summand's coefficient
59 * Gets the summand's variable.
61 * @return the summand's variable
71 * Sets the summand's variable.
H A DConstraint.cpp52 Summand* summand = orgSummands->ItemAt(i); local
53 fLeftSide->AddItem(new Summand(summand));
102 Summand* summand = summands->ItemAt(i); local
105 if (summand->Var() == nextSummand->Var()) {
106 summand->SetCoeff(summand->Coeff() + nextSummand->Coeff());
H A DLayoutOptimizer.cpp530 Summand* summand = summands->ItemAt(s); local
531 int32 variable = summand->Var()->Index();
533 fSoftConstraints[c][variable] = -summand->Coeff();
535 fSoftConstraints[c][variable] = summand->Coeff();
571 Summand* summand = summands->ItemAt(s); local
572 int32 variable = summand->Var()->Index();
573 value += values[variable] * summand->Coeff();
735 Summand* summand = summands->ItemAt(s); local
736 int32 variable = summand->Var()->Index();
738 fActiveMatrix[i][variable] = -summand
[all...]
H A DActiveSetSolver.cpp486 Summand* summand = leftSide->ItemAt(sIndex); local
487 double coefficient = summand->Coeff();
488 int32 columnIndex = summand->VariableIndex();
H A DLinearSpec.cpp201 Summand* summand = summands->ItemAt(j); local
202 if (summand->Var() == variable) {
404 * Adds a new soft linear constraint to the specification with a single summand.
/haiku/headers/libs/linprog/
H A DSummand.h18 * A summand of a linear term.
22 Summand(Summand* summand);
/haiku/src/libs/alm/
H A DSharedSolver.cpp334 Summand* summand = leftSide->ItemAt(i); local
335 Variable* var = summand->Var();
344 double coefficient = summand->Coeff();

Completed in 77 milliseconds