Assignment No 2 Saddle Point
Assignment No 2 Saddle Point
Aim : Write a Python program that determines the location of a saddle point of matrix if one
exists. An m x n matrix is said to have a saddle point if some entry a[i][j] is the smallest value
in row i and the largest value in j.
Pre-requisite:
1) Knowledge of representing matrix in Python
2) Knowledge of different operations that can be performed on matrix
Objectives:
To understand the concept of saddle point in matrix
To implement python program for saddle point
Input : N x N Matrix to be provided
Output: the location of a saddle point of matrix
Theory:
Array: Arrays is a set of consecutive memory locations which contains similar data
elements.
If we intend to store a group of data together in sequential manner in computers memory,
then array can be one of the possible data structures.
An array is a finite ordered collection of homologous data elements which provides direct
access to any of its elements.
* Saddle point