00001
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _GAN_MATF_SCALEDI_H
00030 #define _GAN_MATF_SCALEDI_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_scalImatf_set_size ( Gan_SquMatrix_f *A,
00055 unsigned long size );
00056 Gan_SquMatrix_f *gan_scalImatf_fill_va ( Gan_SquMatrix_f *A,
00057 unsigned long size, ... );
00058 Gan_SquMatrix_f *gan_scalImatf_fill_const_q ( Gan_SquMatrix_f *A,
00059 unsigned long size,
00060 float value );
00061 Gan_Bool gan_scalImatf_read_va ( const Gan_SquMatrix_f *A,
00062 unsigned long size, ... );
00063
00078 Gan_SquMatrix_f *gan_scalImatf_alloc ( unsigned long size );
00079
00092 Gan_SquMatrix_f *gan_scalImatf_form ( Gan_SquMatrix_f *A, unsigned long size );
00093
00107 Gan_SquMatrix_f *gan_scalImatf_form_data ( Gan_SquMatrix_f *A,
00108 unsigned long size,
00109 float *data, size_t data_size );
00110
00131 Gan_SquMatrix_f *
00132 gan_scalImatf_fill_const_s ( unsigned long size, float value );
00133
00144 Gan_SquMatrix_f *
00145 gan_scalImatf_fill_zero_q ( Gan_SquMatrix_f *A, unsigned long size );
00146
00158 Gan_SquMatrix_f *
00159 gan_scalImatf_fill_zero_s ( unsigned long size );
00160
00165
00166 Gan_SquMatrix_f *gan_scalImatf_form_gen ( Gan_SquMatrix_f *A,
00167 unsigned long size,
00168 float *data, size_t data_size );
00169 Gan_SquMatrix_f *gan_scalImatf_fill_vap ( Gan_SquMatrix_f *A,
00170 unsigned long size, va_list *aptr );
00171
00184 #ifdef __cplusplus
00185 }
00186 #endif
00187
00188 #endif