{"id":18854394,"url":"https://github.com/urbanjost/m_display","last_synced_at":"2026-02-11T11:34:40.497Z","repository":{"id":117557914,"uuid":"412833544","full_name":"urbanjost/M_display","owner":"urbanjost","description":"An fpm(1) package for displaying small matrices based on dispmodule(3f)","archived":false,"fork":false,"pushed_at":"2025-07-11T02:28:44.000Z","size":31329,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T05:09:00.671Z","etag":null,"topics":["display","fortran","fortran-package-manager","fpm","matrices"],"latest_commit_sha":null,"homepage":"","language":"Fortran","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/urbanjost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-10-02T15:20:24.000Z","updated_at":"2025-07-11T00:06:30.000Z","dependencies_parsed_at":"2024-12-30T18:27:51.515Z","dependency_job_id":"d5362a02-eea0-4b40-8af3-016184ace678","html_url":"https://github.com/urbanjost/M_display","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"a541513e0366f05e8b8293a090cec61dfdeb4deb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urbanjost/M_display","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbanjost","download_url":"https://codeload.github.com/urbanjost/M_display/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanjost%2FM_display/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271430856,"owners_count":24758402,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["display","fortran","fortran-package-manager","fpm","matrices"],"created_at":"2024-11-08T03:48:05.037Z","updated_at":"2026-02-11T11:34:40.465Z","avatar_url":"https://github.com/urbanjost.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Name\n   M_display(3f) - a Fortran 95 module for pretty-printing matrices\n   (LICENSE:FREE)\n\u003c!--\n## Synopsis\n```text\n       use m_display, only : disp\n--\u003e\n## Description\n   A standard Fortran 95 module for printing scalars, vectors, and\n   matrices to external files is provided. The module can display\n   variables of default kind of all intrinsic types (integer, real,\n   complex, logical, and character), and add-on modules are provided\n   for data of the nondefault kind. The main module is self-contained\n   and incorporating it only requires that it be compiled and linked\n   with a program containing a “use M_display” statement. A generic\n   interface and optional parameters are used, so that the same subroutine\n   name, DISP, is used to display items of different data type and rank,\n   irrespective of display options. The subroutine is quite versatile,\n   and hopefully can improve Fortran's competitiveness against other\n   array programming languages. The module also contains a function\n   TOSTRING to convert numerical scalars and vectors to strings.\n## Sample\nA simple example ...\n```fortran\n   program demo_disp_get\n   use M_display, only : disp, disp_set\n   implicit none\n   real :: x(2,3), y(3,2)\n      ! create some simple matrices \n      x(1,:)=[ 1.0, 6.0, 5.0  ]\n      x(2,:)=[ 2.4, 4.0, 6.0  ]\n   \n      y(1,:)=[ 0.0, 3.5  ]\n      y(2,:)=[ 2.0, 7.0  ]\n      y(3,:)=[ 4.0, 8.22 ]\n\n      ! print the arrays in row-column order   \n      call disp('y=',y)\n      print *\n      ! set a few default preferences\n      call disp_set(digmax=4, sep=',')\n      call disp('x=',x)\n   end program demo_disp_get\n```\nExpected output\n```text\n   y=0.00000  3.50000\n     2.00000  7.00000\n     4.00000  8.22000\n    \n   x=1.000,6.000,5.000\n     2.400,4.000,6.000\n```\n\n## Building the Module Using make(1) ![gmake](docs/images/gnu.gif)\n     git clone https://github.com/urbanjost/M_display.git\n     cd M_display/src\n     # change Makefile if not using one of the listed compilers\n     \n     # for gfortran\n     make clean\n     make F90=gfortran gfortran\n     \n     # for ifort\n     make clean\n     make F90=ifort ifort\n\n     # for nvfortran\n     make clean\n     make F90=nvfortran nvfortran\n\nThis will compile the Fortran module and basic example\nprogram that exercise the routine.\n--\u003e\n\n## Build and Test with FPM ![-](docs/images/fpm_logo.gif)\n\n   Download the github repository and build it with\n   fpm ( as described at [Fortran Package Manager](https://github.com/fortran-lang/fpm) )\n\n   ```bash\n        git clone https://github.com/urbanjost/M_display.git\n        cd M_display\n        fpm run \"*\"\n        fpm run --example \"*\"\n        fpm test\n   ```\n\n   or just list it as a dependency in your fpm.toml project file.\n\n```toml\n        [dependencies]\n        M_display        = { git = \"https://github.com/urbanjost/M_display.git\" }\n```\n## Documentation   ![docs](docs/images/docs.gif)\n\n### User\nNote in this version the module \"dispmodule\" has been named \"M_display\" ...\n\n   - [Original report](docs/dispmodule-report.pdf)\n   - [Original User Manual](docs/dispmodule-userman-report.pdf)\n   - ![man-pages](docs/images/manpages.gif)\n      + a simple index to the man-pages in HTML form for the\n        [routines](https://urbanjost.github.io/M_display/man3.html) \n        and [programs](https://urbanjost.github.io/M_display/man1.html) \n   \n      + A single page that uses javascript to combine all the HTML\n        descriptions of the man-pages \n        [BOOK_M_display](https://urbanjost.github.io/M_display/BOOK_M_display.html).\n\n      + There are man-pages in the repository download in the docs/ directory\n        that may be installed on ULS (Unix-Like Systems) --\n        [manpages.zip](https://urbanjost.github.io/M_display/manpages.zip)\n        or\n        [manpages.tgz](https://urbanjost.github.io/M_display/manpages.tgz)\n\n   - [CHANGELOG](docs/CHANGELOG.md) provides a history of significant changes\n\n### Developer\n   - [ford(1) output](https://urbanjost.github.io/M_display/fpm-ford/index.html).\n   - [doxygen(1) output](https://urbanjost.github.io/M_display/doxygen_out/html/index.html).\n   - [github action status](docs/STATUS.md) \n---\n## Pedigree\nCopyright (c) 2008, Kristján Jónasson, Dept. of Computer Science, University of\nIceland (jonasson@hi.is). This software is free. For details see the file LICENSE.\n\n## References ![-](docs/images/ref.gif)\n\n * [ACM Algorithm 892: DISPMODULE](https://dl.acm.org/doi/10.1145/1486525.1486531) a Fortran 95 module for pretty-printing matrices\n\n```text\n   ACM Journals: ACM Transactions on Mathematical Software Vol. 36, No. 1 \n   Article No.:  6pp 1–7https://doi.org/10.1145/1486525.1486531\n   Author:       Kristjan Jonasson\n   Published:    16 March 2009\n```\n### Additional References sited by the author\n\n  - Chambers, J. M. 2007. Software for Data Analysis: Programming with\n    R. Springer-Verlag, New York, NY. Google ScholarDigital Library\n  - Eaton, J. W. 2002. GNU Octave Manual. Network Theory Limited, Bristol, U.K.Google Scholar\n  - ISO/IEC. 1997. Information technology—programming\n    languages—Fortran-part 1: Base language. ISO/IEC Tech. rep. 1539-1:1997. \n    ISO, Geneva, Switzerland.Google Scholar\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanjost%2Fm_display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbanjost%2Fm_display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanjost%2Fm_display/lists"}