腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(3924)
视频
沙龙
2
回答
复数类
、
class Complex { this.real = real; return this.real; return this.
imag
; this.real = real; setImag(
ima
浏览 0
提问于2022-02-24
得票数 3
1
回答
是否可以在类中在Object.defineProperty()上设置this.var
因此,我使用以下构造函数和方法创建了一个类复合体 constructor(real,
imag
) { real = 0 this.real = real } elseif (
imag
=== undefined) {
浏览 0
提问于2019-11-15
得票数 1
回答已采纳
1
回答
复数除法类
、
operator/ (complex& x) { double j = (real * conjugate.real) + (
imag
* conjugate.
imag
); // real double u = (real * conjugate.
imag
) + (
imag
* conjugate.real); //
imag
double h = (((conjuga
浏览 1
提问于2015-12-16
得票数 0
1
回答
用于4级FFT设计的可靠低延迟蝶形模块的分割组合和时序逻辑
、
、
、
、
, bw_
imag
_
imag
, bw_real_
imag
, bw_
imag
_real; // complex product outputs assign bw_
imag
_
imag
= b_
imag
* w_
imag
; // bd assign bw_real_
im
浏览 2
提问于2022-03-09
得票数 0
回答已采纳
2
回答
UIImagePickerController直播照片
、
、
、
我正在尝试显示一个UIImagePickerController,它允许用户选择UIImage或PHLivePhoto。 imagePicker.sourceType = .savedPhotosAlbum imagePicker.mediaTypes =
浏览 3
提问于2016-09-14
得票数 0
回答已采纳
3
回答
Python 3类中复数的除法
、
、
、
、
这是我的代码: def __init__(self, real = 0,
imag
= 0): self.
imag
=
imag
if self.
imag
> 0:return str(self.real) + "+" + str(self.
imag
) + &q
浏览 2
提问于2019-05-25
得票数 1
回答已采纳
1
回答
fftw c2c:变换后的真实数据中缺少对称性
、
、
2 real -289
imag
-566 4 real 31
imag
0 7 real -437.279
imag
802.151 9 real 182.693
imag
409
imag
-134 17
浏览 0
提问于2012-05-01
得票数 3
回答已采纳
2
回答
如何对Matlab parfor循环中的矩阵进行分类?
、
、
、
% Sample data 133 158 96 149 110; 209 16 15 146 28;
Imag
1(find(
Imag
1 <= 130)) = 4;
Imag
1(find(
Imag
1 >= 150
浏览 2
提问于2015-04-29
得票数 0
回答已采纳
1
回答
使用公共类复合体跟踪e^(ix)[exp(ix)]
、
、
class Complex: self.real = real self.
imag
+ other.
imag
)
浏览 0
提问于2019-08-05
得票数 0
1
回答
Swift Bug:对尚未呈现的视图进行快照会导致快照为空
、
、
、
UIImagePickerController .isSourceTypeAvailable(UIImagePickerControllerSourceType.Camera)){
imag
.delegate = self
imag
.allowsE
浏览 11
提问于2015-03-28
得票数 4
1
回答
可克隆和可比接口
、
、
、
); }*/ this.real = real; double
imag
= a.
imag
- num.
imag
; } public Complexdouble
imag
= a.real * num.<e
浏览 3
提问于2016-03-12
得票数 0
1
回答
如何在perl中创建类并将对象作为争论传递给方法?
、
这是我的密码 { public double
imag
; TKomplex res; res.
imag
= a.
imag
+ b.
imag
; }
浏览 4
提问于2013-09-30
得票数 0
回答已采纳
2
回答
Python中的列表变得非常复杂
我有一个简单的函数,它以一个2D列表作为参数: temp = [] temp.append(
imag
_array[-20:])>>> len(
imag
_array)129
浏览 3
提问于2015-04-20
得票数 2
回答已采纳
1
回答
用C++实现计算机图形学中的自相似分形
、
、
有人能帮我用c语言编写计算机图形学中自相似分形的编程代码吗?
浏览 3
提问于2010-04-08
得票数 3
2
回答
如何计算两个实例中的值?
、
、
void Conjugate(int real1, double
imag
1, int real2, double
imag
2);/*calculations for complex number
imag
1, int real2, double
imag
2); z.setImag(
imag
); c.prin
浏览 1
提问于2014-02-24
得票数 0
3
回答
在python中分离复数的实部和虚部
、
、
、
、
我需要在python中提取复数的实数和虚数元素。我知道怎么把一个列表变成一个复数。但不是反过来。Y = (-5.79829066331+4.55640490659j)Z = (-5.79829066331, 4.55640490659)A = -5.79829066331
浏览 6
提问于2014-07-06
得票数 33
2
回答
Python -如何将一个数字除以一个复数,实现我自己的复数类?
、
、
、
、
对于其他基本操作(__add__、__sub__、__mul__),我已经这样做了: def __init__(self, real=0,
imag
=0): self.
imag
=
imag
returnComplex(self.real + other.real, self.
imag</em
浏览 0
提问于2020-03-06
得票数 0
2
回答
有人能解释一下为什么这个输出会显示6次析构函数消息吗?
the Program #include <iostream>private: int
imag
; Complex(int real, int
imag
); int getreal();}; {
浏览 17
提问于2021-07-20
得票数 0
回答已采纳
3
回答
c++中复数的三角函数和双曲函数
&num2 1,const配合物&num2 2){sum.
imag
=num1.
imag
+num2.
imag
;空穴配合物::次(复杂与次,康斯特络合物&数值1,康斯特络合物&数值2){} 空洞配合物::多(配合物与乘积,康斯特配合物&num1 1,康斯特配合
浏览 4
提问于2010-08-19
得票数 0
1
回答
写出一个复数乘法的函数
、
、
self.
imag
=
imag
self.real = (self.real * d.real) - (self.
imag
*d.
imag
)
浏览 32
提问于2020-04-22
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
自从看了这篇文章,再也不用担心爬不到心仪女神的图片了!
MATLAB入门篇 数值类型
python 每日内置函数一讲complex函数
PyTorch的10个基本张量操作
越南实验室设备展将被推迟到2022年5月份
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券