Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Prepend a column to the left of a matrix
ResourceFunction["PrependColumn"][matrix,list] prepends a vector list as a column to matrix. | |
ResourceFunction["PrependColumn"][matrix,s] prepends a constant vector of scalar s to matrix. | |
ResourceFunction["PrependColumn"][column] represents an operator form of PrependColumn that can be applied to a matrix. |
Prepend a column vector to a matrix:
In[1]:= |
Out[2]= |
Append a scalar value to a matrix:
In[3]:= |
Out[3]= |
Use PrependColumn as an operator form:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License