⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mathkit.h

📁 The ROSETTA C++ library is a collection of C++ classes and routines that enable discernibility-based
💻 H
字号:
//-------------------------------------------------------------------// Author........: Aleksander 豩rn// Date..........:// Description...:// Revisions.....: This used to be a class with all static methods.//                 I made it a namespace instead because some methods//                 should be templatized and some not, and currently//                 the compiler does not support member templates.//                 A library client would use the class in an//                 identical manner, though, by prefixing all calls//                 with "MathKit::".//===================================================================#ifndef __MATHKIT_H__#define __MATHKIT_H__#include <copyright.h>#include <kernel/utilities/rng.h>#include <kernel/basic/macros.h>#include <kernel/basic/undefined.h>#include <kernel/basic/vector.h>#include <kernel/basic/map.h>#include <kernel/basic/algorithm.h>#include <kernel/system/math.h>//-------------------------------------------------------------------// Begin namespace MathKit//===================================================================namespace MathKit {//-------------------------------------------------------------------// Method........: Round// Author........: Aleksander 豩rn// Date..........:// Description...: Rounds a floating point number to the nearest//                 integer. Handles negative values.// Comments......:// Revisions.....: A

⌨️ 快捷键说明

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