由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - calculate an integral in python (转载)
相关主题
solve equations of integrals in python (转载)急问有没有面试过bloomberg的senior calculations programmer的?
面试就是面试问题,跟实际问题差太远about how to test a calculator program on computer
A家面试题分享一道trading firm的code screen,只能用c++
问一个阿三出的面试题: 什么是iterator invalidation?[合集] M$ 面试问题
雇主不能取消I-140的具体条件是什么?要是hash一个string,用什么做key比较好?
[Apple openings] Hardware Systems Integration Engineer/Hardware Design Engineerqualcomm的onsite准备
请问关于一个分部积分的问题 (转载)求教: Amazon 的那道化学元素周期表的问题
招 senior frontend or full-stack developerhow to design perl regex expression: not matching a word
相关话题的讨论汇总
话题: integral话题: python话题: calculate话题: oo话题: invalid
进入JobHunting版参与讨论
1 (共1页)
m******t
发帖数: 273
1
【 以下文字转载自 Quant 讨论区 】
发信人: myregmit (myregmit), 信区: Quant
标 题: calculate an integral in python
发信站: BBS 未名空间站 (Fri Mar 21 09:39:52 2014, 美东)
I need to calculate an integral in python.
I have imported sympy.
g(a,z) = integral_from_z_to_inf of ( t^(a-1) * e^(-1))
in python:
x,a,z = symbols('x a z')
g = integrate(x**(a-1) * exp(-x), z, oo)
I got error:
ValueError: Invalid limits given: (z, oo)
Any help would be appreciated !
Thanks !
1 (共1页)
进入JobHunting版参与讨论
相关主题
how to design perl regex expression: not matching a word雇主不能取消I-140的具体条件是什么?
how to charge commission for trades of stocks ? (转载)[Apple openings] Hardware Systems Integration Engineer/Hardware Design Engineer
请教leetcode里面如何使用ArrayList, Stack,Queue请问关于一个分部积分的问题 (转载)
L家电面招 senior frontend or full-stack developer
solve equations of integrals in python (转载)急问有没有面试过bloomberg的senior calculations programmer的?
面试就是面试问题,跟实际问题差太远about how to test a calculator program on computer
A家面试题分享一道trading firm的code screen,只能用c++
问一个阿三出的面试题: 什么是iterator invalidation?[合集] M$ 面试问题
相关话题的讨论汇总
话题: integral话题: python话题: calculate话题: oo话题: invalid