factor

Calculates factors of inputed value. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Integer n
  2. Integer k, maximal number of factors

Output

Vector or matrix of factors

Examples

factor