GithubHelp home page GithubHelp logo

Comments (4)

twadleigh avatar twadleigh commented on September 26, 2024

Update: I tried to see if switching the immutable array types to being subtypes of DenseArray instead being immediate subtypes of AbstractArray would help, but that resulted in a bazillion warnings concerning ambiguous definitions for the .+, etc. operators, as well as an error for not having an Array => Matrix[n]x[n] conversion.

I should have a definition for the conversion, anyway. I'll add it and see how far that gets us.

from oldimmutablearrays.jl.

twadleigh avatar twadleigh commented on September 26, 2024

Turns out I did attempt to define a convert from AbstractArray, but it was done incorrectly such that it was never found. That didn't fix the problem, though.

I have a question pending on the mailing list about just how much linear algebra stuff are my types supposed to define to get all the linear algebra in Base to "just work".

from oldimmutablearrays.jl.

SimonDanisch avatar SimonDanisch commented on September 26, 2024

Cool!
Thanks a lot for the effort!
I'd love to help, but I'm not familiar enough with the issue to quickly get
results.

2014-06-21 14:57 GMT+02:00 Tracy Wadleigh [email protected]:

Turns out I did attempt to define a convert from AbstractArray, but it was
done incorrectly such that it was never found. That didn't fix the problem,
though.

I have a question pending on the mailing list about just how much linear
algebra stuff are my types supposed to define to get all the linear algebra
in Base to "just work".


Reply to this email directly or view it on GitHub
#30 (comment)
.

from oldimmutablearrays.jl.

twadleigh avatar twadleigh commented on September 26, 2024

I've added conversions from AbstractArray and to Array, so that, in the short term at least, you can round-trip the types to do fancier linear algebra.

For the longer term, I'll open an issue for adding an unrolled (and probably unpivoted) Gaussian elimination on which to base an inversion appropriate to immutable types.

from oldimmutablearrays.jl.

Related Issues (20)

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.