Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Creating Matrices

Matrices are created by defining hierarchical lists which are simply lists containing other lists as elements.

The list

A:=[[1,2,3],[4,5,6],[7,8,9]]

is equivalent to the matrix

    1  4  7
A = 2  5  8
    3  6  9

The list

B:=[1,2,3]

is equivalent to the column vector

1
2
3

And, the list

C:=[[1],[2],[3]]

is equivalent to the row vector

C = 1  2  3

You can add, subtract, multiply, raise to a power, and invert matrices using the standard arithmetic operators applied to single values (A+B, A-B, A*B, A^n, A^-1). Furthermore, you can calculate the determinant of a matrix using the expression determinant(A) and you can transpose the rows and columns in a matrix using the expression trans(A).

Matrices in arithmetic calculations can contain any complex numbers and units of measure as needed.

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend