Post date: Nov 30, 2017 5:28:5 PM
In the command line interface (CLI) you use the product command. For example:
->tdavis = transpose(davis)
->women = product(davis tdavis)
->dsp women
Alternatively, you could combine the transpose command with the product, as in:
->women = prod(transp(davis) davis)
Even easier is the xtx command, which is also faster and more memory efficient:
->women = xtx(davis)
If the filenames have spaces or other punctuation, you must enclose them in quotes, as follows:
->output = prod("first matrix" "second matrix")
Note that if the datasets contain parentheses in their names, even quotes won't help. Instead you have do something like this:
->x1 = “collaboration (respondents only)”
->y = prod(x1 "work flow")
There is no menu way to multiply matrices.