PathToPerformance

Same function, different behaviors. How do you get that?

Fortran

Sorting in ARPACK.

c  WHICH   Character*2.  (Input)
  c          'LM' -> X1 is sorted into increasing order of magnitude.
  c          'SM' -> X1 is sorted into decreasing order of magnitude.
  c          'LA' -> X1 is sorted into increasing order of algebraic.
  c          'SA' -> X1 is sorted into decreasing order of algebraic.

Python

C++