Code Monkey home page Code Monkey logo

vismatrix's Introduction

Vismatrix โ€“ Visualization of sparse matrices

Vismatrix is a nice tool to visualize sparse matrices in (.smat) format

Installation (Ubuntu/Linux)

sudo apt install libgl1-mesa-dev libglut-dev
bash all.bash

Acknowledgements

To Professor David Gleich for this wonderful tool.

License

------------------------------------------------------------
vismatrix 2.0 
------------------------------------------------------------
Copyright David Gleich, Leonid Zhukov, 2006-2007.

Unless otherwise noted, the source files are distributed under the BSD-style license found in the LICENSE file.

See also LICENSE files in each one of the subdirectories boost, glui, and tclap.

Installation

1 Install dependencies (tested on Ubuntu 23.04 LTS):

sudo apt-get install freeglut3-dev libxmu-dev libxi-dev libz-dev g++ make cmake

2 Download the code into /tmp/vismatrix:

git clone --depth 1 https://github.com/cpmech/vismatrix.git /tmp/vismatrix

3 Compile the code (in /tmp/build-vismatrix):

./all.bash

4 The executable file will be /tmp/build-vismatrix and you may install into /usr/local/bin by using:

sudo cp /tmp/build-vismatrix/vismatrix /usr/local/bin/

Usage

The matrix input file is quite simple (0-index based):

m n nnz
i j x
...
i j x

where 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.

See example.smat file.

Usage:

vismatrix example.smat

Some commands:

  • right-click to Exit
  • mouse move: pan
  • shift + mouse: zoom
  • control + click: inspect value
  • right-click: options

vismatrix's People

Contributors

cpmech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vismatrix's Issues

VIZMATRIX Windows version requested

Hello!
I was wondering whether there's any skillful programmer out there who could help with a Windows version of VISMATRIX. It's such a good application...

Thanks in advance for your engagement!

Franco L.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.