{"id":17099856,"url":"https://github.com/cpmech/vismatrix","last_synced_at":"2025-06-20T23:09:12.266Z","repository":{"id":149842994,"uuid":"54020206","full_name":"cpmech/vismatrix","owner":"cpmech","description":"A vizualiser for sparse matrices","archived":false,"fork":false,"pushed_at":"2024-03-29T00:08:05.000Z","size":21576,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-20T23:08:29.178Z","etag":null,"topics":["linear-algebra","sparse-linear-systems","sparse-matrices","visualization"],"latest_commit_sha":null,"homepage":"","language":"C++","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/cpmech.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":"2016-03-16T09:54:03.000Z","updated_at":"2025-04-23T20:06:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e727bd5-0a90-4c31-8ea5-f80e74211bcf","html_url":"https://github.com/cpmech/vismatrix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cpmech/vismatrix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpmech%2Fvismatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpmech%2Fvismatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpmech%2Fvismatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpmech%2Fvismatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpmech","download_url":"https://codeload.github.com/cpmech/vismatrix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpmech%2Fvismatrix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261032114,"owners_count":23100051,"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":["linear-algebra","sparse-linear-systems","sparse-matrices","visualization"],"created_at":"2024-10-14T15:11:36.367Z","updated_at":"2025-06-20T23:09:07.250Z","avatar_url":"https://github.com/cpmech.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vismatrix \u0026ndash; Visualization of sparse matrices\n\n\u003cimg src=\"figs/fig00a.png\"\u003e\n\n\u003cimg src=\"figs/fig00b.png\"\u003e\n\n![](figs/vismatrix01.gif)\n\nVismatrix is a nice tool to visualize sparse matrices in (.smat) format\n\n## Installation (Ubuntu/Linux)\n\n```bash\nsudo apt install libgl1-mesa-dev libglut-dev\nbash all.bash\n```\n\n## Acknowledgements\n\nTo [Professor David Gleich](https://github.com/dgleich) for this wonderful tool.\n\n## License\n\n```\n------------------------------------------------------------\nvismatrix 2.0 \n------------------------------------------------------------\nCopyright David Gleich, Leonid Zhukov, 2006-2007.\n```\n\nUnless otherwise noted, the source files are distributed under the BSD-style license found in the\nLICENSE file.\n\nSee also LICENSE files in each one of the subdirectories boost, glui, and tclap.\n\n## Installation\n\n**1** Install dependencies (tested on **Ubuntu 23.04 LTS**):\n\n```\nsudo apt-get install freeglut3-dev libxmu-dev libxi-dev libz-dev g++ make cmake\n```\n\n**2** Download the code into /tmp/vismatrix:\n\n```\ngit clone --depth 1 https://github.com/cpmech/vismatrix.git /tmp/vismatrix\n```\n\n**3** Compile the code (in /tmp/build-vismatrix):\n\n```\n./all.bash\n```\n\n**4** The executable file will be /tmp/build-vismatrix and you may install into /usr/local/bin by using:\n\n```\nsudo cp /tmp/build-vismatrix/vismatrix /usr/local/bin/\n```\n\n## Usage\n\nThe matrix input file is quite simple (0-index based):\n\n```\nm n nnz\ni j x\n...\ni j x\n```\n\nwhere the first line has _m_ as the number of rows, _n_ as the number of columns, and _nnz_ as the number of non-zero values. The following lines contain the index of row _i_ and column _j_ of the non-zero entry _x_.\n\nSee [example.smat](https://github.com/cpmech/vismatrix/blob/master/example.smat) file.\n\nUsage:\n\n```\nvismatrix example.smat\n```\n\nSome commands:\n\n* right-click to Exit\n* mouse move: pan\n* shift + mouse: zoom\n* control + click: inspect value\n* right-click: options\n\n![](figs/vismatrix02.gif)\n\n\u003cimg src=\"figs/fig01.png\" width=\"400\"\u003e\n\n\u003cimg src=\"figs/fig02.png\" width=\"400\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpmech%2Fvismatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpmech%2Fvismatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpmech%2Fvismatrix/lists"}