dist_t {lazy.symbolic}R Documentation

Ditstribute Transposition over Multiplicative Factors

Description

Ditstribute Transposition over Multiplicative Factors

Usage

dist_t(expr, markHP = 0, debug = 0)

Arguments

expr

an expression or a string

markHP

= 1 to mark Hadamar products (???)

debug

= 1 to print intermediate results

Details

Currently, expressions below cannot be handled.
Transpositions in parentheses such as (t(A%*%B))
Transpositions of multiple terms such as t(A+B)

Value

a string

Examples

dist_t("t(A%*%B)")
dist_t("C%*%t(A%*%t(B))%*%D")
dist_t("t((A%.%B)%*%C)")
dist_t("(A*B)%*%Y+t(t(X))")

dist_t("t(A%*%C+B%*%D)")
distribute_t("t(A%*%C+B%*%D)") |> dist_t()


[Package lazy.symbolic version 1.0.0.20250803 ]