Main
Home
Quick tour
Documentation
Mailing Lists
Demonstration
Download
Sourceforge project
FAQ
History
Links


Toolboxes
Char
Control
Crypto
Finance
FunFun
General
Graphics
Image
Internal
InputOutput
LinearAlgebra
Matrix
Miscellaneous
Net
Polynomial
Set
Signal
SpecFun
SpecialMatrix
Statistics
String
System
Time
Trigonometric
...


Contact
Developers

JMathLib
A Java Clone of Octave, SciLab, Freemat and Matlab.

[Index] [Documentation] [Demonstration] [Download]

factor

Type: External

Group: general

Syntax

answer=factor(values)

Description

Calculates all the prime factors of value.

Notes

This function will take a long time when factorising large values

Examples

factor(10)=[2,5]  
factor(30)=[2,3,5]

Last modified
SourceForge Logo