matKTimes {lazy.symbolic}R Documentation

Symbplic Kronecker Product

Description

Symbplic Kronecker Product

Usage

matKTimes(..., add_paren = 0, simplify = 0, remove_attributes = 1,
  debug = 0)

Arguments

...

Symbolic matrices or vectors to be multiplied.

add_paren

= 1 to enclose the left matrix by parens

simplify

= 1 to simplify the result

remove_attributes

= 0 to keep SMdim attributes

debug

= 1 to print intermediate result

Details

If A or B is a vector, it will be converted to a column vector.

Value

A nrow(A)*nrow(B) x ncol(A)*ncol(B) matrix

Examples

A <- demomat(2,2,root="a"); B <- demomat(3,3,root="b")
matKTimes(A,B)

matKTimes(diag(2),A)

matKTimes(1:2,A)


[Package lazy.symbolic version 0.1.3 Index]