{"id":16167066,"url":"https://github.com/xlucn/myrecipes","last_synced_at":"2025-05-08T23:01:59.263Z","repository":{"id":53814033,"uuid":"51348366","full_name":"xlucn/MyRecipes","owner":"xlucn","description":"algrithoms for numerical computation 数值算法","archived":false,"fork":false,"pushed_at":"2021-03-13T04:59:55.000Z","size":960,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T19:11:12.437Z","etag":null,"topics":["algorithm","computation","numerical","recipes"],"latest_commit_sha":null,"homepage":"https://oliverlew.github.io/MyRecipes","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xlucn.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-09T05:23:09.000Z","updated_at":"2022-07-07T11:27:20.000Z","dependencies_parsed_at":"2022-08-19T19:10:59.503Z","dependency_job_id":null,"html_url":"https://github.com/xlucn/MyRecipes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlucn%2FMyRecipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlucn%2FMyRecipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlucn%2FMyRecipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlucn%2FMyRecipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlucn","download_url":"https://codeload.github.com/xlucn/MyRecipes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160764,"owners_count":21863627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","computation","numerical","recipes"],"created_at":"2024-10-10T03:05:44.245Z","updated_at":"2025-05-08T23:01:59.242Z","avatar_url":"https://github.com/xlucn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithms for numerical computation.\n\nJust an exercise implementing the algorithms from 《数值计算方法》，林成森，科学出版社, do not guarantee the programs run perfectly.\n\n## Requirements:\n\n- make\n- gcc(\u003e= c99)\n- sed(for makefile dependencies)\n- python\n\n## Project structure\n\n```\nMyrecipes\n|-- include: header files\n|-- test: test files\n|   |-- Test.c\n|   |-- Test.h\n|   |-- GenerateTest.py\n|   +-- test*.c\n|-- [A-Z]*: source files\n|-- (created) debug: intermediate files\n+-- (created) lib: static library files\n```\n\n## How test files are compiled\n\n- Test files follows the pattern in order to automatically parse and generate a test header file:\n  - All the test functions are written in `test*.c` files.\n  - Every test function must return `int` type, have no argumemts and be named as `test*`.\n\n- `GenerateTest.py` is a python script that scans through `test*.c` files, \n  looks for functions that meet the conditions mentioned above and generate a \n  header file `Test.h` which contains declarations, (macro)list of function \n  variables, (macro)list of function names and (macro)the number of all the test \n  functions.\n\n- `Test.c` is a short C file that includes `Test.h`, uses the macros in it \n  to call every test function and print the summary infomation of the test.\n\nTo show the flow in a chart:\n\n```\n         GenerateTest.py\ntest*.c -----------------\u003e Test.h \\\n                                  |---\u003e test binary\n                           Test.c /\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlucn%2Fmyrecipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlucn%2Fmyrecipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlucn%2Fmyrecipes/lists"}