Login
Login

Constructor for Matrix and Vector

Home 21090308 Forums Numerical Method Linear Algebra Constructor for Matrix and Vector

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1816
    kevinsun
    Member

    Is it possible to have constructors implementing what Matlab’s matrix manipulation does? like the following:

    A=[B,v];
    A=[B;v’];
    v=[u;3];

    I think it would be convenient to have the capability of combining a matrix with a vector, instead of manually copying each elements.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.