TooN 2.1
Static Public Member Functions
ComputeSymEigen< Size > Struct Template Reference

Compute eigensystems for sizes > 2 Helper struct for computing eigensystems, to allow for specialization on 2x2 matrices. More...

#include <SymEigen.h>

List of all members.

Static Public Member Functions

template<int Rows, int Cols, typename P , typename B >
static void compute (const Matrix< Rows, Cols, P, B > &m, Matrix< Size, Size, P > &evectors, Vector< Size, P > &evalues)

Detailed Description

template<int Size>
struct TooN::Internal::ComputeSymEigen< Size >

Compute eigensystems for sizes > 2 Helper struct for computing eigensystems, to allow for specialization on 2x2 matrices.


Member Function Documentation

static void compute ( const Matrix< Rows, Cols, P, B > &  m,
Matrix< Size, Size, P > &  evectors,
Vector< Size, P > &  evalues 
) [static]

Compute an eigensystem.

Parameters:
mInput matrix (assumed to be symmetric)
evectorsEigen vector output
evaluesEigen values output

References Matrix< Rows, Cols, Precision, Layout >::num_cols(), Matrix< Rows, Cols, Precision, Layout >::num_rows(), and Vector< Size, Precision, Base >::size().