Code Monkey home page Code Monkey logo

matrixpencils.jl's People

Contributors

andreasvarga avatar baggepinnen avatar juliatagbot avatar staticfloat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

matrixpencils.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Is this of any help...

Hi, I started sketching out a package for Rational Functions based on Polynomials. The code is here https://github.com/jverzani/PolynomialRatios.jl . I don't know if it is helpful to you, but I could replicate the RationalFunctions code you have and include the transfer function type as a subtype of AbtractRationalFunction. Were I to do so, would I just include the methods you've defined in https://github.com/andreasvarga/DescriptorSystems.jl/blob/main/src/types/RationalFunction.jl or are there more elsewhere in the code base?

Exception in tgsyl! subfunction

The subfunction tgsyl! throw an exception while applying the function

fiblkdiag(A, E, missing, missing; fast=false, finite_infinite = true)

to the regular pencil

A = [-8.828446764485715e7 0.0 0.0 0.0 1.0 0.0; 0.0 -599202.6439090811 0.0 0.0 1.0 0.0; 0.0 0.0 -44599.09517911089 3.1081161629028176e6 2.0 0.0; 0.0 0.0 -3.1081161629028176e6 -44599.09517911089 0.0 0.0; 0.0 0.0 0.0 0.0 -1.0 0.0; 1.4376687293449677e10 33249.50029419384 29200.436106193243 22920.479599602455 -161.90134290419934 -1.0]

E = [1.0 0.0 0.0 0.0 0.0 0.0; 0.0 1.0 0.0 0.0 0.0 0.0; 0.0 0.0 1.0 0.0 0.0 0.0; 0.0 0.0 0.0 1.0 0.0 0.0; 0.0 0.0 0.0 0.0 0.0 0.0; 0.0 0.0 0.0 0.0 -1.8422498299893581e-6 0.0]

The same happens in the sylvsys function (package MatrixEquations) when computing the Weierstrass canonical form as in

http://www.control.isy.liu.se/research/reports/2004/2602.pdf

while using the fischur function for diagonalisation.

Do you have any suggestions for solving this problem?

Problem with Minimal Realization in `ControlSystems.jl` package...

Today, minreal works on Windows 11/ Julia v1.9. THANKS!

The result from minreal is, however, "wrong" -- or perhaps extremely sensitive to tolerances...

Here is my system eigenvalues -- I insert copyable matrices for the system below:
image

From physics, there should be 4 states (independent differential equations) and 2 algebraic equations.

  • If I apply the minreal function to the system with default tolerances, the system is reduced to a 3 state ODE.
  • If I specify the relative tolerance rtol, the system minimal realization has 3 states all the way to rtol=1e-16.
  • If I specify relative tolerance at rtol=1e-17, the minimal realization gives 1 state
  • If I specify relative tolerance rtol at 1e-18 and smaller, the minimal realization gives 6 states
A = [-6.537773175952662 0.0 0.0 0.0 -9.892378564622923e-9 0.0; 0.0 -6.537773175952662 0.0 0.0 0.0 -9.892378564622923e-9; 2.0163803998106024e8 2.0163803998106024e8 -0.006223894167415392 -1.551620418759878e8 0.002358202548321148 0.002358202548321148; 0.0 0.0 5.063545034365582e-9 -0.4479539754649166 0.0 0.0; -2.824060629317756e8 2.0198389074625736e8 -0.006234569427701143 -1.5542817673286995e8 -0.7305736722226711 0.0023622473513548576; 2.0198389074625736e8 -2.824060629317756e8 -0.006234569427701143 -1.5542817673286995e8 0.0023622473513548576 -0.7305736722226711]

B = [0.004019511633336128; 0.004019511633336128; 0.0; 0.0; 297809.51426114445; 297809.51426114445]

C = [0.0 0.0 0.0 1.0 0.0 0.0]

D = [0.0]

linsys = ss(A,B,C,D)

Failure loading libblastrampoline on julia v1.9

Hello Andreas, hope you're doing well!

A user of ControlSystems.jl recently reported an error calling lsminreal in Julia v1.9 running on Windows.
The error looks like this
error

(minreal is a thin wrapper around MatrixPencils.lsminreal)

I suspect the error stems from some manual management of the lapack installation in this package, a search came up with this line mentioning libblastrampoline explicitly

const liblapack = VERSION < v"1.7" ? Base.liblapack_name : "libblastrampoline"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.