1
$\begingroup$

I have an algorithm to fill a triangle

set Pixel if ("for".."with")

Algorithm

for a triangle like this Triangle

now, Im having trouble with the n = .. what does the ^T mean? It says it means "transposed", but I dont know how to use it in the context of "I am within the triangle border", there is a gap between the algorithm and the understanding, I cant figure it out.

Can anybody help me here? Please ask if you require further information

$\endgroup$
  • $\begingroup$ dan - don't forget to "accept" (click $\checkmark$) an answer, if it's helpful! ;-) $\endgroup$ – Namaste Apr 2 '13 at 20:51
1
$\begingroup$

The usual convention is that $$(x,y)=\pmatrix{x\cr y\cr}$$ is a column vector, and $$(x,y)^T=\pmatrix{x&y\cr}$$ is its transpose, which is a row vector.

$\endgroup$
  • $\begingroup$ that helped for the Transposed problem, thanks $\endgroup$ – dan Jan 28 '12 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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