Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good matrix manipulation library available for C? [closed]

I am doing a lot of image processing in C and I need a good, reasonably lightweight, and above all FAST matrix manipulation library with a permissive license. I am mostly focussing on affine transformations and matrix inversions, so i do not need anything too sophisticated or bloated.

Primarily I would like something that is very fast (using SSE perhaps?), with a clean API and (hopefully) prepackaged by many of the unix package management systems.

Note this is for C not for C++.

Thanks

:)

like image 405
horseyguy Avatar asked Apr 14 '10 12:04

horseyguy


People also ask

What is matrix manipulation in C?

Matrix multiplication is another important program that makes use of the two-dimensional arrays to multiply the cluster of values in the form of matrices and with the rules of matrices of mathematics. In this C program, the user will insert the order for a matrix followed by that specific number of elements.

Is there linear algebra library in C?

linalg is a library for linear algebra and regression implemented in C. The code is optimized for readability and clarity instead of raw efficiency (though it tries not to ignore issues of efficiency completely).

Are there C libraries?

A library in C is a collection of header files, exposed for use by other programs. The library therefore consists of an interface expressed in a . h file (named the "header") and an implementation expressed in a .

Is there a matrix library in C++?

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.


2 Answers

I'd say BLAS or LAPACK.

Here you have some examples.

like image 93
Pablo Santa Cruz Avatar answered Sep 18 '22 21:09

Pablo Santa Cruz


OpenCV

alt text http://opencv.willowgarage.com/wiki/Welcome?action=AttachFile&do=get&target=OpenCV_Overview.jpg

like image 34
Pratik Deoghare Avatar answered Sep 19 '22 21:09

Pratik Deoghare