Class KNonLinearTerm

java.lang.Object
com.artelys.kalis.KTerm
com.artelys.kalis.KNonLinearTerm

public class KNonLinearTerm extends KTerm
This class represent a non linear term.

Example :

	X + 3 * Y ^ 3


Since:
2016.1
See Also:
KNumLinComb
  • Constructor Details

    • KNonLinearTerm

      protected KNonLinearTerm(long cPtr, boolean cMemoryOwn)
    • KNonLinearTerm

      public KNonLinearTerm()
    • KNonLinearTerm

      public KNonLinearTerm(double cste)
    • KNonLinearTerm

      public KNonLinearTerm(KNonLinearTerm LEFT, KNonLinearTerm RIGHT, int OPERATOR)
    • KNonLinearTerm

      public KNonLinearTerm(KLinTerm X)
    • KNonLinearTerm

      public KNonLinearTerm(KNumVar X)
    • KNonLinearTerm

      public KNonLinearTerm(KNonLinearTerm LEFT, int FCT)
    • KNonLinearTerm

      public KNonLinearTerm(KNonLinearTerm LEFT, int EXP, int FCT)
    • KNonLinearTerm

      public KNonLinearTerm(KNonLinearTerm toCopy)
  • Method Details

    • getCPtr

      protected static long getCPtr(KNonLinearTerm obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class KTerm
    • delete

      public void delete()
      Overrides:
      delete in class KTerm
    • setVar

      public void setVar(KNumVar value)
    • getVar

      public KNumVar getVar()
    • setLinTerm

      public void setLinTerm(KLinTerm value)
    • getLinTerm

      public KLinTerm getLinTerm()
    • setFct

      public void setFct(int value)
    • getFct

      public int getFct()
    • setOp

      public void setOp(int value)
    • getOp

      public int getOp()
    • setExp

      public void setExp(int value)
    • getExp

      public int getExp()
    • setLeft

      public void setLeft(KNonLinearTerm value)
    • getLeft

      public KNonLinearTerm getLeft()
    • setRight

      public void setRight(KNonLinearTerm value)
    • getRight

      public KNonLinearTerm getRight()
    • getCopyPtr

      public KNonLinearTerm getCopyPtr()
    • print

      public void print(com.artelys.kalis.SWIGTYPE_p_std__ostream fout)
    • print

      public void print()
      Description copied from class: KTerm
      pretty print method
      Overrides:
      print in class KTerm
    • print

      public void print(com.artelys.kalis.SWIGTYPE_p_void ctx, com.artelys.kalis.SWIGTYPE_p_f_p_void_p_q_const__char__int pfp)
      Overrides:
      print in class KTerm
    • postNonLinearEpression

      public void postNonLinearEpression(KProblem prob)
    • getProblem

      public KProblem getProblem()
      returns the KProblem associated with this variable