Navigation
Main Page
Random Page
Create a new Page
All Pages
Categories
Administration
File Management
Login/Logout
Language Selection
Your Profile
Create Account
Quick Search
Advanced Search »
Back
History
augment
'''augment'''(...) - Augment function Returns an array formed by placing arguments left to right. Arguments are arrays having the same number of rows or they are scalars and row vectors. In the case of scalar values the augment function returns a row vector containing the list of arguments. [image|augment1|{UP}Functions/augment/augment1.png] In the next example three row vectors '''a''', '''b''', and '''c''' are input as arguments to the augment function. [image|augment2|{UP}Functions/augment/augment2.png] In order to obtain a matrix the vectors must be in column order. The three column vectors '''d''', '''f''', and '''g''' are input as arguments to the augment function. [image|augment3|{UP}Functions/augment/augment3.png] The column vectors can easily be translated to rows in the matrix by applying the matrix transpose to the augment function. [image|augment4|{UP}Functions/augment/augment4.png] See also '''[stack|stack]''' Return to '''[Functions|Functions]''' page
ScrewTurn Wiki
version 2.0.37. Some of the icons created by
FamFamFam
.