Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to play around with vectors in, but I'm getting an error when I try to A: multiply two vectors (specified as a vertical matrix) together, and B: multiply a vector by a scalar value. Here's my dilemma in picture form: vector math in grapher

Any ideas?

share|improve this question
up vote 2 down vote accepted

If you want to multiply two column vectors don't you have to transpose one of them? I got the transpose operator by typing ^T. (That's caret + T, not Ctrl+T)

I was able to multiply a vector by a scalar.

vector operations

In your screenshot, the subscripts aren't consistent. Maybe it's part of your problem or maybe it's just some math I don't understand. This is all on the edge of my math knowledge.


For those who are interested, here is bjz's screenshot of his working version:

working version

share|improve this answer
Cheers mate, I got it to work. And yes, my maths knowledge isn't great – I'm just using Grapher to sketch out my algorithms before I commit to code. – bjz May 11 '12 at 9:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.