yastruct.h

来自「[[ Complex Matrices : Language c]]」· C头文件 代码 · 共 28 行

H
28
字号
/* xastruct.h                  free ware                    xhunga@tiscali.fr */

/*-------------------------------------------------------- Fraction structure */
typedef struct
{
    double  n;
    double  d;
}  fraction,
 *pfraction;                                         /* Pointer on a fraction */

/*--------------------------------------------------------- Complex structure */
typedef struct
{
    fraction  r;
    fraction  i;
}  complexF,
 *pcomplexF;                                          /* Pointer on a complex */

/*---------------------------------------------------------- Matrix structure */
typedef struct
{
     int  rows;
     int  cols;
  double *pb ;                                         /* Pointer on a blo ck */
} mzF,*PmzF;


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?