由买买提看人间百态

topics

全部话题 - 话题: cint
1 (共1页)
z*******n
发帖数: 1034
1
https://stackoverflow.com/questions/24101718/swift-performance-sorting-
arrays#comment37183103_24102237
tl;dr Swift without aggressive compiler optimizations at this stage is very
slow; with them it is very fast. Keep it in mind.
Here is an in-place quicksort in Swift:
func quicksort_swift(inout a:CInt[], start:Int, end:Int) {
if (end - start < 2){
return
}
var p = a[start + (end - start)/2]
var l = start
var r = end - 1
while (l <= r){
if (a[l] < p){
... 阅读全帖
r****y
发帖数: 1437
2
来自主题: Computation版 - Re: a question about fortran
Recently have to use a Fortran code written by another folk. He
used command-line-arguments a lot. Like this
character*80 cint
...
getarg(1, cint)
read(cint, *) number
...
Are these "getarg" and "read(cint, *)" standard fortran syntax, or
just dialect used by some compilers?
t********5
发帖数: 274
3
来自主题: DotNet版 - 求救一个小问题
我也认为是button的事件里写的
可是我找不到那个button相关的任何代码
是flash,整个页面主要都是flash的,我以前没接触过flash方面的编程,不知道您有
没有什么猜想,我顺着路子去找一找
table.aspx页面,就是有聊天窗口,有send按钮的这个页面
<%@ Page Title="" Language="VB" MasterPageFile="~/Shared/xxxx.master"
AutoEventWireup="false"
CodeFile="table.aspx.vb" Inherits="VNT_table" %>
"Server">

阅读全帖
Y*****g
发帖数: 101
4
【 以下文字转载自 Physics 讨论区 】
发信人: Yueqing (yueqing), 信区: Physics
标 题: Postdoc position available
发信站: BBS 未名空间站 (Tue Feb 15 20:50:48 2011, 美东)
We are filling a postdoc position available immediately in nonlinear metamaterials. It is a theoretical position needing expertise on Computational Electromagnetics using FEM, FDTD or other relevant methods. Simulation coding is essential for the position. The relevant previous experimental work could be found at http://cint/source/orgs/mpa/cint/houtong_chen.... 阅读全帖
Y*****g
发帖数: 101
5
来自主题: Physics版 - Postdoc position available
We are filling a postdoc position available immediately in nonlinear metamaterials. It is a theoretical position needing expertise on Computational Electromagnetics using FEM, FDTD or other relevant methods. Simulation coding is essential for the position. The relevant previous experimental work could be found at http://cint/source/orgs/mpa/cint/houtong_chen.shtml. Interested applicants should send their CV immediately to c****[email protected].
c****e
发帖数: 2097
6
来自主题: Physics版 - Postdoc position available

metamaterials. It is a theoretical
position needing expertise on Computational Electromagnetics using FEM, FDTD
or other relevant methods.
Simulation coding is essential for the position. The relevant previous
experimental work could be found at
http://cint/source/orgs/mpa/cint/houtong_chen.shtml. Interested applicants should send their CV
immediately to c****[email protected].
How Much?
r****r
发帖数: 1839
7
来自主题: Physics版 - Postdoc position available
李文和就在那里被整的,如果你们某天犯了一件别人也犯的错误,但因为
是华裔的原因,会不会被调查?

metamaterials. It is a theoretical position needing expertise on
Computational Electromagnetics using FEM, FDTD or other relevant methods.
Simulation coding is essential for the position. The relevant previous
experimental work could be found at http://cint/source/orgs/mpa/cint/houtong_chen.shtml. Interested applicants should send their CV immediately to c****[email protected].
p*****c
发帖数: 2858
8
来自主题: Automobile版 - 打算换米其林的轮胎
sorry , I don't know your spec , but ps3 is really a good tire.
还有倍耐力的cint p7,也是好的一比的tire,不知道美国有没有卖
你suv?
n******r
发帖数: 16
9
这里只是帮老板转发一下(个人觉得不管是实验条件还是待遇都很好)。有兴趣的可以
申请(这些职位在Sandia网站上能找到,有兴趣的也可以发信问我,我尽量回答):
2 Postdoc openings in Nanophotonics
We have two postdoc openings in experimental Nanophotonics. The postdocs
will work in the general areas of plasmonics/metamaterials combined with
semiconductors and/or optical nanomaterials.
The positions are at the “Center for Integrated Nanotechnologies”, a DOE
Nanoscience user facility run by Sandia. Postdocs will have free access to
state of the art facilities http://cint.san... 阅读全帖
b**u
发帖数: 2761
10
来自主题: NewMexico版 - Los alamos哪个组是做电池的?
我帮你大致的搜索了一下,找到这个
http://www.koat.com/video/26630298/detail.html
http://cint.lanl.gov/jianyu_huang.shtml
好像这个人,Jianyu Huang,是做电池的。
你如果能进los alamos以后可以推荐我哈,哈哈哈。
g****d
发帖数: 3461
11
来自主题: Wisdom版 - 轮回与生命起源

citta来自动词根cint(想),译成英文自然是"thinking mind"。
中文里面心思联在一起,译成中文通常都是心。
W**N
发帖数: 1037
12
There are three kinds of wisdom: received wisdom (suta-mayā
paññā), intellectual wisdom (cintā-mayā paññā), and
experiential wisdom (bhāvanā-mayā paññā).(Page 89).
Art of Living, by SN Goenka
免费的书在这里[http://www.saraniya.com/books/meditation/SN_Goenka-Art_of_Living.pdf]
F**********d
发帖数: 22
13
来自主题: BuildingWeb版 - 请教一个vbscript的语句
需要把一个vbscript的小函数写成其他语言,里面有这样一个statement:
LoN = CInt(t) And 15
这个是 AND在这里是实现什么的?
多谢!
y********o
发帖数: 2565
14
来自主题: DotNet版 - Curious for VBSCRIPT in ASP file
myinteger = Cint(my_string_presentation_of_an_integer)
g****g
发帖数: 1828
15
const int nbins = 13;
double xbin[nbins+1];
for (int i=0;i xbin[i]= 10.0*i;
here's the message, but the line number is incorrect; it's far from the line
where this array is located.
Limitation: Statement too long FILE:drawRatios4.C LINE:96
cint: Security mode 0x7:0x2 *** Fatal error in interpreter... restarting
interpreter ***
*** Fatal error in interpreter... restarting interpreter ***
l********a
发帖数: 1154
16
来自主题: Programming版 - Delphi 新手问个巨初级的问题
没搞过delphi,但根据vb经验来看,
这么简单的问题,肯定不会有一个函数来搞,
应该是用空格split字符串得到字符串数组,然后对每个元素做类型转换,类似vb的cint(
)
o*v
发帖数: 371
17
来自主题: Programming版 - Delphi 新手问个巨初级的问题
谢啦,这办法挺好。

cint(
w***g
发帖数: 5958
18
来自主题: Programming版 - Scala有一点不好
我怎么记得FFI也是用IO monad实现的。比如下面的页面
https://www.haskell.org/haskellwiki/FFI_Introduction
C实现的一个void set_icanon(int fd),到了haskell就变成带IO的了:
foreign import ccall "set_icanon" set_icanon :: CInt -> IO ()
难道是我查得不对?
你这个claim有可能颠覆我的三观,不得不问问清楚。

IO
a*****e
发帖数: 1700
19
来自主题: Programming版 - Scala有一点不好
你的理解有一点点误差。没有任何理由可以阻止你写出如下声明:
foreign import ccall "set_icanon" set_icanon :: CInt -> ()
然后就可以像调用纯函数一样调用 I/O routine 啦!
之所以 FFI 提供 IO () 这样的声明方式,是为了立刻将有副作用的 FFI 调用封装到
IO Monad 里面去。要是想跳出 IO Monad,完全可以不用。
d*b
发帖数: 21830
20
来自主题: Physics版 - 为什么很多人这么不待见matlab
我更推荐把matlab做库函数,自己写c++的package,我一直都这么做的。root也是这样
,我也从来不用它家的CINT, 只用head file.
d*b
发帖数: 21830
21
来自主题: Physics版 - 为什么很多人这么不待见matlab
我说的意思是,user level的应用越来越倾向于script language而不是纯粹的高级语
言,而算法的开发则从user中分离开来。由专业公司来进行。这也是现在工业界很流行
的做法。
不要说工业界,就是物理领域的大型项目都是走这条路,比如现在的LHC,跟Tevatron
软件开发最大的区别是,基本是专业计算机人士开发framework, 而physicist开发基于
framework的应用。语言上介于纯粹的C++和script之间,比如ROOT的CINT和macro就是
这样。而硬件控制方面从用户端运行的程序(daemon)向web based control演化。这个
类似于IT界流行的widget.
这种趋势是把physicist从繁重的重覆劳动中解放出来,变开发+应用为单纯的应用。很
多人没有多少大型项目的研究经验,就空谈这个那个,至于fortran,我老进physics这
行的第一天就被人告知,no fortran, no c, C++ only。CERN lib都重写了,geant都
重写了,pythina都重写了,我看你就别谈什么历史包袱了,不是2个summer
T*********r
发帖数: 11175
22
来自主题: Physics版 - Postdoc position available
google下不就结了
http://cint.lanl.gov/houtong_chen.shtml
R**T
发帖数: 784
23
来自主题: Quant版 - 唉,被Millburn据了
ROOT的CINT和BOOST的兼容性不好,极大的制约了HEP community的coding技术
我现在自己写的小程序能不用ROOT就别用了...
算法的数据结构确实是一抹黑,主要是平时也不用,
TTree据说是个很好的结构,不过我也咩整明白...
1 (共1页)