Initializing help system before first use

# QuadCoef

- java.lang.Object
- - com.dashoptimization.objects.QuadCoef

-     public final class QuadCoef
      extends java.lang.Object

  A quadratic coefficient. A quadratic coefficient is a (variable,variable)/value pair that gives the factor for a pair of variables in a quadratic expression.
  Since:
    43.00

- - ### Constructor Summary

    Constructor | Description
    --- | ---
    `QuadCoef()` | Create a coefficient with default values.
    `QuadCoef​(QPair variables, double coefficient)` | Create a new coefficient.
    `QuadCoef​(QuadCoef other)` |
    `QuadCoef​(Variable var1, Variable var2, double coefficient)` | Create a new coefficient.

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `double` | `getCoefficient()` |
    `Variable` | `getVar1()` | Get the first variable in this quadratic coefficient.
    `Variable` | `getVar2()` | Get the second variable in this quadratic coefficient.
    `QPair` | `getVariables()` |

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### QuadCoef

          public QuadCoef​(QPair variables,
                          double coefficient)

      Create a new coefficient.
      Parameters:
        `variables` - The variables in the new coefficient.
        `coefficient` - Value multiplying the variables in the new coefficient.
      Since:
        43.00

    - #### QuadCoef

          public QuadCoef​(Variable var1,
                          Variable var2,
                          double coefficient)

      Create a new coefficient. Note that the constructor puts `var1` and `var2` into a canonical ordering and may thus change their order.
      Parameters:
        `var1` - First variable in new coefficient.
        `var2` - Second variable in new coefficient.
        `coefficient` - Value multiplying the variables in new coefficient.
      Since:
        43.00

    - #### QuadCoef

          public QuadCoef​(QuadCoef other)

      Since:
        43.00

    - #### QuadCoef

          public QuadCoef()

      Create a coefficient with default values.
      Since:
        44.00

  - ### Method Detail

    - #### getVariables

          public QPair getVariables()

    - #### getCoefficient

          public double getCoefficient()

    - #### getVar1

          public Variable getVar1()

      Get the first variable in this quadratic coefficient.
      Returns:
        The first variable in this quadratic coefficient.
      Since:
        43.00

    - #### getVar2

          public Variable getVar2()

      Get the second variable in this quadratic coefficient.
      Returns:
        The second variable in this quadratic coefficient.
      Since:
        43.00

Parent Topic Class Summary

© 2001-2026 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.