Resolved: Addition, Subtraction of Vectors
Why Column vector of length e.g. 4 can be added into a row vector of the same length in python?
so far, we have learned that the dimension of 2 vectors or matrics must be the same for addition or subtraction.
1 answers ( 1 marked as helpful)
Thanks for reaching out!
To your question:
Python won't throw an error when we are adding row with column vectors of same length, but the answer will be a matrix which is not correct. This is a just a specific of Python.
Hope this helps!