Re: Library or Source Code for Eigenvalue of Float matrix

From: Allin Cottrell (cottrell_at_wfu.edu)
Date: 04/28/03


Date: Sun, 27 Apr 2003 23:08:28 -0400

rg wrote:
> Hello,
> I have a program written in C where I create a matrix as a 2d array
> in float. What I was wondering, is there a library or sample code that
> I can use to calculate the eigenvalues of this matrix.

This is somewhat off topic for comp.lang.c, but you can find eigenvalues
using lapack, for which a C interface is available.

http://www.netlib.org/lapack/

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC


Relevant Pages

  • Re: weird code.
    ... never seen this kind of declaration ever. ... The variable data is a float pointer? ... array of 16384 float objects. ...
    (comp.lang.c)
  • Re: weird code.
    ... The variable data is a float pointer? ... array of 16384 float objects. ... We just write `sizeof *data' and the compiler (knowing what ...
    (comp.lang.c)
  • Re: Vector efficiency
    ... <float>.get(i) to retrieve each record versus aligning the data into an array declared as float, and noticed about 2x computational speed improvement. ... I guess there are a number of step performing a look up with vector has to do as opposed to simple addressing through an array. ... There's also the memory issue (c.f. another ... Expenditure of computer time is not the only ...
    (comp.lang.java.help)
  • Re: new foo[42]
    ... > First question: ... 42 type 'float' objects, and returns the address ... value in the pointer object 'foo'. ... The first form above dynamically allocates an array (which ...
    (comp.lang.cpp)
  • Using byte arrays and "casting" them to an external structure
    ... float x, y, z; ... All the particle data will get skipped and only the vertex data ... So, given an arbitrary length byte array, I want to be able to ... First off, #addressAtOffset: is always ...
    (comp.lang.smalltalk.dolphin)