Skip to main content
`Ctrl`+`K`

# scipy.linalg.lapack.stgsen

scipy.linalg.lapack.stgsen(select, a, b, q, z[, ijob, wantq, wantz, lwork, liwork, overwrite_a, overwrite_b, overwrite_q, overwrite_z]) = <fortran function stgsen>

  Wrapper for `stgsen`.

  Parameters:
    selectinput rank-1 array(‘i’) with bounds (n)
    ainput rank-2 array(‘f’) with bounds (n,n)
    binput rank-2 array(‘f’) with bounds (n,n)
    qinput rank-2 array(‘f’) with bounds (n,n)
    zinput rank-2 array(‘f’) with bounds (n,n)
  Returns:
    asrank-2 array(‘f’) with bounds (n,n) and a storage
    bsrank-2 array(‘f’) with bounds (n,n) and b storage
    alpharrank-1 array(‘f’) with bounds (n)
    alphairank-1 array(‘f’) with bounds (n)
    betarank-1 array(‘f’) with bounds (n)
    qsrank-2 array(‘f’) with bounds (n,n) and q storage
    zsrank-2 array(‘f’) with bounds (n,n) and z storage
    mint
    plfloat
    prfloat
    difrank-1 array(‘f’) with bounds (2)
    infoint
  Other Parameters:
    ijobinput int, optional

      Default: 4

    wantqinput int, optional

      Default: 1

    wantzinput int, optional

      Default: 1

    overwrite_ainput int, optional

      Default: 0

    overwrite_binput int, optional

      Default: 0

    overwrite_qinput int, optional

      Default: 0

    overwrite_zinput int, optional

      Default: 0

    lworkinput int, optional

      Default: 4*n+16

    liworkinput int, optional

      Default: n+6