Kotlin / Kotlin/multik

Add a scalar

Open
#219 1 comment 1 reaction 0 assignees View on GitHub
question
Dominant language
Kotlin
Stars
734
Forks
51
Avg merge
9h 52m
Merged PRs (30d)
6

Description

Hello,

Coming from `numpy`, I'm missing adding a scalar: `mk[1, 2, 3] + 1.0`. I think it's even mentioned here: https://github.com/Kotlin/multik/issues/22#issuecomment-841212648

Contributor guide

Open the contributing guide

Research direction

Start by tracing how multidimensional arrays handle the expression `mk[1, 2, 3] + 1.0`, then review the related discussion in issue #22. Add scalar support so this expression works consistently with array operations, and verify that the scalar result is correct across the relevant array shape.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.