Code Monkey home page Code Monkey logo

Comments (2)

davidedc avatar davidedc commented on September 28, 2024

Hi Anurup,

ok, say, C = A|B

short version:

  • retaining the "block" information (i.e. symbolically keeping track that C is a block matrix) is probably hard
  • just copying a matrix content to the side of another matrix would be much easier, but all further symbolic handling of the block parts would be lost

longer version:

...the symbolic part is tricky, so if one says C = A|B, then we need to define how "|" behaves for all the operations... that could end up to be quite complicated, see for example https://scicomp.stackexchange.com/questions/14164/symbolic-computations-with-block-matrices-in-maple for how Maple and SymPy do it.

The alternative is to "just" create a function that copies a matrix to the side of another one, so all "symbolic" information about "C" being constituted by "A" and "B" is lost.

That could be made to work more quickly, but I need to think about good names and possible gotchas...

If you have further thoughts let me know...

from algebrite.

anurupmitra avatar anurupmitra commented on September 28, 2024

Hi Davide,

Thank you for your reply and sorry for the delay in getting back to you.

I'll be selfish - for my personal usage case - the last option would be most useful. In fact, I need a glorified addRow(s) and addCol(s) function. The symbolic information is not important. The new matrices that will be formed are.

Thanks again for your great work!

Regards
Anurup

from algebrite.

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.