Main Page   Modules   Compound List   File List   Compound Members   File Members  

mat_diagonal.h File Reference

#include <gandalf/linalg/mat_square.h>

Go to the source code of this file.

Functions

Gan_SquMatrixgan_diagmat_set_size (Gan_SquMatrix *A, unsigned long size)
 Set square matrix to be diagonal with given size.

Gan_SquMatrixgan_diagmat_fill_va (Gan_SquMatrix *A, unsigned long size,...)
 Fill diagonal matrix from variable argument list.

Gan_SquMatrixgan_diagmat_fill_const_q (Gan_SquMatrix *A, unsigned long size, double value)
 Fill a diagonal matrix with constant value.

Gan_Bool gan_diagmat_read_va (Gan_SquMatrix *A, unsigned long size,...)
 Read the elements of a diagonal matrix into pointers.

Gan_SquMatrixgan_diagmat_diag_thres (Gan_SquMatrix *A, unsigned null_space, double thres, int *indexptr, double **elptr)
 Threshold small diagonal elements of a diagonal matrix.

Gan_SquMatrixgan_diagmat_inv_diag_thres (Gan_SquMatrix *A, unsigned null_space, double thres)
 Invert the elements of diagonal matrix.

Gan_Matrixgan_diagmatI_lmult_inf_q (Gan_SquMatrix *A, struct Gan_Matrix *B, struct Gan_Matrix *C)
Gan_SquMatrixgan_diagmat_alloc (unsigned long size)
 Macro: Allocate and return a diagonal matrix.

Gan_SquMatrixgan_diagmat_form (Gan_SquMatrix *A, unsigned long size)
 Macro: Form and return a diagonal matrix.

Gan_SquMatrixgan_diagmat_form_data (Gan_SquMatrix *A, unsigned long size, void *data, size_t data_size)
 Macro: Form and return a diagonal matrix.

Gan_SquMatrixgan_diagmat_fill_const_s (unsigned long size, double value)
 Macro: Allocates a diagonal matrix and fills it with a value.

Gan_SquMatrixgan_diagmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size)
 Macro: Sets the size of diagonal matrix, and fills it with zero.

Gan_SquMatrixgan_diagmat_fill_zero_s (unsigned long size)
 Macro: Allocates a diagonal matrix and fills it with zero.

void gan_diagmatI_lmult_inf_s (Gan_SquMatrix *A, Gan_Matrix *B)
 Macro: Left multiply inverse of diagonal matrix by generic matrix.

void gan_diagmatI_lmult_inf_i (Gan_SquMatrix *A, Gan_Matrix *B)
 Macro: Left multiply inverse of diagonal matrix by generic matrix.

Gan_SquMatrixgan_diagmat_form_gen (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size)
Gan_SquMatrixgan_diagmat_fill_vap (Gan_SquMatrix *A, unsigned long size, va_list *aptr)
 Fill diagonal matrix with values from variable argument list.


Detailed Description

Module: Diagonal matrices (double precision)

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Generated on Mon Oct 13 16:14:44 2003 by doxygen1.3-rc1