Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

On Monday, June 12, 2023, from 9.00 to 10.00 am there will be a maintenance with a short downtime of the GitLab service.

  • ift
  • NIFTy
  • Issues
  • #206
Closed
Open
Issue created Jan 02, 2018 by Pumpe, Daniel (dpumpe)@dpumpe

vdot on subspaces

Hi Martin,

I just recognised that ift.Field.vdot does only work on 'whole' fields and does not yet support .vdot on subspaces.

In [1]: import nifty2go as ift

In [2]: x1 = ift.RGSpace(200)

In [3]: x2 = ift.RGSpace(150)

In [4]: m = ift.Field((x1,x2), val=.5)

In [5]: m.vdot(m, spaces=1)
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-5-5c9f18522742> in <module>()
----> 1 m.vdot(m, spaces=1)

/Users/danielpumpe/CloudStation/dpumpe/construction/NIFTy_2go/lib/python2.7/site-packages/nifty2go-3.9.0-py2.7.egg/nifty2go/field.pyc in vdot(self, x, spaces)
    339             return fct*dobj.vdot(y.val, x.val)
    340 
--> 341         raise NotImplementedError("special case for vdot not yet implemented")
    342         active_axes = []
    343         for i in spaces:

NotImplementedError: special case for vdot not yet implemented

What it be possible to provide this functionality?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking