OK so now let's pick it up with actual creating of non-pilot areas and you know getting deeper into
some pie right and trying to use different methods trying to find different types of non-pay areas and
figuring out how things work.
All right so what are you going to do is let me just let me just get something out here.
I'm going to say I'm going to.
So here we have so can we just have fun.
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.
Or by air is a time efficient and they consume much less space than less.
OK.
So we saw that though in the last video.
But now we're going to go on with creating is creating non play areas and and how to work with them.
Look first of all creating an umpire these are done you know we're going to do that using So I'm going
to put it as a heading out here creating non-players.
So that's going to be a mock down of course and I'm going to put it up there creating
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
to use meter or a function call as I'm going to use a function call as a range.
We all use that but let's have a look at what exactly does.
So we're going to use the function call as a range.
And how does a range work area.
The returns evenly spaced values that are given in trouble.
So you have to give an interval and it will return evenly spaced values that's how a range you know
works out and stuff like that.
OK.
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.
So if I would put it as in in non-pilot SNP and I'm going to after importing the module player and then
naming it as MP I'm going to say I'm going to define let me define Pi three by saying the dot 18.
I'm going to use the range.
And let me say one content.
All right.
Print 8.
Cool.
What's it.
OK so you get all elements from 9:59 wet with spacing with equally spaced values of.
So one to nine this is Xclusive.
This is inclusive right.
So that's what we just we just saw.
Sorry.
OK.
So I rerun that.
OK.
So that's about the NPR-A.
Now if I want to use the fringe a little more heavily heavily use Range.
Let me just say if I read if I would just put one value instead of saying one I would just you know
one value let me just copy paste this up.
So this is this is the value in copying and pasting it up here.
And let's say instead of one come a 10 I just say 10 and a print.
So you can see it creates an from zero.
So it starts from zero and goes up to 9.
So that's what it does.
It creates an umpire for you which is from zero to nine zero is by default the starting point.
You can redefine the starting point by mentioning it in the range function.
So if you're also of course this is an umpire but if you want to check it up printing the type of the
A That's an umpire Abel will say that's an umpire in endearing.
Right.
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.
Or is it only with 10 or can I say something like this.
Let me just do.
Ten point four.
What would this work.
What does work let's have a look.
Oh yes ten point for works but this time you have all floating point values because your range is folding
point.
Now remember an umpire can have all the integers complete integers or you can have all the floating
weighing values.
It cannot have multiple data types because these are just values these are not references to objects.
As I told you right.
So this would be you know this would be this would be how we are going on with about an umpire.
So if I if I start up OK I'll just copy this once again instead of saying 10.
OK I say ten point four itself or ten point five.
But this time I want to start from zero point three.
I want to start from zero point three.
So will this be possible.
Yes.
So it's just 0.3 and the not so one to it.
That is 1.3 two point three three point four point three hundred comes to ten point three which is less
than ten point five.
Right.
So you can have something like that.
With regards to with regards to this.
Now there is something else in an umpire.
We just call this the step.
That means if I copy this up and if I placed it right so you start from point three go up to ten point
five but instead of taking steps of one I want you to take steps of two.
Is that possible.
Oh yes.
So 0.3 then plus two is two point three plus two is four point three plus two and six point three.
And so one of a number three which starts from you know this is how you create Not bad.
OK.
Is there any other things that can be done.
Of course you can start from ten point five.
And let's say two point three instead of minus two.
Is that possible.
Oh yes it's possible ten point five eight point five six point five four point five two point five and
point five.
So that's how I play Ari which really work.
Right.
So with this about the umpires and this is the range function.
Of course you can have multiple modifications out here.
Let's say I copied this up once again.
Point three to ten point five instead of saying two.
I can also have a floating point let's say 0.8 or 0.7 or something like that.
So this time it's going to start from point three but instead of incrementing it by 2 or 1 it's going
increment by point seven point seven point seven is one one plus point seven is 1.7 1.7.
And so when it goes up till it reaches ten point five.
So this is how you create numb pie areas in you know in the entire context.
Using any function of course there's other function which I would want to introduce you to and that
other functionless call as not a range other than hearing sets and other function.
Let me just make this a month down.
And the function is called Ascelin space.
There's another function guilelessly in space.
Now what does little space do in space it returns incendiary.
What if conses off.
You know it does start.
It does not tell you.
OK so maybe when I take an example it will be much more clear.
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
do Teweles I cannot give just one value let me say I say one come time and if I printed and also if
you one printed the type of you know to be sure that it is and apply it.
So that's it.
And never now ever to shift into Oh of course it is an umpire in the area but what is this done.
So it started with creating elements for you from 1 to 10 9:59 But what are the steps one after one
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
for you.
I'm going to write down as a come as a comment out here Lynn Spears.
OK.
So what it does is it it returns an NDA
which consists of equally spaced elements
equally easily and if you calculate the distance between this and this and this and this it's going
to be the same we're going to see that in some time.
So it consists of equally spaced elements OK between between the start and the stop that you have provided
so little space returns in India which is consisting of equally spaced elements between the start and
the stock.
OK.
And with that.
So if I just run this up OK so it returns.
Now let's understand something then why so many elements.
Who decides this.
So Lynch by default if you don't specify the number of elements by default it returns to you in a numpad.
50 elements 50 elements of you know 50 corresponding data elements so 50 elements in a particular non-pilot
in the area.
So that's about that's about non-pilot.
OK so let's see if I would if I wanted a particular number of elements so I can see it here.
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
are we here.
So one come a 10 come up I'm going to say I want seven elements.
Will it be possible.
Oh yes it's possible.
So one two point one two three four five six seven.
Now this seven does not define the steps.
But this defines a number of elements in the attic.
How many number of elements 7.
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
is 1.5 5.5 minutes for us 1.5.
So it is equally spaced equally spaced elements between the start and stop.
But if you did not specify the number of elements it will Bideford give you a number of 50 elements.
That's about that's about a number.
Right.
OK so.
So with this understanding about a number three.
Let's go on to something more.
You know something more significant with an umpire and figured out if it's something more can be done
right.
OK.