So all I'm trying to do is a simple sequence like seq(i^2, i=1..10, 1) but with units. The seq function is part of the Units:-Standard and Units:-Simple packages. I couldn't find any examples with units in the help system. For my first attempt, I tried to create a simple sequence of values with units using what is, to me, a logical syntax. I have included the Maple input below. I bolded the input.
[*, +, -, /, <, <=, <>, =, Im, Re, ^, abs, add, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin,
arcsinh, arctan, arctanh, argument, ceil, collect, combine, conjugate, cos, cosh, cot, coth, csc, csch, csgn, diff, eval,
evalc, evalr, exp, expand, factor, floor, frac, int, ln, log, log10, log2, max, min, mul, normal, polar, root, round, sec,
sech, seq, shake, signum, simplify, sin, sinh, sqrt, surd, tan, tanh, trunc, type, verify]
seq(ii, ii = 1.0*Unit('m') .. 10.0*Unit('m'), 1.0*Unit('m'));
Error, (in Units:-Standard:-seq) wrong number (or type) of parameters in function seq
Can anyone show me the correct syntax for this? Is there something in the help? I tried it in 2021 and 2022 with the same result.