WEBVTT

00:00.480 --> 00:08.310
OK so now let's pick it up with actual creating of non-pilot areas and you know getting deeper into

00:08.500 --> 00:16.140
some pie right and trying to use different methods trying to find different types of non-pay areas and

00:16.140 --> 00:17.890
figuring out how things work.

00:18.000 --> 00:23.590
All right so what are you going to do is let me just let me just get something out here.

00:23.820 --> 00:27.440
I'm going to say I'm going to.

00:27.480 --> 00:33.100
So here we have so can we just have fun.

00:33.120 --> 00:40.570
I'm going to create a new car that I continued up here so that you know it can be it can be just better.

00:40.720 --> 00:45.290
Or by air is a time efficient and they consume much less space than less.

00:45.300 --> 00:45.700
OK.

00:45.780 --> 00:49.000
So we saw that though in the last video.

00:49.170 --> 00:58.880
But now we're going to go on with creating is creating non play areas and and how to work with them.

00:58.920 --> 01:05.400
Look first of all creating an umpire these are done you know we're going to do that using So I'm going

01:05.400 --> 01:08.400
to put it as a heading out here creating non-players.

01:08.640 --> 01:13.470
So that's going to be a mock down of course and I'm going to put it up there creating

01:19.000 --> 01:24.850
and I'm going to say the first thing that I'm going to do is when I'm creating an inquiry I'm going

01:24.850 --> 01:31.870
to use meter or a function call as I'm going to use a function call as a range.

01:31.870 --> 01:35.420
We all use that but let's have a look at what exactly does.

01:35.470 --> 01:37.720
So we're going to use the function call as a range.

01:37.900 --> 01:40.410
And how does a range work area.

01:40.660 --> 01:44.180
The returns evenly spaced values that are given in trouble.

01:44.410 --> 01:50.680
So you have to give an interval and it will return evenly spaced values that's how a range you know

01:50.860 --> 01:52.690
works out and stuff like that.

01:52.910 --> 01:53.330
OK.

01:53.530 --> 01:59.980
So if I have to do that so how do I you know I'm just going to create an umpire as I told you.

02:00.250 --> 02:12.460
So if I would put it as in in non-pilot SNP and I'm going to after importing the module player and then

02:12.640 --> 02:21.330
naming it as MP I'm going to say I'm going to define let me define Pi three by saying the dot 18.

02:21.520 --> 02:23.070
I'm going to use the range.

02:23.530 --> 02:25.510
And let me say one content.

02:25.520 --> 02:27.000
All right.

02:27.190 --> 02:29.470
Print 8.

02:29.980 --> 02:31.200
Cool.

02:31.690 --> 02:32.590
What's it.

02:32.980 --> 02:42.070
OK so you get all elements from 9:59 wet with spacing with equally spaced values of.

02:42.110 --> 02:44.900
So one to nine this is Xclusive.

02:45.160 --> 02:47.190
This is inclusive right.

02:47.200 --> 02:49.360
So that's what we just we just saw.

02:49.390 --> 02:50.100
Sorry.

02:50.340 --> 02:50.740
OK.

02:50.770 --> 02:52.290
So I rerun that.

02:52.300 --> 02:52.720
OK.

02:52.870 --> 02:55.120
So that's about the NPR-A.

02:55.150 --> 03:01.260
Now if I want to use the fringe a little more heavily heavily use Range.

03:01.300 --> 03:08.290
Let me just say if I read if I would just put one value instead of saying one I would just you know

03:08.320 --> 03:11.650
one value let me just copy paste this up.

03:11.890 --> 03:18.220
So this is this is the value in copying and pasting it up here.

03:18.220 --> 03:21.590
And let's say instead of one come a 10 I just say 10 and a print.

03:21.790 --> 03:24.940
So you can see it creates an from zero.

03:24.940 --> 03:27.400
So it starts from zero and goes up to 9.

03:27.400 --> 03:28.950
So that's what it does.

03:28.960 --> 03:36.060
It creates an umpire for you which is from zero to nine zero is by default the starting point.

03:36.100 --> 03:39.880
You can redefine the starting point by mentioning it in the range function.

03:39.880 --> 03:46.480
So if you're also of course this is an umpire but if you want to check it up printing the type of the

03:46.570 --> 03:51.170
A That's an umpire Abel will say that's an umpire in endearing.

03:51.460 --> 03:51.920
Right.

03:51.970 --> 03:59.580
So now what I'm going to do is I'm going to define different values so is it only with one come or 10.

03:59.590 --> 04:02.420
Or is it only with 10 or can I say something like this.

04:02.500 --> 04:03.310
Let me just do.

04:03.460 --> 04:04.780
Ten point four.

04:04.870 --> 04:06.400
What would this work.

04:06.460 --> 04:07.720
What does work let's have a look.

04:07.780 --> 04:13.990
Oh yes ten point for works but this time you have all floating point values because your range is folding

04:13.990 --> 04:14.260
point.

04:14.260 --> 04:20.470
Now remember an umpire can have all the integers complete integers or you can have all the floating

04:20.470 --> 04:21.130
weighing values.

04:21.130 --> 04:26.530
It cannot have multiple data types because these are just values these are not references to objects.

04:26.560 --> 04:28.150
As I told you right.

04:28.240 --> 04:37.920
So this would be you know this would be this would be how we are going on with about an umpire.

04:38.110 --> 04:43.120
So if I if I start up OK I'll just copy this once again instead of saying 10.

04:43.120 --> 04:46.050
OK I say ten point four itself or ten point five.

04:46.090 --> 04:49.370
But this time I want to start from zero point three.

04:49.450 --> 04:51.120
I want to start from zero point three.

04:51.130 --> 04:52.940
So will this be possible.

04:52.960 --> 04:53.420
Yes.

04:53.590 --> 04:55.930
So it's just 0.3 and the not so one to it.

04:55.940 --> 05:00.880
That is 1.3 two point three three point four point three hundred comes to ten point three which is less

05:00.880 --> 05:02.570
than ten point five.

05:02.590 --> 05:02.980
Right.

05:02.980 --> 05:06.000
So you can have something like that.

05:06.400 --> 05:08.750
With regards to with regards to this.

05:08.770 --> 05:11.520
Now there is something else in an umpire.

05:11.800 --> 05:13.400
We just call this the step.

05:13.480 --> 05:20.470
That means if I copy this up and if I placed it right so you start from point three go up to ten point

05:20.470 --> 05:24.410
five but instead of taking steps of one I want you to take steps of two.

05:24.410 --> 05:25.360
Is that possible.

05:25.550 --> 05:26.430
Oh yes.

05:26.440 --> 05:32.810
So 0.3 then plus two is two point three plus two is four point three plus two and six point three.

05:32.830 --> 05:39.250
And so one of a number three which starts from you know this is how you create Not bad.

05:39.390 --> 05:40.640
OK.

05:40.680 --> 05:43.080
Is there any other things that can be done.

05:43.080 --> 05:45.450
Of course you can start from ten point five.

05:45.720 --> 05:50.970
And let's say two point three instead of minus two.

05:50.970 --> 05:52.000
Is that possible.

05:52.200 --> 05:58.080
Oh yes it's possible ten point five eight point five six point five four point five two point five and

05:58.080 --> 05:59.040
point five.

05:59.430 --> 06:02.940
So that's how I play Ari which really work.

06:02.940 --> 06:03.780
Right.

06:03.780 --> 06:08.590
So with this about the umpires and this is the range function.

06:08.850 --> 06:12.440
Of course you can have multiple modifications out here.

06:12.480 --> 06:14.660
Let's say I copied this up once again.

06:14.660 --> 06:17.030
Point three to ten point five instead of saying two.

06:17.040 --> 06:22.190
I can also have a floating point let's say 0.8 or 0.7 or something like that.

06:22.200 --> 06:26.630
So this time it's going to start from point three but instead of incrementing it by 2 or 1 it's going

06:26.650 --> 06:33.270
increment by point seven point seven point seven is one one plus point seven is 1.7 1.7.

06:33.300 --> 06:37.160
And so when it goes up till it reaches ten point five.

06:37.230 --> 06:44.180
So this is how you create numb pie areas in you know in the entire context.

06:45.080 --> 06:51.650
Using any function of course there's other function which I would want to introduce you to and that

06:51.650 --> 06:56.030
other functionless call as not a range other than hearing sets and other function.

06:56.030 --> 06:57.740
Let me just make this a month down.

06:57.900 --> 07:01.450
And the function is called Ascelin space.

07:01.520 --> 07:03.680
There's another function guilelessly in space.

07:03.680 --> 07:06.660
Now what does little space do in space it returns incendiary.

07:06.800 --> 07:08.860
What if conses off.

07:08.870 --> 07:10.600
You know it does start.

07:10.820 --> 07:12.210
It does not tell you.

07:12.210 --> 07:17.500
OK so maybe when I take an example it will be much more clear.

07:17.600 --> 07:27.500
So what I can do is let's say is equal to and b dot Lyn's space and space and all this time I need to

07:27.500 --> 07:36.140
do Teweles I cannot give just one value let me say I say one come time and if I printed and also if

07:36.140 --> 07:41.580
you one printed the type of you know to be sure that it is and apply it.

07:41.810 --> 07:43.500
So that's it.

07:43.700 --> 07:48.940
And never now ever to shift into Oh of course it is an umpire in the area but what is this done.

07:49.070 --> 07:57.980
So it started with creating elements for you from 1 to 10 9:59 But what are the steps one after one

07:57.990 --> 08:03.870
that's one point one need three then it's one point 3 6 7 or so what it has done is what space does

08:03.880 --> 08:04.360
for you.

08:04.360 --> 08:10.920
I'm going to write down as a come as a comment out here Lynn Spears.

08:11.530 --> 08:12.100
OK.

08:12.340 --> 08:18.480
So what it does is it it returns an NDA

08:21.820 --> 08:29.680
which consists of equally spaced elements

08:32.250 --> 08:37.330
equally easily and if you calculate the distance between this and this and this and this it's going

08:37.330 --> 08:39.540
to be the same we're going to see that in some time.

08:39.790 --> 08:52.280
So it consists of equally spaced elements OK between between the start and the stop that you have provided

08:53.120 --> 09:00.900
so little space returns in India which is consisting of equally spaced elements between the start and

09:00.900 --> 09:01.860
the stock.

09:02.030 --> 09:02.600
OK.

09:02.810 --> 09:07.180
And with that.

09:07.310 --> 09:10.430
So if I just run this up OK so it returns.

09:10.460 --> 09:14.200
Now let's understand something then why so many elements.

09:14.210 --> 09:15.770
Who decides this.

09:15.840 --> 09:23.770
So Lynch by default if you don't specify the number of elements by default it returns to you in a numpad.

09:24.020 --> 09:34.430
50 elements 50 elements of you know 50 corresponding data elements so 50 elements in a particular non-pilot

09:34.430 --> 09:34.920
in the area.

09:34.910 --> 09:38.010
So that's about that's about non-pilot.

09:38.360 --> 09:44.530
OK so let's see if I would if I wanted a particular number of elements so I can see it here.

09:44.540 --> 09:54.360
So I'll just copy paste this copy and paste that up and then go up there and after 10 I'm going to say

09:54.360 --> 09:55.080
are we here.

09:55.350 --> 09:59.370
So one come a 10 come up I'm going to say I want seven elements.

09:59.370 --> 10:00.710
Will it be possible.

10:00.870 --> 10:01.800
Oh yes it's possible.

10:01.800 --> 10:07.410
So one two point one two three four five six seven.

10:07.410 --> 10:10.290
Now this seven does not define the steps.

10:10.320 --> 10:12.520
But this defines a number of elements in the attic.

10:12.670 --> 10:14.250
How many number of elements 7.

10:14.250 --> 10:21.420
So if I say one hand can you see the spacing 2.5 minus one is how much 1.5 for minus two point five

10:21.510 --> 10:24.190
is 1.5 5.5 minutes for us 1.5.

10:24.360 --> 10:29.690
So it is equally spaced equally spaced elements between the start and stop.

10:29.730 --> 10:38.040
But if you did not specify the number of elements it will Bideford give you a number of 50 elements.

10:38.130 --> 10:40.450
That's about that's about a number.

10:40.910 --> 10:41.410
Right.

10:41.430 --> 10:43.610
OK so.

10:44.040 --> 10:47.120
So with this understanding about a number three.

10:47.370 --> 10:49.940
Let's go on to something more.

10:50.220 --> 10:56.670
You know something more significant with an umpire and figured out if it's something more can be done

10:57.100 --> 10:57.770
right.

10:58.120 --> 10:58.580
OK.
