Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Building matrix

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
data

Research direction

Locate the existing vect implementation and the expression-graph handling for array literals. Compare them with the Julia dump example, then verify that matrix values stored column-wise can be represented through hcat and vect as described.

Written by the indexing model from the issue text.

Description

To match the expression tree in Julia we should first construct each row with row and then combine them with vcat.

julia> dump(:([1 2; 3 4]))
Expr
  head: Symbol vcat
  args: Array{Any}((2,))
    1: Expr
      head: Symbol row
      args: Array{Any}((2,))
        1: Int64 1
        2: Int64 2
    2: Expr
      head: Symbol row
      args: Array{Any}((2,))
        1: Int64 3
        2: Int64 4

However, the reason this is given row-wise is kind of specific to the fact that the expression with [1 2; 3 4] is expressed left-to-right, top to bottom.
In practice, we will rather have Matrix that we want to represent in the expression graph and the matrices are stored column-wise. So it's probably better to implement hcat and combine it with the existing vect. The the matrix will be represented as hcat(vect(1, 3), vect(2, 4)).

Dominant language
Julia
Stars
6
Forks
0
Avg merge
6d 22h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from blegat/ArrayDiff.jl

All issues in blegat/ArrayDiff.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.