lvcmplx128.cpp
来自「LabVIEW8.2从入门到精通配套光碟实例」· C++ 代码 · 共 8 行
CPP
8 行
#include "extcode.h"
_declspec(dllexport) void LVcmplx128(cmplx128 *input, cmplx128 *output);
_declspec(dllexport) void LVcmplx128(cmplx128 *input, cmplx128 *output)
{
output->re = (input->re * input->re) - (input->im * input->im);
output->im = (float64)2.0 * (input->re * input->im);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?