Public Function FactorMatrixToExpr( _
ByRef vFC() As Variant _
) As String Assuming
Dim avarFactors() As Variant
for example
FactorNumberToVariantMatrix(avarFactors(), 12345678) = True
FactorMatrixToExpr(avarFactors()) = "2*3^2*47*14593"See also: FactorNumberToExpr Function
FactorNumberToVariantMatrix FunctionvFC: The two-dimensional dynamic array of variants which contains the prime factors and factor counts. This two-dimensional array represents a table where the first dimension is the column and the second dimension is the row. The prime factors are stored in column #1, rFC(1, X), and the count of that factor is stored in column #2, rFC(2, X), where X represents the sequence of the prime factor within the list of all prime factors. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.