MIT License

项目介绍

yuki-koyama/mathtoolbox 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 MIT License 许可证,目前获得 283 个 Star、41 次 Fork。

仓库全名
yuki-koyama/mathtoolbox
开源许可证
MIT License
Star 数
283
Fork 数
41
未关闭 Issue
15

README 摘要

mathtoolbox Mathematical tools (interpolation, dimensionality reduction, optimization, etc.) written in C++11 and Eigen. Algorithms Scattered Data Interpolation and Function Approximation rbf-interpolation: Radial basis function (RBF) interpolation gaussian-process-regression: Gaussian process regression (GPR) Dimensionality Reduction and Low-Dimensional Embedding classical-mds: Classical multi-dimensional scaling…

完整内容见 GitHub 原始 README 或本页 。

常见问题

mathtoolbox 用什么语言开发?

主要使用 C++ 编写,采用 MIT License 许可证,目前有 283 个 Star。

mathtoolbox 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 mathtoolbox 的源码?

可以直接克隆仓库:git clone https://github.com/yuki-koyama/mathtoolbox.git,默认分支为 master;安装与运行步骤见仓库 README。

mathtoolbox 最近还在维护吗?

仓库最近一次更新为 2025年11月11日,当前有 15 个未关闭 Issue;Star 数为 283,可作为社区活跃度的参考。

关于

Mathematical tools (interpolation, dimensionality reduction, optimization, etc.) written in C++11 with Eigen

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
379
价值分
182
活跃状态
活跃

语言占比

C++
CMake
Python

Release

README

mathtoolbox

GitHub

Mathematical tools (interpolation, dimensionality reduction, optimization, etc.) written in C++11 and Eigen.

Algorithms

Scattered Data Interpolation and Function Approximation

Dimensionality Reduction and Low-Dimensional Embedding

Numerical Optimization

Linear Algebra

Utilities

Dependencies

Main Library

Python Bindings

Examples

Use as a C++ Library

mathtoolbox uses CMake https://cmake.org/ for building source codes. This library can be built, for example, by

git clone https://github.com/yuki-koyama/mathtoolbox.git --recursive
cd mathtoolbox
mkdir build
cd build
cmake ../
make

and optionally it can be installed to the system by

make install

When the CMake parameter MATHTOOLBOX_BUILD_EXAMPLES is set ON, the example applications are also built. (The default setting is OFF.) This is done by

cmake ../ -DMATHTOOLBOX_BUILD_EXAMPLES=ON
make

When the CMake parameter MATHTOOLBOX_PYTHON_BINDINGS is set ON, the example applications are also built. (The default setting is OFF.) This is done by

cmake ../ -DMATHTOOLBOX_PYTHON_BINDINGS=ON
make

Prerequisites

macOS:

brew install eigen

Ubuntu:

sudo apt install libeigen3-dev

Use as a Python Library

pymathtoolbox is a (sub)set of Python bindings of mathtoolbox. Tested on Python 3.8, 3.9.

It can be installed via PyPI:

pip install git+https://github.com/yuki-koyama/mathtoolbox

Prerequisites

macOS

brew install cmake eigen

Ubuntu 22.04

sudo apt install cmake libeigen3-dev

Examples

See python-examples.

Bayesian optimization (bayesian-optimization) solves a one-dimensional optimization problem using only a small number of function-evaluation queries.

Classical multi-dimensional scaling (classical-mds) is applied to pixel RGB values of a target image to embed them into a two-dimensional space.

Self-organizing map (som) is also applicable to pixel RGB values of a target image to learn a two-dimensional color manifold.

Projects Using mathtoolbox

Contributing

Bug reports, suggestions, feature requests, and PRs are highly welcomed.

Licensing

The MIT License.

评论

暂无评论