einsums::blas::vendor::sgees#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/BLASVendor/Vendor.hpp.

int_t sgees(char jobvs, int_t n, float *a, int_t lda, int_t *sdim, float *wr, float *wi, float *vs, int_t ldvs)#

Perform Schur decomposition on a matrix.

Added in version 1.0.0.

Parameters:
  • jobvs – Whether to compute the Schur vectors. Case insensitive. Can be either ‘n’ or ‘v’.

  • n – The number of rows and columns in the matrix.

  • a – The matrix to decompose.

  • lda – The leading dimension of the matrix.

  • sdim – The dimensions of the Schur blocks.

  • wr – The real component of the eigenvalues.

  • wi – The imaginary component of the eigenvalues.

  • vs – The Schur vectors.

  • ldvs – The leading dimension of the Schur vectors. Even if not referenced, it needs to be at least 1.

Returns:

0 on success. If positive and at most n , then the algorithm did not converge. If n + 1 then the eigenvalues could not be sorted due to the problem being ill-conditioned. If n + 2 then roundoff changed some of the values after reordering. If negative, then one of the parameters had an invalid value. The absolute value gives the parameter.