Main Page | Modules | Class List | File List | Class Members | File Members

matf_triangular.h

Go to the documentation of this file.
00001 
00014 /* This library is free software; you can redistribute it and/or
00015    modify it under the terms of the GNU Lesser General Public
00016    License as published by the Free Software Foundation; either
00017    version 2.1 of the License, or (at your option) any later version.
00018 
00019    This library is distributed in the hope that it will be useful,
00020    but WITHOUT ANY WARRANTY; without even the implied warranty of
00021    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00022    Lesser General Public License for more details.
00023 
00024    You should have received a copy of the GNU Lesser General Public
00025    License along with this library; if not, write to the Free Software
00026    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00027 */
00028 
00029 #ifndef _GAN_MATF_TRIANGULAR_H
00030 #define _GAN_MATF_TRIANGULAR_H
00031 
00032 #include <gandalf/linalg/matf_square.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00053 /* function declarations */
00054  Gan_SquMatrix_f *gan_ltmatf_set_size ( Gan_SquMatrix_f *L,
00055                                        unsigned long size );
00056  Gan_SquMatrix_f *gan_utmatf_set_size ( Gan_SquMatrix_f *U,
00057                                        unsigned long size );
00058  Gan_SquMatrix_f *gan_ltmatf_fill_va ( Gan_SquMatrix_f *L,
00059                                       unsigned long size, ... );
00060  Gan_SquMatrix_f *gan_utmatf_fill_va ( Gan_SquMatrix_f *U,
00061                                       unsigned long size, ... );
00062  Gan_SquMatrix_f *gan_ltmatf_fill_const_q ( Gan_SquMatrix_f *L,
00063                                            unsigned long size, float value );
00064  Gan_SquMatrix_f *gan_utmatf_fill_const_q ( Gan_SquMatrix_f *U,
00065                                            unsigned long size, float value );
00066  Gan_Bool gan_ltmatf_read_va ( const Gan_SquMatrix_f *L, unsigned long size, ... );
00067  Gan_Bool gan_utmatf_read_va ( const Gan_SquMatrix_f *U, unsigned long size, ... );
00068 
00082  Gan_SquMatrix_f *gan_ltmatf_alloc ( unsigned long size );
00083 
00096  Gan_SquMatrix_f *gan_ltmatf_form ( Gan_SquMatrix_f *A, unsigned long size );
00097 
00110  Gan_SquMatrix_f *gan_ltmatf_form_data ( Gan_SquMatrix_f *A, unsigned long size,
00111                                         float *data, size_t data_size );
00112 
00121  Gan_SquMatrix_f *gan_utmatf_alloc ( unsigned long size );
00122 
00123  Gan_SquMatrix_f *gan_utmatf_form ( Gan_SquMatrix_f *A, unsigned long size );
00124 
00137  Gan_SquMatrix_f *gan_utmatf_form_data ( Gan_SquMatrix_f *A, unsigned long size,
00138                                         void *data, size_t data_size );
00139 
00160  Gan_SquMatrix_f *gan_ltmatf_fill_const_s ( unsigned long size, float value );
00161 
00171  Gan_SquMatrix_f *gan_ltmatf_fill_zero_q ( Gan_SquMatrix_f *A,
00172                                           unsigned long size );
00173 
00184  Gan_SquMatrix_f *gan_ltmatf_fill_zero_s ( unsigned long size );
00185 
00197  Gan_SquMatrix_f *gan_utmatf_fill_const_s ( unsigned long size, float value );
00198 
00209  Gan_SquMatrix_f *gan_utmatf_fill_zero_q ( Gan_SquMatrix_f *A,
00210                                           unsigned long size );
00211 
00222  Gan_SquMatrix_f *gan_utmatf_fill_zero_s ( unsigned long size );
00223 
00228 /* not user functions */
00229  Gan_SquMatrix_f *gan_ltmatf_form_gen ( Gan_SquMatrix_f *A, unsigned long size,
00230                                        float *data, size_t data_size );
00231  Gan_SquMatrix_f *gan_utmatf_form_gen ( Gan_SquMatrix_f *A, unsigned long size,
00232                                        float *data, size_t data_size );
00233  Gan_SquMatrix_f *gan_ltmatf_fill_vap ( Gan_SquMatrix_f *L,
00234                                        unsigned long size, va_list *aptr );
00235  Gan_SquMatrix_f *gan_utmatf_fill_vap ( Gan_SquMatrix_f *U,
00236                                        unsigned long size, va_list *aptr );
00237 
00250 #ifdef __cplusplus
00251 }
00252 #endif
00253 
00254 #endif /* #ifndef _GAN_MATF_TRIANGULAR_H */

Generated on Fri Mar 17 12:44:48 2006 by  doxygen 1.3.9.1