tda_mcross is TDA's mcross, matching base R's
crossprod(A) (t(A) %*% A). tda_mnum builds
the length-n arithmetic sequence starting at x with
step d – TDA's mnum, matching
seq(x, by = d, length.out = n).
See also
Other matrix algebra:
tda_mcel(),
tda_mcent(),
tda_mch(),
tda_mdiag(),
tda_mev(),
tda_mevs(),
tda_midf(),
tda_midf1(),
tda_midf2(),
tda_midf3(),
tda_minvs(),
tda_mkmet(),
tda_mkp(),
tda_mmul(),
tda_mnc(),
tda_mnrow(),
tda_mpbl(),
tda_mpfit(),
tda_mpinv(),
tda_mpit(),
tda_mple(),
tda_mpz(),
tda_mscal1(),
tda_msqrtd(),
tda_msvd(),
tda_mwvec()
Examples
tda_mcross(matrix(1:6, 3, 2)) # == crossprod(matrix(1:6, 3, 2))
#> [,1] [,2]
#> [1,] 14 32
#> [2,] 32 77
tda_mnum(5, 2, 4) # == seq(5, by = 2, length.out = 4)
#> [1] 5 7 9 11