이전 주제 보기 :: 다음 주제 보기 |
글쓴이 |
메시지 |
김윤승
가입: 2014년 9월 1일 올린 글: 452 위치: 302동 312-2호
|
올려짐: 2014년12월21일 4:13 주제: [Announcement] How we grade project 2 |
|
|
This is how we grade your code:
1. Make a (square) matrix M using add_column or something.
2. Make a initial column vector V.
3. Calculate the limit vector V' using V as the initial vector, with the function you defined. V' should be a column vector.
4. Calculate the limit vector V'', using V' as the initial vector.
5. Check V' = V'' and |V'|=|V''|. (|a| is the sum of all elements in a column vector a)
We don't check ij or size function.
Check whether your code does this well. |
|
위로 |
|
|
jaewooklee
가입: 2014년 10월 3일 올린 글: 23
|
올려짐: 2014년12월21일 5:28 주제: |
|
|
이 공지가 예전에 제가 올렸던 질문의 완전한 답이 되는 것 같습니다. 감사합니다.
그런데 |V|=|V'|의 조건도 체크해야 하지 않나요? |
|
위로 |
|
|
김윤승
가입: 2014년 9월 1일 올린 글: 452 위치: 302동 312-2호
|
올려짐: 2014년12월21일 13:09 주제: |
|
|
오타입니다.. 학생께서 쓰신 걸 체크합니다. |
|
위로 |
|
|
jaewooklee
가입: 2014년 10월 3일 올린 글: 23
|
올려짐: 2014년12월21일 22:51 주제: |
|
|
그런데 다시 생각해보니 위의 테스트에는 V'가 fixed point임을 확인하는 부분이 빠진 것 같습니다. 이 경우 V의 limit vector를 그냥 V라고 반환하여도, 저 테스트를 통과할 수 있지 않나요? |
|
위로 |
|
|
|