Skip to content

Outer product of ArrayPartitions do not produce "matrix like" objects. #60

Description

@pkofod

Expected: expected outer product produces something of shape (n, n)' for two n-dimensional ArrayPartitions. Got: (n*n,)` shaped array of partial outer products.

julia> using RecursiveArrayTools

julia> xap = ArrayPartition([1.0], [2.0, 3.0])
([1.0], [2.0, 3.0])

julia> xap*xap'
([1.0 2.0 3.0], [2.0 4.0 6.0; 3.0 6.0 9.0])

julia> size(ans)
(9,)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions