Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Building matrix

オープン
#13 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
julia
領域
data

調査の方向性

既存の vect 実装と、配列リテラルに対する式グラフの処理を見つけます。Julia の dump の例と比較し、そのうえで、列単位で格納された行列の値を、説明されているとおり hcat と vect で表現できることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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)).

主要言語
Julia
スター
6
フォーク
0
平均マージ
6日 22時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

blegat/ArrayDiff.jl のほかの issue

blegat/ArrayDiff.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。