由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - numerical recipes in C++有人用过吗?
相关主题
Matrix calculation in C++Question on C++ Access Control (protected)
如何编程实现以下简单的组合问题how to get runtime caller function?
编译 64/32 位的library (Linux)如何 测量某个函数的运行时间?
[合集] 有人用过gasdev()产生随即数吗?求救!Visual Studio的使用问题(C++)
急用:谁有C Recipe原文及代码呀?面试被问到G++和GCC编译器的关系
[合集] C里面有没有现成的matrix computation as matlab?C++ IDE and compiler
谁有numerical recipe in Fortran啊程序员薪水
numerical recipe里的快速傅立叶变换构建一个快速查询字典(数据结构题)?
相关话题的讨论汇总
话题: c++话题: recipes话题: compiler话题: numerical话题: inline
进入Programming版参与讨论
1 (共1页)
f******y
发帖数: 2971
1
我随便翻了一下,发现里边function member都直接定义在class里边,这样不是会让编
译后的程序变得臃肿吗?
h*******e
发帖数: 225
2

Who told u that?

【在 f******y 的大作中提到】
: 我随便翻了一下,发现里边function member都直接定义在class里边,这样不是会让编
: 译后的程序变得臃肿吗?

f******y
发帖数: 2971
3
I remember functions defined in class are inline functions.
p*******n
发帖数: 273
4
right

【在 f******y 的大作中提到】
: I remember functions defined in class are inline functions.
r*********r
发帖数: 3195
5
NR is known for its ugly code. gsl is better.
b******a
发帖数: 215
6
what's GSL?

【在 r*********r 的大作中提到】
: NR is known for its ugly code. gsl is better.
k**f
发帖数: 372
7

Inline is just a hint to the compiler, which can ignore it completely as in
the case of bebug mode. In general, if a member function is too complicated
to the compiler, e.g. has a loop in the implementation, it will be compiled
as out of line function.

【在 f******y 的大作中提到】
: I remember functions defined in class are inline functions.
r*********r
发帖数: 3195
8
gsl is GNU scientific library.
f******y
发帖数: 2971
9
right, so NR just gives everything to the compiler, and let it choose.

in
complicated
compiled

【在 k**f 的大作中提到】
:
: Inline is just a hint to the compiler, which can ignore it completely as in
: the case of bebug mode. In general, if a member function is too complicated
: to the compiler, e.g. has a loop in the implementation, it will be compiled
: as out of line function.

1 (共1页)
进入Programming版参与讨论
相关主题
构建一个快速查询字典(数据结构题)?急用:谁有C Recipe原文及代码呀?
GCJ2009[合集] C里面有没有现成的matrix computation as matlab?
Linux下有办法通过C/C++得到已经调入内存的library的full path么谁有numerical recipe in Fortran啊
c++逐渐没落?numerical recipe里的快速傅立叶变换
Matrix calculation in C++Question on C++ Access Control (protected)
如何编程实现以下简单的组合问题how to get runtime caller function?
编译 64/32 位的library (Linux)如何 测量某个函数的运行时间?
[合集] 有人用过gasdev()产生随即数吗?求救!Visual Studio的使用问题(C++)
相关话题的讨论汇总
话题: c++话题: recipes话题: compiler话题: numerical话题: inline