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

📄 tntcmplx.h

📁 本系统采用VC开发.可实现点云数据的处理,图像缩放,生成曲面.
💻 H
字号:
// Template Numerical Toolkit (TNT) for Linear Algebra//// BETA VERSION INCOMPLETE AND SUBJECT TO CHANGE// Please see http://math.nist.gov/tnt for updates//// R. Pozo// Mathematical and Computational Sciences Division// National Institute of Standards and Technology#ifndef TNT_COMPLEX_H#define TNT_COMPLEX_H//---------------------------------------------------------------------//  Definitions for complex number support.  The ANSI C++ proposal //  specifies a templated class for this, e.g. complex<double> or //  complex<float>, but not all compilers currently support this.  TNT//  provides a mechanism to accomodate any complex number class,//  using "DComplex" and "FComplex" names for double-precision//  and single-precision instances, respectively.  For example,//  if your system uses the older "Complex" number class, compile as////   CC -DTNT_DCOMPLEX_TYPE='Complex' //  //  Now DComplex #ifndef TNT_DCOMPLEX_TYPE#define TNT_DCOMPLEX_TYPE complex<double>#endiftypedef TNT_DCOMPLEX_TYPE DComplex;#if 0#ifndef TNT_FCOMPLEX_TYPE#define TNT_FCOMPLEX_TYPE complex<float>#endiftypedef TNT_FCOMPLEX_TYPE FComplex;#endif#endif// TNT_COMPLEX_H

⌨️ 快捷键说明

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