码迷,mamicode.com
首页 >  
搜索关键字:complex    ( 1359个结果
python中的字符数字之间的转换函数
python中的字符数字之间的转换函数 int(x [,base ]) 将x转换为一个整数 ``long(x [,base ]) 将x转换为一个长整数 ``float(x ) 将x转换到一个浮点数 ``complex(real [,imag ]) 创建一个复数 ``str(x ) 将对象 x 转换为 ...
分类:编程语言   时间:2020-07-24 15:29:03    阅读次数:80
python
常用类型转换函数 int(x) 将x转换成整数 float(x) 将x转换成浮点数类型 complex(real[,imag]) 创建一个复数 str(x)将x转换成字符串 repr(x)将x转换为表达式字符串 eval(str)计算在字符串中的有效python表达式并返回一个对象 chr(x)将整 ...
分类:编程语言   时间:2020-07-21 01:17:47    阅读次数:96
Check if a given array contains duplicate elements within k distance from each other.
package _interview_question /** * Check if a given array contains duplicate elements within k distance from each other. * Given an unsorted array that ...
分类:其他好文   时间:2020-07-17 01:23:35    阅读次数:107
PCIe知识摘要记录
摘: 在PCIe的Spec中,并没有特别详细的关于Root Complex的定义,从实际的角度来讲,可以把Root Complex理解为CPU与PCIe总线系统通信的媒介。Endpoint处于PCIe总线系统拓扑结构中的最末端,一般作为总线操作的发起者(initiator,类似于PCI总线中的主机) ...
分类:其他好文   时间:2020-07-16 12:04:35    阅读次数:54
Neural_machine_translation_with_attention_v4a
Neural Machine TranslationWelcome to your first programming assignment for this week! You will build a Neural Machine Translation (NMT) model to trans... ...
分类:系统相关   时间:2020-07-14 00:34:46    阅读次数:190
Python内置数据类型
数值型 int float complex bool 数字的处理函数 round();四舍六入,五取偶;round(1.5)=2;round(2.5)=2; floor()地板;天花板ceil(); math.floor(1.5)=1;math.ceil(1.5)=2; min(); max(); ...
分类:编程语言   时间:2020-07-11 23:10:10    阅读次数:100
数据结构 实现简单的复数ADT
复数ADT(抽象数据类型, Abstruct Data Type) ADT Complex{ 数据对象 :{ e1, e2 | e1, e2(-R, R是实数集 } 数据关系 : { <e1, e2>| e1是复数的实部, e2是复数的虚部 } 基本操作 : create(&C, x, y) 操作结 ...
分类:其他好文   时间:2020-07-10 09:45:32    阅读次数:95
快速傅里叶变换FFT
模板 #include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<complex> #define maxn 4000010 #define PI (acos(-1.0)) using namespac ...
分类:其他好文   时间:2020-07-09 12:31:09    阅读次数:80
C连载13-复数类型以及基本数据类型总结
一、复数和虚数类型 1.C语言有三种复数类型:float _Comples,double _Complex,long double _Complex float_complex类型的应包含两个float类型的值,分别表示实部和虚部。 类似的C语言的三种虚数类型为1float _Imaginary,d ...
分类:其他好文   时间:2020-07-08 01:28:11    阅读次数:122
Spring Cloud简介
一、简介 打开Spring官网http://spring.io 首页的中部,可以看到Spring Cloud的简介。 【原文】Building distributed systems doesn't need to be complex and error-prone(易错). Spring Clo ...
分类:编程语言   时间:2020-07-07 18:08:44    阅读次数:108
1359条   上一页 1 2 3 4 5 ... 136 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!