Interval package: Difference between revisions

Jump to navigation Jump to search
m
Line 484: Line 484:
  # INTLAB intervals
  # INTLAB intervals
  A1 = infsup (2, 3);
  A1 = infsup (2, 3);
  M1 = midrad (0, 2);
  B1 = hull (-4, A1);
C1 = midrad (0, 2);
  # Interval package intervals
  # Interval package intervals
  pkg load interval
  pkg load interval
  A2 = infsup (2, 3);
  A2 = infsup (2, 3);
  M2 = midrad (0, 2);
  B2 = hull (-4, A2);
C2 = midrad (0, 2);
  pkg unload interval
  pkg unload interval
   
   
  # Computation with INTLAB
  # Computation with INTLAB
  A1 + M1
  A1 + B1 * C1
  # Computation without INTLAB
  # Computation without INTLAB
  A2 + M2
  A2 + B2 * C2


== Related work ==
== Related work ==
240

edits

Navigation menu