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