matsutomu
June 12, 2018
140

# scala introduction 2018.06.12

scala introduction

June 12, 2018

## Transcript

19. ### 3&1- WBM BHF DPOEJUJPO  த೥ ѱ͍  BHF DPOEJUJPO

NBUDI\ DBTF த೥ ྑ͍ QSJOUMO ૣ৸ૣى͖ʹͳΔ  DBTF த೥ ѱ͍ QSJOUMO ૣ৸ૣى͖ʹͳΔ  DBTF த೥ @ QSJOUMO ૣ৸ૣى͖ʹͳΔ  DBTF @ ྑ͍ QSJOUMO ૣ৸ૣى͖ʹͳΔ  DBTF @ ѱ͍ QSJOUMO ૣ৸ૣى͖ʹͳΔ  DBTF @ @ QSJOUMO ૣ৸ૣى͖ʹͳΔ  ^

22. ### 4VSQSJTF ϕΫτϧ a, b ͕௚ߦ͢Δ͔Λ൑ఆ͢Δ਺ࣜ͸ʁ (ax1, ay1 ) (ax0 ,

ay0 ) (bx0 , by0 ) (bx1 , by1 ) a b ʢࢀߟʣʰϓϩάϥϛϯάίϯςετ߈ུͷͨΊͷΞϧΰϦζϜͱσʔλߏ଄ʱɹ *4#/

24. ### 4VSQSJTF ϕΫτϧ a, b ͕௚ߦ͢Δ͔Λ൑ఆ͢Δ਺ࣜ͸ʁ (ax1, ay1 ) (ax0 ,

ay0 ) (bx0 , by0 ) (bx1 , by1 ) a b ౴͑ ϕΫτϧͷ಺ੵ͕̌ͷ৔߹ʹ௚ߦ͢Δɻ aɾb = |a||b|cosθ = ax * bx + ay * by
25. ### 4VSQSJTF PCKFDU\$HM4BNQMF\ DBTFDMBTT1PJOU Y%PVCMF Z%PVCMF \ EFG Q1PJOU 1PJOU1PJOU UIJTY

QY UIJTZ QZ  ^ UZQF(FP7FDUPS1PJOU ಺ੵ EFGEPU B1PJOU C1PJOU %PVCMFBY CY BZ CZ EFGJT0SUIPHPOBM B(FP7FDUPS C(FP7FDUPS #PPMFBOEPU B C  ^

28. ### ࣮༻ྫ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹʢࢀߟʣʲ4DBMBΛ࠾༻͍ͯ͠Δاۀ ϓϩμΫτ Ұཡʳɹɹɹ IUUQTRJJUBDPNPVCBLJPVJUFNTGEDBEBF ւ֎ 5XJUUFS -JOLFE*O 'PVS4RVBSF 1BZ1BM

\$PVSTFSB 5IF(VBSEJBO UVNCMS
29. ### ࣮༻ྫ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹʢࢀߟʣʲ4DBMBΛ࠾༻͍ͯ͠Δاۀ ϓϩμΫτ Ұཡʳɹɹɹ IUUQTRJJUBDPNPVCBLJPVJUFNTGEDBEBF ࠃ಺ υϫϯΰ ͸ͯͳ ηϓςʔχɾΦϦδφϧ ϏζϦʔν

\$IBU8PSL ΤϜεϦʔ /VMBC αΠόʔΤʔδΣϯτ

43. ### ·ͱΊ ͪΐͬͱͨ͠εΫϦϓτ 8FCΞϓϦέʔγϣϯ σʔλϕʔεΞΫηε ฒྻॲཧ େྔσʔλॲཧ ։ൃࢧԉʢ(JU 6OJU5FTU ίʔυॻࣜʣ ͳͲͳͲ

4DBMB͸৭ʑͳιϑτ΢ΣΞ͕ଘࡏ