JuliaLang / JuliaLang/LinearAlgebra.jl

hessenberg/schur order of outputs

Open
#786 1 comment 0 reactions 0 assignees View on GitHub
breaking
Dominant language
Julia
Stars
77
Forks
65
Avg merge
3d 23h
Merged PRs (30d)
10

Description

Maybe there is a good reason for the current ordering, but otherwise I'd like to request that the schur function return its outputs in a different order.

The hessenberg function returns its outputs so that (v,s) = hessenberg(c) gives v*s*v' = c. In contrast, the schur function returns its outputs so that (u,r) = schur(c) gives r*u*r' = c. The order that the hessenberg function returns its outputs seems more natural (to me), but consistency across the two functions would be nice.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the hessenberg and schur function APIs and their documented output conventions. Check how each function's returned values are used before deciding whether a consistent ordering is feasible. Done means the intended ordering is agreed and the affected API behavior and callers are updated consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.