C libraries for vector manipulation

This is a discussion on C libraries for vector manipulation within the C Programming forums, part of the General Programming Boards category; I am porting some R code to C. In R I use lots of operations on vectors like sorting, sum ...

  1. #1
    Registered User engine's Avatar
    Join Date
    Mar 2011
    Location
    Portugal
    Posts
    3

    C libraries for vector manipulation

    I am porting some R code to C. In R I use lots of operations on vectors like sorting, sum of vector elements, extract unique elements, etc. I will need to do these many times in C too. Are there any C libraries I could use for this purpose. Otherwise I must write my own.

    Thanks.

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Start writing.

    C doesn't support OOP or Classes.... so you've got your work cut out for you.

  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,279
    There are libraries. Have you tried Googling? Try "matrix libraries c" as a search term. Several come up that handle vectors and matrices.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GCC: Compiling with both static and shared libraries
    By eatwithaspork in forum C Programming
    Replies: 4
    Last Post: 06-23-2008, 01:48 PM
  2. Replies: 7
    Last Post: 05-13-2008, 03:47 AM
  3. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 08:15 AM
  4. Libraries and headers
    By darksaidin in forum C++ Programming
    Replies: 10
    Last Post: 07-23-2003, 06:24 AM
  5. QT and external libraries
    By Quacker in forum Linux Programming
    Replies: 1
    Last Post: 04-08-2003, 07:02 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21