{"id":17255179,"url":"https://github.com/unixjunkie/ocamlmath","last_synced_at":"2025-07-11T16:16:55.638Z","repository":{"id":144782522,"uuid":"299553851","full_name":"UnixJunkie/ocamlmath","owner":"UnixJunkie","description":"import of http://www.irem.sciences.univ-nantes.fr/Calcul/Ocaml/ocamlmath-0.4.tbz","archived":false,"fork":false,"pushed_at":"2020-09-29T08:32:12.000Z","size":9361,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T13:51:38.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UnixJunkie.png","metadata":{"files":{"readme":"README","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-29T08:31:39.000Z","updated_at":"2024-11-05T00:28:24.000Z","dependencies_parsed_at":"2024-03-31T01:15:14.416Z","dependency_job_id":null,"html_url":"https://github.com/UnixJunkie/ocamlmath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UnixJunkie/ocamlmath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Focamlmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Focamlmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Focamlmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Focamlmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnixJunkie","download_url":"https://codeload.github.com/UnixJunkie/ocamlmath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Focamlmath/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264851355,"owners_count":23673235,"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":[],"created_at":"2024-10-15T07:10:52.849Z","updated_at":"2025-07-11T16:16:55.611Z","avatar_url":"https://github.com/UnixJunkie.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+\n+ Mathematic calculations for Ocaml +\n+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+\n\n\n+----------------------+\n| INSTALLATION AND USE |\n+----------------------+\n\n*******\n* (0) *\n*******\nUncompress the archive:\ntar -xjvf ocamlmath-[X.Y].tbz\n\n*******\n* (1) *\n*******\nRead math/MathSpec/index.html \nto have an idea of the calculations proposed.\n\n*******\n* (2) *\n*******\nRead math/GraphicmathSpec/index.html \nto have an idea of supplementary graphic and browsing (see step (6)) functions.\n\n*******\n* (3) *\n*******\nIn order to use source code or only the bytecodes proposed in the distribution, \nno further installation is required. \n\nUse the toplevels \"topmath\" or \"graphicmath/topgraphicmath\", by typing\n\ncd math\nledit ./topmath\n\nor\n\ncd math/graphicmath\nledit ./topgraphicmath\n\nor load the libraries \"math.cma\" or \"graphicmath/graphicmath.cma\" into Ocaml, \nor use the instructions '#load \"nums.cma\" ;; #load \"str.cma\" ;; \n#use \"math.ml\" ;;' et caetera.\nIt may be convenient to add the instructions \"open Math ;;\" or \"open Graphicmath ;;\" :\nrefer to the files \"math/.ocamlinit\" and \"math/graphicmath/.ocamlinit\".\n\n\n\u003e\u003e---------------------------\nOn a non BSD system, the toplevels to use are \"nonBSDtopmath\" and \"graphicmath/nonBSDtopgraphicmath\".\nIn case of problem, the following instructions should work.\n\nledit ocamlrun topmath\nor\nocamlrun topmath\n\nand\n\nledit ocamlrun topgraphicmath\nor\nocamlrun topgraphicmath\n\n(The bytecode executables differ only by the shebangs.)\n---------------------------\u003c\u003c\n\nIn order to use bytecode software, execute (on a BSD system)\n\ncd math/analogic\n./ferdinand.cmo true true 800 600 10\n\n\u003e---------------------------\nOn a non BSD system, try to use \"nonBSDferdinand.cmo\" instead.\n\nIn case of problem, try\n\nocamlrun ferdinand.cmo\n\n(The bytecode executables differ only by the shebangs.)\n---------------------------\u003c\n\nGo to step (6).\n\n**********\n* (3bis) *\n**********\nTo know if the operating system respects the BSD standard,\nthe answer of the command :\n\nwhich ocamlrun\n\nmust be :\n\n/usr/local/bin/ocamlrun\n\nIn case of a different answer, like :\n\n/usr/bin/ocamlrun\n\nthe operating sytem does not respect the BSD standard.\n\nIt is possible to recompile or edit the bytecode executables in order to write a shebang compatible with the operating system.\nIn any case, taking the bytecode file as argument of the instruction \"ocamlrun\" should solve the problem of the path.\n\n*******\n* (4) *\n*******\nIn order to use native code libraries, execute either\n\ncd math\nsh block_native_lib.sh [inline_parameter]\n\nor\n\ncd math\nsh fragment_native_lib.sh\n\n*******\n* (5) *\n*******\nIn order to use native code software, execute either\n\ncd math/analogic\nsh block_native.sh\n\nor, if \"sh fragment_native_lib.sh\" has already been done,\n\ncd math/analogic\nsh fragment_native.sh\n\nand then\n\n./ferdinand true true 800 600 10\n\n*******\n* (6) *\n*******\nGo to steps (1) and (2) and follow the different links \nin order to deepen your reading.\n\n(In the following the prefix \"Spec.\" is facultative \nif the instruction \"open Spec ;;\" is written in the file \".oamlinit\".)\n\nInside \"topgraphicmath\", in order to find a function \"foobar\", \nuse the instruction\n\nSpec.which \"foobar\" ;;\n\nThis applies both to functions from the standard distribution \nand from the present math distribution.\n(It may be taylored to anything else \nby modifying the data arrays of the Spec module.)\n\nIf the answer array is not empty, take one of its item \"Thing.foobar\" \nand read the basic specification:\n\nSpec.what \"Thing.foobar\" ;;\n\nfor this math distribution.\nFor another distribution, provide as first argument \na path to the html documentation of the source code.\n\nWith the same environment (mutatis mutandis), get the source code \n(also to be known as extended specification) of the function :\n\nSpec.how \"Thing.foobar\" ;;\n\nAnd in order to know where this function is called, type\n\nSpec.why \"Thing.foobar\" ;\nSpec.why \"foobar\" ;;\n\nIn these last instructions, the string of the function may be cut ad libitum \nin order to generalize the search.\n\n\n+---------------+\n| CUSTOMIZATION |\n+---------------+\n\n\n*******\n* (7) *\n*******\nIn order to develop further bytecode or nativecode, read and use \n\"depend.sh\" and \"bytecode_instructions.sh\" and \"native_instructions.sh\" \nand \"depend.defaults\" and \"depend.conf\" and \"depend.txt\".\n\nCreate shell scripts and taylor files to your use.\n\n\n+--------------+\n| MODIFICATION |\n+--------------+\n\n\n*******\n* (8) *\n*******\nIn order to modify this distribution, copy (recursively) \nthe subdirectories of \"math/\" as its brothers \n(excepted GraphicmathSpec, MathSpec, graphicmath).\n\nDo the modifications in these brother directories. \nIt is possible to create new directories.\n\nModify \"math/script.sh\" in consequence if necessary.\n\nRun \"math/script.sh\". \nThis script CRASHES those directories inside \"math/\" \nand also \"depend.txt\" in order to avoid out of date information.\n\nThe script \"script.sh\" is intended to be used on a BSD system.\nIt must be modified to run properly on a non BSD system.\n\nTo detect if the operating system respects the BSD standard, go to step (3bis).\n\n\n*******\n* (9) *\n*******\nRespect the Ocaml library licence: see the file \"licence.html\".\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funixjunkie%2Focamlmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funixjunkie%2Focamlmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funixjunkie%2Focamlmath/lists"}