⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multi_line.h

📁 ngspice又一个电子CAD仿真软件代码.功能更全
💻 H
字号:
/* *  project.h  * *  Diagonalization by Successive Rotations Method *               (The Jacobi Method) * *  Date: October 4, 1991 * *  Author: Shen Lin * *  Copyright (C) University of California, Berkeley * *//************************************************************ * *	Macros * ************************************************************/#ifndef MAX#define MAX(x, y) ((x) > (y) ? (x) : (y))#endif#ifndef MIN#define MIN(x, y) ((x) < (y) ? (x) : (y))#endif#ifndef ABS#define ABS(x) ((x) >= 0 ? (x) : (-(x)))#endif#ifndef SGN#define SGN(x) ((x) >= 0 ? (1.0) : (-1.0))#endif/************************************************************ * *	Defines * ************************************************************/#define MAX_DIM   16#define Title     "Diagonalization of a Symmetric matrix A (A = S^-1 D S)\n"#define Left_deg   7  /*  should be greater than or equal to 6  */#define Right_deg  2/************************************************************ * *	Data Structure Definitions * ************************************************************/typedef struct linked_list_of_max_entry{   struct linked_list_of_max_entry  *next;   int    row, col;   float  value;} MAXE, *MAXE_PTR;typedef struct {   double  *Poly[MAX_DIM];   double  C_0[MAX_DIM];} Mult_Out;typedef struct {   double  *Poly;   double  C_0;} Single_Out;

⌨️ 快捷键说明

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