Thread: Sparse Matrix arithmetic in C, looking for libraries suggestions

  1. #1
    Registered User
    Join Date
    Dec 2019
    Posts
    7

    Sparse Matrix arithmetic in C, looking for libraries suggestions

    i, I am translating a piece of code from Matlab to c, I have a bunch of sparse matrix (and regular) arithmetic's there and I'm struggling to find a good library to use, and also to set it. I didn't code in C for few years and I'm rusty.
    Tutorials would be greatly appreciated or any other kind of advice.
    Thanks!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Dec 2019
    Posts
    7
    Quote Originally Posted by Salem View Post
    I am looking into that, it seems like it fits my needs.
    I am currently struggling with enabling it and making it work in the IDE I'm using visual studio 2019..

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Did you follow this?
    Several people have contributed tools to allow GSL to be easily built on Windows platforms. More information can be found here.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Dec 2019
    Posts
    7
    Thanks, just saw your message, and already went in another path..
    I installed WSL (Windows Subsystem for Linux), and ubuntu on it, and installed GNU.
    I am currently struggling making the visual studio code identify my gsl library and make it build and run a toy sample..
    any help with that would be appreciated..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 01-06-2016, 01:15 AM
  2. adjacency matrix and sparse matrix
    By dpp in forum C Programming
    Replies: 3
    Last Post: 07-11-2010, 10:26 AM
  3. Create Sparse Matrix
    By kavka3 in forum C Programming
    Replies: 12
    Last Post: 02-08-2009, 03:23 PM
  4. Sparse Matrix
    By brb9412 in forum C Programming
    Replies: 3
    Last Post: 01-02-2009, 01:12 PM
  5. Sparse matrix
    By milenkom in forum C++ Programming
    Replies: 4
    Last Post: 01-02-2008, 04:17 PM

Tags for this Thread