Vanguard Software
Forecasting & Planning Solutions

contents.gifindex.gifprev1.gifnext1.gif

trans

Format: trans( a, vector )

Arguments: [any] a Input matrix

(bool) vector Optional vector mode, false = don't transpose vectors, true = do transpose; default = true

Returns: [any] Transpose of the matrix a

Description: Trans swaps the columns and rows in the input matrix.

Examples: trans([[1,2],[3,4]]) = [[1,3],[2,4]]

trans([1,2,3]) = [[1],[2],[3]]

trans([1,2,3],0) = [1,2,3]

trans([[1],[2],[3]]) = [1,2,3]

See Also: tableform, determinant, Add, Subtract, Multiply, Divide, Power

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Analysis  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Online Forms

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2009 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend