Using Explicit in C++

http://www.glenmccl.com/tip_023.htm

C++ 의 생성자가 type conversion 에도 사용될 수 있다는 사실

그런데 의도치 않은 type conversion 에 생성자가 사용되는걸 막기 위해서

explicit 를 사용한다~ 머 이런 이야기

i.e. , e.g.

           Latin              Englishe.g.  exmapli gratia for examplei.e.   id est      ... » 내용보기

A neural basis for collecting behavior in humans

A provisional account of collecting behaviour in humansThe results of this study can be considered in the context of other relevant findings to sketch a provisional account of the broader phenomenon... » 내용보기

php array 에서 unset 할 때 주의할 점

array 의 특정 요소를 삭제하려고 할 때 unset 을 사용했었다.근데 이것이 json_encode 와 합쳐지면 뭔가 재앙스런 일이 일어난다.예)$test = array();array_push($test, 1);array_push($test, 2);array_push($test, 3);array_push($test, 4);array_push($tes... » 내용보기

Newton's Method

1.1.7 연습 : Newton's method 가 나옵니다.위키피디아가 최고!!Newton's method 는 어떤 함수 f(x) 가 있을 때 f(x) = 0 이 되는 값을 approximation 하는 방법입니다.즉, 방정식의 근을 근사로 구하는 방법이죠. 링크가 깨지지 않는 이상 이 그림 하나면 해결이 됩니다.결론은 Xn+1 = Xn - f(Xn)... » 내용보기