Recent posts

Prototype Pattern

January 24 2022

ํ”„๋กœํ† ํƒ€์ž… ๋””์ž์ธ ํŒจํ„ด ์—ฌ๋Ÿฌ ๋ชฌ์Šคํ„ฐ ํƒ€์ž…๊ณผ ๊ฐ ๋ชฌ์Šคํ„ฐ๋ฅผ ์†Œํ™˜ํ•˜๋Š” Spwaner๋ฅผ ๋””์ž์ธํ•ด๋ณด์ž

Linear Transformation (1)

January 22 2022

์„ ํ˜• ๋ณ€ํ™˜๊ณผ ํ–‰๋ ฌ ์„ ํ˜• ๋ณ€ํ™˜์ด๋ž€ ํ•˜๋‚˜์˜ ๋ฒกํ„ฐ ๊ณต๊ฐ„์„ ๋‹ค๋ฅธ ๋ฒกํ„ฐ ๊ณต๊ฐ„์œผ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ํ•จ์ˆ˜ ์„ ํ˜• ๋ณ€ํ™˜์„ ์ •์˜ํ•˜๋Š” ๋‘ ํŠน์„ฑ์ด ๋ณ€ํ™˜ ํ›„์—๋„ ๋ฒกํ„ฐ ๊ณต๊ฐ„์˜ ์กฐ๊ฑด์„ ๊ทธ๋Œ€๋กœ ๋งŒ์กฑํ•˜๊ธฐ ๋•Œ๋ฌธ

Observer Pattern

January 21 2022

๊ด€์ฐฐ์ž ํŒจํ„ด์˜ ์‚ฌ๋ก€ MVC ํŒจํ„ด C#์˜ event java์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

Flyweight Pattern

January 19 2022

๊ฒฝ๋Ÿ‰ ํŒจํ„ด ์–ด๋–ค ๊ฐ์ฒด์˜ ์ˆ˜๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์•„ ์ด๋ฅผ ๊ฐ€๋ณ๊ฒŒ ๋งŒ๋“ค๊ณ  ์‹ถ์„ ๋•Œ ์‚ฌ์šฉํ•œ๋‹ค ๋ฐ์ดํ„ฐ ์ค‘ ๊ณต์œ  ๋ฐ์ดํ„ฐ๋ฅผ ๊ณ ์œ  ์ƒํƒœ intrinsic state๋‚˜ ์ž์œ ๋ฌธ๋งฅ context-free๋ผ ํ•œ๋‹ค ๋‚˜๋จธ์ง€ ๋ฐ์ดํ„ฐ๋ฅผ ์ธ์Šคํ„ด์Šค ๋ณ„๋กœ ๊ฐ’์ด ๋‹ค๋ฅธ ์™ธ๋ถ€ ์ƒํƒœ extrinsic state๋ผ ํ•œ๋‹ค GoF ํŒจํ„ด ์ค‘ ์œ ์ผํ•˜๊ฒŒ ํ•˜๋“œ...

Matrix

January 16 2022

ํ–‰๋ ฌ Matrix m x n ํ–‰๋ ฌ์—์„œ m = n ์ด๋ฉด ์ •๋ฐฉํ–‰๋ ฌ square matrix ์ด๋‹ค ๋ชจ๋“  ์š”์†Œ๊ฐ€ 0์ด๋ฉด ์˜ํ–‰๋ ฌ zeron matrix ์ด๋‹ค ์–ด๋–ค ํ–‰๋ ฌ์˜ ํ–‰๊ณผ ์—ด์„ ๋’ค๋ฐ”๊พธ๋ฉด ์ „์น˜ ํ–‰๋ ฌ transpose matrix๋ผ ํ•œ๋‹ค ์ „์น˜ํ•œ ํ–‰๋ ฌ์ด ์›๋ž˜ ํ–‰๋ ฌ๊ณผ ๊ฐ™๋‹ค๋ฉด ๋Œ€์นญ ํ–‰๋ ฌ symmetric matrix๋ผ ํ•œ๋‹ค ...