OK so let's go on to the shape of an IRA.
And that's what we're going to learn.
And the shape basically consists of.
You know when you have to basically deal with how many elements how many roads how many columns.
That's when you deal with the shape of an average.
So you know so basically the shape is returned to you when a couple of integers and these numbers denote
the lengths of the corresponding dimension.
So basically you can have a look at a you know the it's the number of elements for axes so let's have
a look at one of the examples that we can take let's define an X or a sequel to end without adding and
let's say that's going to be you know let's say it's going to be 60.
Let's just define it as you know one other area out here and then I'm going to say we're here.
It's going to be 67 come twill come on 15 to find another in our list.
And let me say that's going to be 77 and so on.
And let me say that's going to be
called karma.
Come on Twelfth come on 15.
And you know just just random values.
Random values which we're just going to insert them one or the other and let me just show if I print
there is an empty dot there is something called There's a metal color sheet or a function call a shape
in which I need to pass the object.
OK shape can also be caused by by seeing the object named dot shape.
You can do in both ways printed up.
What is the shape the shape is nothing but a couple.
Which shows you the number of the elements so a number of number of rows with number of columns so it's
five come a three right.
So with that we have we have something which is about the shape of the now.
So that's about I guess we have now five Countryfile increase one more all I can of course obviously
you can see the shape which is going to be a little different.
So you know 45 50 was going to be the shape it's going to be coming out.
How can I cheat.
Can I change the shape of an artery.
Is it possible.
Yeah it is.
It is very much possible.
If we would do something like let's say I would say X dark shape or we hear Ixtoc shape is equal to
you know in sort of six commentaries these are twenty four six rows three columns six reads twenty four
twenty four some multiple of 24 can be and he 18 I'm sorry and some multiple of 18 18 can we also.
Let's make it three commas six.
Can I make a three commas X let's strike three cut six.
Right.
I change the shape.
And now let me just print X and check if this works right.
Oh yeah.
So now what.
What is the shape of x.
I change the shape from 3Com 6.
I made it from 6 commentary that means six rows three columns.
I made it to three columns three three rows six columns.
So this is about changing the shape of an area and that's about the shape.
OK.
So this is something which show we need to understand when we tell when we do this particular thing
and many times we might have to do that especially from a crisis can we.
Of course we can also change the shape if you remember instead of making mistakes I can also make it
something like let me say nine.
Come on.
Can I make my income or two because my income is also 18.
So let's say something like this.
Yeah.
So nine rows and two columns.
All right.
Let's let's not experiment too much.
For now let's make it X-Com or treat itself so that I have a good looking at it or what we can do is
we can just add one more element into each of these.
So that I can I can use for some application which is quite different which we are going to deal with
in the next session.
So let's say this is folding.
So I run this seat so it cannot be shibari of size 24 in the shape 5:57 treat that so that's in that's
inherent limitation you cannot make if there a twenty four.
So there's no audio of say 24 you can't make it into shape 6 come on that's that's some rule.
It must be somewhere which is a multiple of 24 cometary noways multiple of 24.
I can make it instead of 6 from a four I can make it four come on six.
Yup can do that.
Right.
So that's about that's about X.
OK.
Now let's go on for another application out here or let's go for another concept which comes down with
an umpire and that's called less indexing and slicing.
OK so how do we index each element.
How do we get each element and how to weigh next them.
How do I slice them and stuff like that.
Right.
So all we're going to cover that in detail right away and as we do that we can understand how how we
can index how we can slice and stuff like that.
OK.
And with this let's say for example we have out here indexing and slicing with this.
Oh I'll just put up something out here.
Let's say how to Y-axis each element in this particular product.
So let's say this is 67 12 15 12 77.
How do I access this 45 here or let me say how to access a 78 78 how to access it.
OK so this is a roll OK.
Let's say first of all how to access a roll and then I'll go to help you access a particular column
in the row.
So let's say this is rule number zero does rule number 1.
Wrote the.
Run them three.
Number four on the five.
So even though the shape is six six rows but it starts from zero and goes up to five.
So.
So let's say I'm going to say what is the 8 x off.
Let me say X of two camper and up up.
So it tells me X or 2 is 45 45 12:53.
Oh sorry sorry.
We have changed the shape so it's like this one for this 1845 78 45.
No sorry not this one.
Qualified 12 15 18 78 98 because as I told you about ready to go.
Yeah.
So as I told you this is zero.
This is one.
And this is so Xserve 2 is this.
Now how to access the column that I can access the column by saying X of two.
And then I say two and then I go.
So this is an ID.
This is a number.
Now how to access this except two things and number three.
And from the numpad I want to access an element that say I want to access the 50.
How do I access the 50.
I have to say it is the again 0 1 2.
There's the second element.
So 0 1 that's 50 right.