slu.h File Reference

Class Slu: Wrapper class for a generic sparse direct solver. More...

#include <mc/mc_base.h>

Include dependency graph for slu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sSlu
 Contains public data members for Slu class. More...

Typedefs

typedef struct sSlu Slu
 Declaration of the Slu class as the Slu structure.

Functions

SluSlu_ctor (Vmem *vmem, int skey, int m, int n, int nnz, int *ia, int *ja, double *a)
 The Slu constructor.
void Slu_dtor (Slu **thee)
 The Slu destructor.
int Slu_factor (Slu *thee)
 Sparse LU factor the system.
int Slu_solve (Slu *thee, int key, double *b, double *x)
 Use sparse LU factors to back/forward solve a linear system.
double Slu_lnDet (Slu *thee)
 Calculate the log of the determinant of a factored matrix.


Detailed Description

Class Slu: Wrapper class for a generic sparse direct solver.

Author:
Michael Holst and Stephen Bond
Note:
None
Version:
Id
slu.h,v 1.8 2009/04/24 22:54:07 fetk Exp

Attention:
 *
 * MC = < Manifold Code >
 * Copyright (C) 1994--2008 Michael Holst
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 *  

Generated on Mon Aug 9 11:13:43 2010 for MC by  doxygen 1.5.6