/usr/include/yalecad/linalg.h is in libycadgraywolf-dev 0.1.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /* -----------------------------------------------------------------
FILE: linalg.h
DESCRIPTION:Include file for linear algebra package.
CONTENTS:
DATE: Tue Jan 15 01:29:36 EST 1991 - original coding.
REVISIONS:
----------------------------------------------------------------- */
#ifndef YLINALG_H
#define YLINALG_H
#ifndef lint
static char YlinAlgId[] = "@(#) linalg.h version 1.1 1/15/91" ;
#endif
#define YEPSILON 1.0E-12
#define YMIN -1.0E-38
#define YZERO 0.0
#define YMATRIX( matrix, r, c ) matrix->m[r][c]
/* the matrix itself */
typedef struct {
INT rows ;
INT columns ;
DOUBLE **m ;
} YMBOX, *YMPTR ;
extern YMPTR Ymatrix_create( P2(INT rows, INT columns ) ) ;
extern YMPTR Ymatrix_free( P1( YMPTR mptr ) ) ;
extern YMPTR Ymatrix_transpose( P1( YMPTR mptr ) ) ;
extern YMPTR Ymatrix_mult( P2(YMPTR aptr, YMPTR bptr ) ) ;
extern YMPTR Ymatrix_sub( P2(YMPTR aptr, YMPTR bptr ) ) ;
extern Ymatrix_disp( P1(YMPTR mptr ) ) ;
extern YMPTR Ymatrix_eye( P1(INT size ) ) ;
extern Ymatrix_zero( P1(YMPTR matrix ) ) ;
extern YMPTR Ymatrix_copy( P1(YMPTR input ) ) ;
extern YMPTR Ymatrix_linv( P1(YMPTR aptr ) ) ;
extern YMPTR Ymatrix_cofactors( P1(YMPTR aptr ) ) ;
#endif /* LINALG_H */
|