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

Fill a General Size Vector with Values
[General Size Vectors]


Functions

Gan_Vectorgan_vec_fill_va (Gan_Vector *x, unsigned long rows,...)
 Fill vector from variable argument list.
Gan_Vectorgan_vec_fill_vap (Gan_Vector *x, unsigned long rows, va_list *aptr)
 Fill vector from variable argument list.
Gan_Vectorgan_vec_fill_const_q (Gan_Vector *x, unsigned long rows, double value)
 Fill all elements of a vector with the same value.
Gan_Vectorgan_vec_fill_const_s (unsigned long rows, double value)
 Macro: Allocate and fill all elements of a vector with the same value.
Gan_Vectorgan_vec_fill_zero_q (Gan_Vector *x, unsigned long rows)
 Macro: Fill vector with zeros.
Gan_Vectorgan_vec_fill_zero_s (unsigned long rows)
 Macro: Allocate and fill vector with zeros.
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_Vector_fgan_vecf_fill_const_s (unsigned long rows, float value)
 Macro: Allocate and fill all elements of a vector with the same value.
Gan_Vector_fgan_vecf_fill_zero_q (Gan_Vector_f *x, unsigned long rows)
 Macro: Fill vector with zeros.
Gan_Vector_fgan_vecf_fill_zero_s (unsigned long rows)
 Macro: Allocate and fill vector with zeros.

Function Documentation

Gan_Vector* gan_vec_fill_const_q Gan_Vector x,
unsigned long  rows,
double  value
 

Fill all elements of a vector with the same value.

Parameters:
x The vector to be filled
rows The new size of the vector
value The value to set each element of the vector to
Returns:
Pointer to the result vector x, or NULL on failure..
Set the size of vector x to rows and fill each element with the provided value.

See also:
gan_vec_fill_const_s()

Gan_Vector* gan_vec_fill_const_s unsigned long  rows,
double  value
 

Macro: Allocate and fill all elements of a vector with the same value.

Parameters:
rows The new size of the vector
value The value to set each element of the vector to
Returns:
Allocated and filled vector or NULL on failure
Allocate a vector, set its size to rows, and fill each element with the provided value.
See also:
gan_vec_fill_const_q().

Gan_Vector* gan_vec_fill_va Gan_Vector x,
unsigned long  rows,
  ...
 

Fill vector from variable argument list.

Returns:
Pointer to the vector x.
Fill vector x with values from variable argument list, and set the size of x to rows.

Gan_Vector* gan_vec_fill_vap Gan_Vector x,
unsigned long  rows,
va_list *  aptr
 

Fill vector from variable argument list.

Returns:
Pointer to the vector x.
Fill vector x with values from variable argument list aptr, and set the size of x to rows.

Gan_Vector* gan_vec_fill_zero_q Gan_Vector x,
unsigned long  rows
 

Macro: Fill vector with zeros.

Parameters:
x The vector to be filled
rows The new size of the vector
Returns:
Pointer to filled vector, or NULL on failure.
Set the size of vector x to rows, and fill it with zeros.
See also:
gan_vec_fill_zero_s().

Gan_Vector* gan_vec_fill_zero_s unsigned long  rows  ) 
 

Macro: Allocate and fill vector with zeros.

Parameters:
rows The new size of the vector
Returns:
The allocated and filled vector, or NULL on failure.
Allocate a vector, set the size of it to rows and fill it with zeros.
See also:
gan_vec_fill_zero_q().

Gan_Vector_f* gan_vecf_fill_const_q Gan_Vector_f x,
unsigned long  rows,
float  value
 

Fill all elements of a vector with the same value.

Parameters:
x The vector to be filled
rows The new size of the vector
value The value to set each element of the vector to
Returns:
Pointer to the result vector x, or NULL on failure..
Set the size of vector x to rows and fill each element with the provided value.

See also:
gan_vecf_fill_const_s()

Gan_Vector_f* gan_vecf_fill_const_s unsigned long  rows,
float  value
 

Macro: Allocate and fill all elements of a vector with the same value.

Parameters:
rows The new size of the vector
value The value to set each element of the vector to
Returns:
Allocated and filled vector or NULL on failure
Allocate a vector, set its size to rows, and fill each element with the provided value.
See also:
gan_vecf_fill_const_q().

Gan_Vector_f* gan_vecf_fill_va Gan_Vector_f x,
unsigned long  rows,
  ...
 

Fill vector from variable argument list.

Returns:
Pointer to the vector x.
Fill vector x with values from variable argument list, and set the size of x to rows.

Gan_Vector_f* gan_vecf_fill_vap Gan_Vector_f x,
unsigned long  rows,
va_list *  aptr
 

Fill vector from variable argument list.

Returns:
Pointer to the vector x.
Fill vector x with values from variable argument list aptr, and set the size of x to rows.

Gan_Vector_f* gan_vecf_fill_zero_q Gan_Vector_f x,
unsigned long  rows
 

Macro: Fill vector with zeros.

Parameters:
x The vector to be filled
rows The new size of the vector
Returns:
Pointer to filled vector, or NULL on failure.
Set the size of vector x to rows, and fill it with zeros.
See also:
gan_vecf_fill_zero_s().

Gan_Vector_f* gan_vecf_fill_zero_s unsigned long  rows  ) 
 

Macro: Allocate and fill vector with zeros.

Parameters:
rows The new size of the vector
Returns:
The allocated and filled vector, or NULL on failure.
Allocate a vector, set the size of it to rows and fill it with zeros.
See also:
gan_vecf_fill_zero_q().


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