GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73577
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
la.h File Reference

Wrapper headers for BLAS/LAPACK. More...

#include <grass/config.h>
#include <stdio.h>
#include <grass/blas.h>
#include <grass/lapack.h>
#include <grass/defs/la.h>
Include dependency graph for la.h:

Go to the source code of this file.

Data Structures

struct  complex
 
struct  doublecomplex
 
struct  matrix_
 

Macros

#define GRASS_LA_H
 
#define MAX_POS   1 /* Indicates maximum value */
 
#define MAX_NEG   -1 /* Indicates minimum value */
 
#define MAX_ABS   0 /* Indicates absolute value */
 
#define DO_COMPACT   0 /* Eliminate unnecessary rows (cols) in matrix */
 
#define NO_COMPACT   1 /* ... or not */
 
#define f77_dgesv   dgesv_
 
#define f77_dgemm   dgemm_
 
#define f77_dnrm2   dnrm2_
 

Typedefs

typedef int integer
 
typedef unsigned int uinteger
 
typedef char * address
 
typedef short shortint
 
typedef float real
 
typedef double doublereal
 
typedef int logical
 
typedef short shortlogical
 
typedef char logical1
 
typedef char integer1
 
typedef long longint
 
typedef unsigned long ulongint
 
typedef int ftnlen
 
typedef int(* U_fp )()
 
typedef shortint(* J_fp )()
 
typedef integer(* I_fp )()
 
typedef real(* R_fp )()
 
typedef doublereal(* D_fp )()
 
typedef doublereal(*)(* E_fp )()
 
typedef void(* C_fp )()
 
typedef void(* Z_fp )()
 
typedef logical(* L_fp )()
 
typedef shortlogical(* K_fp )()
 
typedef void(* H_fp )()
 
typedef int(* S_fp )()
 
typedef void C_f
 
typedef void H_f
 
typedef void Z_f
 
typedef doublereal E_f
 
typedef struct matrix_ mat_struct
 
typedef mat_struct vec_struct
 

Enumerations

enum  mat_type { NONSYM, SYM, HERMITIAN }
 
enum  mat_spec { MATRIX_, ROWVEC_, COLVEC_ }
 
enum  vtype { RVEC, CVEC }
 

Detailed Description

Wrapper headers for BLAS/LAPACK.

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
David D. Gray, ddgra.nosp@m.y@ar.nosp@m.macde.nosp@m..dem.nosp@m.on co uk
GRASS GIS Development Team
Date
2000-2007

Definition in file la.h.

Macro Definition Documentation

#define DO_COMPACT   0 /* Eliminate unnecessary rows (cols) in matrix */

Definition at line 108 of file la.h.

Referenced by G_vector_copy().

#define f77_dgemm   dgemm_

Definition at line 118 of file la.h.

Referenced by G_matrix_product().

#define f77_dgesv   dgesv_

Definition at line 117 of file la.h.

Referenced by G_matrix_LU_solve().

#define f77_dnrm2   dnrm2_

Definition at line 119 of file la.h.

Referenced by G_vector_norm_euclid().

#define GRASS_LA_H

Definition at line 25 of file la.h.

#define MAX_ABS   0 /* Indicates absolute value */

Definition at line 106 of file la.h.

Referenced by G_vector_norm_maxval().

#define MAX_NEG   -1 /* Indicates minimum value */

Definition at line 105 of file la.h.

Referenced by G_vector_norm_maxval().

#define MAX_POS   1 /* Indicates maximum value */

Definition at line 104 of file la.h.

Referenced by G_vector_norm_maxval().

#define NO_COMPACT   1 /* ... or not */

Definition at line 109 of file la.h.

Referenced by G_vector_copy().

Typedef Documentation

typedef char* address

Definition at line 50 of file la.h.

typedef void C_f

Definition at line 86 of file la.h.

typedef void(* C_fp)()

Definition at line 78 of file la.h.

typedef doublereal(* D_fp)()

Definition at line 77 of file la.h.

typedef double doublereal

Definition at line 53 of file la.h.

typedef doublereal E_f

Definition at line 89 of file la.h.

typedef doublereal(*)(* E_fp)()

Definition at line 77 of file la.h.

typedef int ftnlen

Definition at line 70 of file la.h.

typedef void H_f

Definition at line 87 of file la.h.

typedef void(* H_fp)()

Definition at line 82 of file la.h.

typedef integer(* I_fp)()

Definition at line 75 of file la.h.

typedef int integer

Definition at line 48 of file la.h.

typedef char integer1

Definition at line 65 of file la.h.

typedef shortint(* J_fp)()

Definition at line 74 of file la.h.

typedef shortlogical(* K_fp)()

Definition at line 81 of file la.h.

typedef logical(* L_fp)()

Definition at line 80 of file la.h.

typedef int logical

Definition at line 62 of file la.h.

typedef char logical1

Definition at line 64 of file la.h.

typedef long longint

Definition at line 66 of file la.h.

typedef struct matrix_ mat_struct
typedef real(* R_fp)()

Definition at line 76 of file la.h.

typedef float real

Definition at line 52 of file la.h.

typedef int(* S_fp)()

Definition at line 83 of file la.h.

typedef short shortint

Definition at line 51 of file la.h.

typedef short shortlogical

Definition at line 63 of file la.h.

typedef int(* U_fp)()

Definition at line 73 of file la.h.

typedef unsigned int uinteger

Definition at line 49 of file la.h.

typedef unsigned long ulongint

Definition at line 67 of file la.h.

Definition at line 156 of file la.h.

typedef void Z_f

Definition at line 88 of file la.h.

typedef void(* Z_fp)()

Definition at line 79 of file la.h.

Enumeration Type Documentation

enum mat_spec
Enumerator
MATRIX_ 
ROWVEC_ 
COLVEC_ 

Definition at line 128 of file la.h.

enum mat_type
Enumerator
NONSYM 
SYM 
HERMITIAN 

Definition at line 126 of file la.h.

enum vtype
Enumerator
RVEC 
CVEC 

Definition at line 130 of file la.h.