컴퓨터 과학

수치 해석

알고리즘

알고리즘 구현

해당 알고리즘들은 모두 C 로 구현되어 있습니다. 몇몇 기능들은 GSL을 사용했습니다. 라이센스 혼동을 막기 위해 모든 코드는 GNU 공중 사용 허가서 v3 버전으로 베포됩니다.

Polynomial product

  • Convoluion: Direct method

The C Programming Language 풀이

Kernighan & Ritchie, The C Programming Language - ANSI C, 2nd edition, (1988, Prentice-Hall) , ISBN: 0-13-110362-8

Chapter 1

Exercise 1-6. Verify the expression getchar() != EOF is 0 or 1

1, unless input is EOF.

Exercise 1-7. Write a program to print the value of EOF.

#include<stdio.h>

/*Print EOF value*/

int
main(void)
{
  printf("EOF value: %d \n", EOF);
  return 0;
}
$EOF value: -1