Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

mattri.h

Go to the documentation of this file.
00001 #ifndef MATTRI_HEADER
00002 #define MATTRI_HEADER
00003 
00004 /* ==== HEADER mattri.h ==== */
00005 
00012 /* 9-Nov-2000, Andras Aszodi */
00013 
00014 /* ==== STANDARD HEADERS ==== */
00015 
00016 #include <stdlib.h>
00017 #include <stdio.h>
00018 
00019 /* ==== STRUCTS ==== */
00020 
00021 #ifdef __cplusplus
00022 namespace RazorBack {
00023 #endif
00024 
00030 typedef struct
00031 {
00032     double **Mat;       
00033     unsigned int Size;  
00034     unsigned int Rlen, Elen;    
00035 } Mattri_;
00036 
00037 /* ==== PROTOTYPES ==== */
00038 
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042 
00050 void init_mattri(Mattri_ *M, unsigned int Size);
00051 
00063 void array_mattri(Mattri_ *M, const double *Array);
00064 
00072 void resize_mattri(Mattri_ *M, unsigned int Newsize);
00073 
00079 void copy_mattri(const Mattri_ *From, Mattri_ *To);
00080 
00087 int read_mattri(FILE *In, Mattri_ *M);
00088 
00095 void write_mattri(FILE *Out, const Mattri_ *M, int Prec);
00096 
00103 void free_mattri(Mattri_ *M);
00104 
00105 #ifdef __cplusplus
00106 } }
00107 #endif
00108 
00109 /* ==== END OF HEADER mattri.h ==== */
00110 
00111 #endif      /* MATTRI_HEADER */

Generated at Wed Aug 21 09:33:46 2002 for The Razorback C library: Linear Algebra by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001