| add1CA | R Documentation |
increases the number of columns by 1, adding at most bestN(t-2,k-1,v)v(v-1) rows.
add1CA(t, k, v, ...)
N_add1CA(t, k, v, ...)
add1Column(D, t, v, ...)
t |
integer: the required strength, or the strength of |
k |
integer: the required number of columns |
v |
integer: the required number of levels, or the number of levels of |
... |
used for propagating an |
D |
a strength |
add1Column and add1CA return a CA of strength t in v levels in
k columns.
It will have at most bestN(t-2,k-2,v)*v*(v-1) additional rows.
N_add1CA returns the number of runs obtainable by add1CA.
Functions add1CA and N_add1CA are obsolete and
are kept for backward compatibility and manual inspection only.
The implementation via bestCA, based
on Ns_add1 and the internal function
N_add1best, is much more powerful and optionally permits
to add more than one column (by repeatedly adding one column).
Function add1Column is the workhorse function for
these more powerful functions.
Function add1CA applies function add1Column to
the best available strength t CA at v levels
with k-1 columns in the role of D;
derive, fuse and add1 constructions
are not included in the search for a best ingredient.
The construction relies on appending to D
a copy of the last column of D,
followed by adding rows that consist of
the best strength t-2 CA at v levels with k-2 columns,
repeated v*(v-1) times, in the first k-2 columns,
each combined with one of the v(v-1) distinct level pairs
for the last two columns.
For t=2, the best CA is simply a constant row of flexible values.
The construction is not interesting for small CAs, but may be useful,
where good large CAs, e.g., ones constructed by cyclotomy,
have one less column
than needed (and a good CA with strength t-2 for k-1 columns is
available).
CKRS, Theorem 3.2
## a case for which this is best
D <- powerCA(3,1331,2)
dim(D)
D2 <- add1Column(D, 3, 2)
dim(D2)
eCAN(3,1331,2)
eCAN(3,1332,2)
N_add1CA(3,1332,2)
dim(add1CA(3,1332,2))
A <- add1CA(6,2504,2)
dim(A)
eCAN(6,2504,2) ## better
Ns(4,2504,2) ## its a bit worse because this ingredient is not optimal
3047 + (288 - 272)*2
eCAN(4,2504,2) ## Colbourn and Zhou power construction not implemented
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.