Skip to main content
`Ctrl`+`K`

# scipy.linalg.lapack.sgges

scipy.linalg.lapack.sgges(sselect, a, b[, jobvsl, jobvsr, sort_t, ldvsl, ldvsr, lwork, sselect_extra_args, overwrite_a, overwrite_b]) = <fortran function sgges>

  Wrapper for `sgges`.

  Parameters:
    sselect call-back function
    a input rank-2 array(‘f’) with bounds (lda,n)
    b input rank-2 array(‘f’) with bounds (ldb,n)
  Returns:
    a rank-2 array(‘f’) with bounds (lda,n)
    b rank-2 array(‘f’) with bounds (ldb,n)
    sdim int
    alphar rank-1 array(‘f’) with bounds (n)
    alphai rank-1 array(‘f’) with bounds (n)
    beta rank-1 array(‘f’) with bounds (n)
    vsl rank-2 array(‘f’) with bounds (ldvsl,n)
    vsr rank-2 array(‘f’) with bounds (ldvsr,n)
    work rank-1 array(‘f’) with bounds (MAX(lwork, 1))
    info int
  Other Parameters:
    jobvsl input int, optional

      Default: 1

    jobvsr input int, optional

      Default: 1

    sort_t input int, optional

      Default: 0

    sselect_extra_args input tuple, optional

      Default: ()

    overwrite_a input int, optional

      Default: 0

    overwrite_b input int, optional

      Default: 0

    ldvsl input int, optional

      Default: ((jobvsl==1)?n:1)

    ldvsr input int, optional

      Default: ((jobvsr==1)?n:1)

    lwork input int, optional

      Default: max(8*n+16,1)

  Notes

  Call-back functions:

      def sselect(alphar,alphai,beta): return sselect
      Required arguments:
          alphar : input float
          alphai : input float
          beta : input float
      Return objects:
          sselect : int