AddTerms Method
Name | Description | |
---|---|---|
![]() |
AddTerms(LinExpression) |
Add another linear expression to this expression.
(Overrides QuadExpressionAddTerms(LinExpression).) |
![]() |
AddTerms(QuadExpression) |
Add another quadratic expression to this expression.
(Overrides QuadExpressionAddTerms(QuadExpression).) |
![]() |
AddTerms(LinExpression, Double) |
Add another linear expression to this expression.
(Overrides QuadExpressionAddTerms(LinExpression, Double).) |
![]() |
AddTerms(QuadExpression, Double) |
Add another quadratic expression to this expression.
(Overrides QuadExpressionAddTerms(QuadExpression, Double).) |
![]() |
AddTerms(Variable, Double) |
Add multiple terms to this expression. Adds the scalar product defined by the two parallel arrays to this expression. This function is equivalent to
(Overrides QuadExpressionAddTerms(Variable, Double).)for (int i = 0; i < variables.Length; ++i) AddTerm(variables[i], coefficients[i]); |
![]() |
AddTerms(ICollectionVariable, ICollectionDouble) |
Add multiple linear terms to this expression. Adds the scalar product defined by the two parallel collections to this expression.
(Overrides QuadExpressionAddTerms(ICollectionVariable, ICollectionDouble).) |
![]() |
AddTerms(Variable, Variable, Double) |
Add multiple terms to this expression. Adds the scalar product defined by the three parallel arrays to this expression. This function is equivalent to
(Overrides QuadExpressionAddTerms(Variable, Variable, Double).)for (int i = 0; i < variables.Length; ++i) AddTerm(variables1[i], variables2[i], coefficients[i]); |
![]() |
AddTerms(ICollectionVariable, ICollectionVariable, ICollectionDouble) |
Add multiple quadratic terms to this expression. Adds the scalar product defined by the three parallel collections to this expression.
(Overrides QuadExpressionAddTerms(ICollectionVariable, ICollectionVariable, ICollectionDouble).) |
![]() |
AddTerms(Variable, Double, Int32, Int32) |
Add multiple terms to this expression. Adds the scalar product defined by the two parallel arrays to this expression. The function only uses the slice of the two arrays that is indicated by
offset and
length. This function is equivalent to
(Overrides QuadExpressionAddTerms(Variable, Double, Int32, Int32).)for (int i = 0, j = offset; i < count; ++i, ++j) AddTerm(variables[j], coefficients[j]); |
![]() |
AddTerms(Variable, Variable, Double, Int32, Int32) |
Add multiple terms to this expression. Adds the scalar product defined by the three parallel arrays to this expression. The function only uses the slice of the two arrays that is indicated by
offset and
length. This function is equivalent to
(Overrides QuadExpressionAddTerms(Variable, Variable, Double, Int32, Int32).)for (int i = 0, j = offset; i < count; ++i, ++j) AddTerm(variables1[j], variables2[j], coefficients[j]); |
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.