00001
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
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
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
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