JuliaMath / JuliaMath/Polynomials.jl

Question: old type `Poly{T}` -- replacement?

Open
#585 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
320
Forks
80
Avg merge
8h 46m
Merged PRs (30d)
3

Description

I just dug up some old code from 2020, or so, where I used the `Polynomials.jl` package.

One of my constructs doesn't work any more,

```julia
#
# Routine to find the vector of column degrees
#
function col_deg(M::Matrix{Poly{T}}) where T<:Number
return maximum(length.(coeffs.(M)),dims=1)[:].-1
end
```

Seems like `Poly{T}` doesn't exist any more.
* Has `Poly{T}` been replaced by another type?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `col_deg` example in the issue and inspect the current Polynomials.jl type definitions and `coeffs` entry point. Confirm which current type replaces `Poly{T}` and that the equivalent column-degree routine can use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.