.·.·. 发表于 2020-7-11 14:31:30

mathematica 发表于 2020-7-11 13:01
我以前都不知道cado-nfs
我是个老土,不会Linux,
以前用过Ubuntu的次数不多

不是聪明
只是我见得多

BTW
我之前应该在论坛里面说过cado-nfs的
https://bbs.emath.ac.cn/thread-17199-1-1.html
https://bbs.emath.ac.cn/thread-15851-1-1.html
查了一下
总觉得这次你应该能记住这个软件了

BTW,可以用cygwin安装cado-nfs
但一定要从官网下载最新的git版本
老版本会因为hwloc.h版本过新而不能编译

mathematica 发表于 2020-7-13 13:24:02

.·.·. 发表于 2020-7-11 03:58
factorint(10^100+13,11)//用于分解小因子,11的意思是只用Pollard-Brent Rho and Shanks SQUFOF,Poll ...

我一直用的是factor
你居然是用factorint函数!

.·.·. 发表于 2020-7-13 14:02:18

mathematica 发表于 2020-7-13 13:24
我一直用的是factor
你居然是用factorint函数!

factorint更好控制
直接factor会超时
但factorint(..,11)会返回(可能是所有的)小因子

mathematica 发表于 2020-7-13 14:58:48

.·.·. 发表于 2020-7-13 14:02
factorint更好控制
直接factor会超时
但factorint(..,11)会返回(可能是所有的)小因子

经@无心人提醒,可以用\p 1024设定精度)
有个refcard上面有这个吧????????????

.·.·. 发表于 2020-7-13 20:44:00

mathematica 发表于 2020-7-13 14:58
经@无心人提醒,可以用\p 1024设定精度)
有个refcard上面有这个吧????????????

20:41:47> ?\
#       : enable/disable timer
##      : print time for last result
\\      : comment up to end of line
\a {n}: print result in raw format (readable by PARI)
\B {n}: print result in beautified format
\c      : list all commands (same effect as ?*)
\d      : print all defaults
\e {n}: enable/disable echo (set echo=n)
\g {n}: set debugging level
\gf{n}: set file debugging level
\gm{n}: set memory debugging level
\h {m-n}: hashtable information
\l {f}: enable/disable logfile (set logfile=f)
\m {n}: print result in prettymatrix format
\o {n}: set output method (0=raw, 1=prettymatrix, 2=prettyprint, 3=2-dim)
\p {n}: change real precision
\pb{n}: change real bit precision
\ps{n}: change series precision
\q      : quit completely this GP session
\r {f}: read in a file
\s      : print stack information
\t      : print the list of PARI types
\u      : print the list of user-defined functions
\um   : print the list of user-defined member functions
\v      : print current version of GP
\w {nf} : write to a file
\x {n}: print complete inner structure of result
\y {n}: disable/enable automatic simplification (set simplify=n)

{f}=optional filename. {n}=optional integer

20:41:54>
这种东西不认真找容易找不到的……
页: 1 [2]
查看完整版本: 如何在win7系统上运行GMP-ECM这个软件?