Defines | Functions
core/vnl/algo/vnl_sparse_symmetric_eigensystem.cxx File Reference
#include "vnl_sparse_symmetric_eigensystem.h"
#include "vnl_sparse_lu.h"
#include <vnl/vnl_vector_ref.h>
#include <vcl_cassert.h>
#include <vcl_cstring.h>
#include <vcl_cstdlib.h>
#include <vcl_iostream.h>
#include <vcl_vector.h>
#include <vnl/algo/vnl_netlib.h>

Go to the source code of this file.

Defines

#define FUNCTION   static
#define DONE   99
#define IPARAMSIZE   12

Functions

FUNCTION void sse_op_callback (const long *n, const long *m, const double *p, double *q)
 Callback for multiplying our matrix by a number of vectors.
FUNCTION void sse_iovect_callback (const long *n, const long *m, double *q, const long *j, const long *k)
 Callback for saving the Lanczos vectors as required by dnlaso.

Detailed Description

Definition in file vnl_sparse_symmetric_eigensystem.cxx.


Define Documentation

#define DONE   99
#define FUNCTION   static

Definition at line 24 of file vnl_sparse_symmetric_eigensystem.cxx.

#define IPARAMSIZE   12

Function Documentation

FUNCTION void sse_iovect_callback ( const long *  n,
const long *  m,
double *  q,
const long *  j,
const long *  k 
)

Callback for saving the Lanczos vectors as required by dnlaso.

If k=0, save the m columns of q as the (j-m+1)th through jth vectors. If k=1 then return the (j-m+1)th through jth vectors in q.

Definition at line 48 of file vnl_sparse_symmetric_eigensystem.cxx.

FUNCTION void sse_op_callback ( const long *  n,
const long *  m,
const double *  p,
double *  q 
)

Callback for multiplying our matrix by a number of vectors.

The input is p, which is an NxM matrix. This function returns q = A p, where A is the current sparse matrix.

Definition at line 32 of file vnl_sparse_symmetric_eigensystem.cxx.