Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N NIFTy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ift
  • NIFTy
  • Merge requests
  • !49

Closed
Created Feb 08, 2017 by Dixit, Jait (jaitd)@jaitd
  • Report abuse
Report abuse

WIP: refactor _distance_array_helper

  • Overview 2
  • Commits 2
  • Pipelines 2
  • Changes 1

The original implementation accepted an array which infact was just an integer cast as np.ndarray for each element of which (in this case 1), m was calculated which in turn was used to calculate the distance, which again was an np.ndarray.

I've removed an unnecessary variable size and the implementation now directly uses the 'index' provided. The results are identical as the original implementation.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: lmspace_dist_arr