Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Raw vs Wrapped objects #36

Open
Open
@jim22k

Description

Calling an algorithm should accept two types of inputs: a raw Matrix or a wrapped Graph.

  • When given a Matrix, the return type should be raw (i.e. a Matrix or Vector).
  • When given a Graph, the return type should be wrapped (i.e. a Graph or NodeMap).

This will make the interface more uniform when interacting with nxapi as Graphs will always be passed in, so a wrapper instance will be returned. But when using graphblas-algorithms without nxapi, the need for wrapping can be controlled by the user in how they call algorithms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /