Kotlin / Kotlin/kotlin-numpy

Param `mean` in Random.multivariateNormal doesn't need to be a KtNDArray

Open
#17 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
322
Forks
9
PR merge metrics
No merged PRs in 30d

Description

It is 1-D array_like thing and can be just a std Kotiln collection.

Instead of
```
Random.multivariateNormal(mean=array(listOf(-2,0)), ...
```

would be nice to have:
```
Random.multivariateNormal(mean=listOf(-2,0), ...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Random.multivariateNormal entry point and inspect how the mean parameter is typed and passed to the NumPy binding. Update the API so the requested Kotlin collection form is supported, then verify the existing multivariateNormal examples or tests cover both forms.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.