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

vecf_gen.c File Reference

#include <stdarg.h>
#include <gandalf/linalg/vecf_gen.h>
#include <gandalf/linalg/matf_gen.h>
#include <gandalf/linalg/matf_symmetric.h>
#include <gandalf/linalg/clapack.h>
#include <gandalf/linalg/cblas.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/common/endian_io.h>

Functions

Gan_Bool gan_vecf_realloc (Gan_Vector_f *x, unsigned long rows)
void gan_vecf_free (Gan_Vector_f *x)
 Free a vector.
Gan_Vector_fgan_vecf_set_size (Gan_Vector_f *x, unsigned long rows)
 Set size of vector.
Gan_Vector_fgan_vecf_fill_va (Gan_Vector_f *x, unsigned long rows,...)
 Fill vector from variable argument list.
Gan_Vector_fgan_vecf_fill_vap (Gan_Vector_f *x, unsigned long rows, va_list *aptr)
 Fill vector from variable argument list.
Gan_Vector_fgan_vecf_fill_const_q (Gan_Vector_f *x, unsigned long rows, float value)
 Fill all elements of a vector with the same value.
Gan_Bool gan_vecf_read_va (const Gan_Vector_f *x, unsigned long rows,...)
 Read vector from variable argument list.
Gan_Vector_fgan_vecf_copy_q (const Gan_Vector_f *x, Gan_Vector_f *y)
 Copy vector.
Gan_Vector_fgan_vecf_scale_q (Gan_Vector_f *x, float a, Gan_Vector_f *y)
 Multiply vector by scalar.
Gan_Vector_fgan_vecf_add_q (Gan_Vector_f *x, Gan_Vector_f *y, Gan_Vector_f *z)
 Add two vectors and write result into a third.
Gan_Vector_fgan_vecf_sub_q (Gan_Vector_f *x, Gan_Vector_f *y, Gan_Vector_f *z)
 Subtract two vectors and write result into a third.
float gan_vecf_dot (const Gan_Vector_f *x, const Gan_Vector_f *y)
 Vector dot product.
Gan_Matrix_fgan_vecf_outer_q (const Gan_Vector_f *x, const Gan_Vector_f *y, Gan_Matrix_f *A)
 Vector outer product.
Gan_SquMatrix_fgan_vecf_outer_sym_q (const Gan_Vector_f *x, Gan_SquMatrix_f *A)
 Vector outer product with self.
Gan_Vector_fgan_vecf_insert (Gan_Vector_f *x, unsigned long rx, const Gan_Vector_f *y, unsigned long ry, unsigned long rows)
 Insert part of vector in another vector.
Gan_Vector_fgan_vecf_insert_mat (Gan_Vector_f *x, unsigned long rx, const Gan_Matrix_f *A, unsigned long ra, unsigned long ca, unsigned long rows)
 Insert part of a column of a matrix in a vector.
Gan_Vector_fgan_vecf_insert_matT (Gan_Vector_f *x, unsigned long rx, const Gan_Matrix_f *A, unsigned long ra, unsigned long ca, unsigned long rows)
 Insert part of a row of a matrix in a vector.
void gan_vecf_free_va (Gan_Vector_f *x,...)
 Free a NULL terminated variable argument list of vectors.
Gan_Vector_fgan_vecf_form_gen (Gan_Vector_f *x, unsigned long rows, float *data, size_t data_size)
Gan_Bool gan_vecf_fprint (FILE *fp, const Gan_Vector_f *x, const char *prefix, int indent, const char *fmt)
 Print vector to file pointer.
Gan_Vector_fgan_vecf_fscanf_q (FILE *fp, Gan_Vector_f *x, char *prefix, int prefix_len)
 Read vector from file.
Gan_Bool gan_vecf_fwrite (FILE *fp, const Gan_Vector_f *x, gan_uint32 magic_number)
 Print vector to binary file pointer.
Gan_Vector_fgan_vecf_fread_q (FILE *fp, Gan_Vector_f *x, gan_uint32 *magic_number)
 Read vector from file.
void gan_vecf_db (const Gan_Vector_f *x)

Detailed Description

Module: Generic column vectors (single precision)

Part of: Gandalf Library

Version:
1.17
Date:
2006/03/15 15:16:09
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:53 2006 by  doxygen 1.3.9.1