Skip to content

Saddle Point: Uses y, x coordinate values, rather than x, y #313

Closed
@kotp

Description

@kotp

So say you have a matrix like so:

    0  1  2
  |---------
0 | 9  8  7
1 | 5  3  2     <--- saddle point at (1,0)
2 | 6  6  7

It has a saddle point at (1, 0).

It appears that the saddle point at 1, 0 is 8 (though the arrow distracts from this coordinates given) which goes against the "unambiguous definition above" as stated in the readme, though 8 is not following the rules of what it means to be a saddle by the definition given.

The point at (0, 1) however, which is 5 does fulfil this definition. And matches the grid "pointer".

Edit: The change, then, may be to change the coordinate shown as (1,0) to (0,1).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions