Main Page | Modules | Class List | File List | Class 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 (const 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 (const 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, double *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.
Gan_Matrixgan_diagmatI_lmult_inf_s (const Gan_SquMatrix *A, Gan_Matrix *B)
 Macro: Left multiply inverse of diagonal matrix by generic matrix.
Gan_Matrixgan_diagmatI_lmult_inf_i (const 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

Version:
1.18
Date:
2005/08/22 08:52:18
Author:
jps
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:52 2006 by  doxygen 1.3.9.1