找回密码
 注册
查看: 332|回复: 0

R语言 sfsmisc包 factorize()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:37:24 | 显示全部楼层 |阅读模式
factorize(sfsmisc)
factorize()所属R语言包:sfsmisc

                                        Prime Factorization of Integers
                                         首要整数因子分解

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Compute the prime factorization(s) of integer(s) n.
计算的主要因式分解(S)的整数()n的。


用法----------Usage----------


factorize(n, verbose = FALSE)



参数----------Arguments----------

参数:n
vector of integers to factorize.
矢量整数的因式分解。


参数:verbose
logical indicating if some progress information should be printed.
逻辑指示是否应印有一些进展信息。


Details

详细信息----------Details----------

works via primes, currently in a cheap way, sub-optimal for large composite n.  
工程通过primes,一种廉价的方式,目前最大型复合材料n。


值----------Value----------

A named list of the same length as n, each element a 2-column matrix with column "p" the prime factors and column~"m" their respective exponents (or multiplities), i.e., for a prime number n, the resulting matrix is cbind(p = n, m = 1).
一个名为list相同长度的n,每个元素都列"p"的主要因素和列2列的矩阵~"m"其各自的指数(或multiplities) ,即,为一个素数n,产生的矩阵是cbind(p = n, m = 1)。


(作者)----------Author(s)----------



Martin Maechler, Jan. 1996.




参见----------See Also----------

primes.
primes。

For factorization of moderately or really large numbers, see the gmp package, and its factorize().
中度或非常大的数字的分解,gmp包,它的factorize()。


实例----------Examples----------


factorize(47)
factorize(seq(101, 120, by=2))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-21 05:36 , Processed in 0.019771 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表