real_array_util.h

来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 21 行

H
21
字号
#ifndef HK_MATH_REAL_ARRAY_UTIL_H
#define HK_MATH_REAL_ARRAY_UTIL_H

#include <hk_base/base.h>

//: Utility class for numerical operations on arrays of reals
// This class is optimised to use vector units and prefetches
// for maximum performance on platforms which support it.
// Note that all array arguments are assumed to have suitable
// alignment for the vector unit. If this is not the case, these
// routines will cause a crash.
class hk_Real_Array_Util
{
    public:

		static hk_real dot(const hk_real* x, const hk_real* y);
};

#endif /* HK_MATH_REAL_ARRAY_UTIL_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?