We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Domain
Matrix
Operators
Polynomials
Script
Time
Trig
Util

Swap Columns

Swap two columns in a matrix

Inputs

NameIDDescriptionType
MatrixMMatrix for column swapMatrix
Column AAFirst column indexInteger
Column BBSecond column indexInteger

Outputs

NameIDDescriptionType
MatrixMMatrix with swapped rowsMatrix

Site design © Robin Rodricks.   Grasshopper Maths and associated data © 2024 Robert McNeel & Associates.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service