{"id":20500591,"url":"https://github.com/juliaapproximation/piecewiseorthogonalpolynomials.jl","last_synced_at":"2025-08-10T06:39:24.161Z","repository":{"id":39860209,"uuid":"476324932","full_name":"JuliaApproximation/PiecewiseOrthogonalPolynomials.jl","owner":"JuliaApproximation","description":"A Julia package for piecewise spectral methods such as p-FEM","archived":false,"fork":false,"pushed_at":"2025-02-13T10:53:20.000Z","size":112,"stargazers_count":7,"open_issues_count":12,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-09T10:34:10.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaApproximation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-31T13:46:39.000Z","updated_at":"2025-03-05T01:50:04.000Z","dependencies_parsed_at":"2023-11-21T10:32:23.538Z","dependency_job_id":"4cbbc72f-4037-48c9-a724-2d6e52e3136b","html_url":"https://github.com/JuliaApproximation/PiecewiseOrthogonalPolynomials.jl","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaApproximation/PiecewiseOrthogonalPolynomials.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaApproximation%2FPiecewiseOrthogonalPolynomials.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaApproximation%2FPiecewiseOrthogonalPolynomials.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaApproximation%2FPiecewiseOrthogonalPolynomials.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaApproximation%2FPiecewiseOrthogonalPolynomials.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaApproximation","download_url":"https://codeload.github.com/JuliaApproximation/PiecewiseOrthogonalPolynomials.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaApproximation%2FPiecewiseOrthogonalPolynomials.jl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269687951,"owners_count":24459394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T18:21:50.203Z","updated_at":"2025-08-10T06:39:24.128Z","avatar_url":"https://github.com/JuliaApproximation.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiecewiseOrthogonalPolynomials.jl\nA Julia package for piecewise orthogonal polynomials which can be used in p-FEM\n\n\nWe can make piecewise integrated-Legendre bases using the quasi-matrix `ContinuousPolynomial{1}`:\n```julia\nusing PiecewiseOrthogonalPolynomials, Plots\n\n𝐗 = range(-1,1; length=4)\nC = ContinuousPolynomial{1}(𝐗)\nplot(C[:,Block(1)])\n```\n```julia\nplot(C[:,Block.(2:3)])\n```\n\nThe mass matrix can be constructed via:\n```julia\nM = C'C\n```\nWe can also construct the stiffness matrix:\n```julia\nΔ = weaklaplacian(C)\n```\n\nWe can truncate as follows:\n```julia\nN = 10\nKR = Block.(Base.OneTo(N))\nMₙ = M[KR,KR]\nΔₙ = Δ[KR,KR]\n```\n\nWe can compute the reverse Cholesky in optimal complexity:\n```julia\nusing MatrixFactorizations\nL = reversecholesky(Symmetric(-Δₙ + Mₙ)).L\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaapproximation%2Fpiecewiseorthogonalpolynomials.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliaapproximation%2Fpiecewiseorthogonalpolynomials.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliaapproximation%2Fpiecewiseorthogonalpolynomials.jl/lists"}