Coding Example: How to find if one vector is view of the other?

Problem Statement

Given two vectors Z1 and Z2. We would like to know if Z2 is a view of Z1 and if yes, what is this view?

Example

Given below is a running example to give you a better understanding:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy