Skip to content

Concatenating an arbitrary number of matrices horizontally with mortar #302

@EssamWisam

Description

@EssamWisam

I know I can do

a = randn(3, 3)
mortar((a, a, a))

However, in my case, a is not defined in the code, it's arbitrarily generated from a function that I will call many times. For instance, consider

f(a) = a

I tried both of these and neither seems to work

mortar(([f(a) for i in 1:3]...))
mortar(tuple([f(a) for i in 1:3]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions