yafu的安装与使用

警告
本文最后更新于 2023-01-29,文中内容可能已过时。

介绍

YAFU (with assistance from other free software) uses the most powerful modern algorithms (and implementations of them) to factor input integers in a completely automated way. The automation within YAFU is state-of-the-art, combining factorization algorithms in an intelligent and adaptive methodology that minimizes the time to find the factors of arbitrary input integers. It is most optimized for general inputs up to 160 digits in size, although there is support for inputs much larger than that, if they have a special form. There are also specialized functions for handling lists of inputs and ranges of contiguous smaller inputs.

YAFU is primarily a command-line driven tool. You provide the number to factor and, via screen output and log files, YAFU will provide you the factors. But that’s not all! You also get an interactive environment similar to MATLAB or PARI/GP, where you can type commands and store results. The functionality of this interface is limited, but perhaps useful, and I have plans to make it better. YAFU also provides a vast amount of flexibility, through many many options and a very capable expression interpreter. If you know what you are doing, or if you read the documentation enough, you can customize the operation of YAFU a great deal. You should have received a copy of docfile.txt, which explains in some detail all of the available functions, how to use them, and how to influence their behavior.

YAFU (在其他自由软件的帮助下)使用最强大的现代

算法(及其实现)的输入整数因子

完全自动化的方式。雅福的自动化是最先进的,

结合分解算法的智能和自适应方法学

最小化查找任意输入整数因子的时间。

它是最优化的一般投入多达160位的大小,虽然

如果他们有一个特殊的

还有专门的函数用于处理输入和输出列表

连续较小输入的范围。

YAFU 主要是一个命令行驱动的工具

并且,通过屏幕输出和日志文件,YAFU 将为您提供的因素。

但这还不是全部! 您还可以得到一个类似于 MATLAB 的交互式环境

或 PARI/GP,您可以在其中键入命令并存储结果

这个接口是有限的,但也许是有用的,我有计划使它

雅福还提供了大量的灵活性,通过许多

如果你知道自己是什么人,你就会知道自己是什么样的人

或者如果你阅读了足够多的文档,你可以自定义操作

你应该已经收到一份 docfile.txt 文件

详细解释了所有可用的功能,如何使用它们,

以及如何影响他们的行为。

安装

下载地址(windows)

https://sourceforge.net/projects/yafu/

解压即可使用

使用

仅支持cmd 不支持powershell

命令为

yafu-x64.exe factor(要分解的数)

若数字过大,可使用文本文件进行读取

yafu-x64 "factor(@)" -batchfile text.txt

文本文件应在数字输入后增加换行符保存

注意:读取后文件会被删除

完整使用帮助输入

yafu-x64 help
0%