Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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

share|improve this question
    
dan - don't forget to "accept" (click $\checkmark$) an answer, if it's helpful! ;-) –  amWhy Apr 2 '13 at 20:51

1 Answer 1

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.

share|improve this answer
    
that helped for the Transposed problem, thanks –  dan Jan 28 '12 at 11:36

Your Answer

 
discard

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.