One good thing about creating art is let's say for example there is already an attic which is a sequel
to that.
You know there's all the attic.
Let me see there's an attic called us to come our five.
Come on Etim comma or something like this.
Right.
So there is an audio already.
Now I can create non-threat.
Let me call it a sculptor Why are kept leks this this is going to be let me say creating a new saying
and P-doc.
I'm using the function or the meticulous ones like and am passing the small X..
Can you just print this capital X and just check what happens.
So what happens is X capitalist's is nothing but an oddity with ones the shape of that it is similar
to the addy that you passed in.
So ones like create a new array and fill it with ones with a shape like a smaller x.
That's what you do.
Right.
So.
And just like you have ones like you also have zeroes like say if I say Y is equal to and P-doc zeroes
like an x.
Sorry I need to print up and let say print.
Capital Y.
Right.
There you go.
So this is about about you know ones like this is about creating creating addy's again.
Now what if you would want to you know copy addy's from one addy to another.
You can use a function call as you can use a method call as copy.
So if I say I can just put it up here let's say for now as a markdown I'm just going to put it up let's
say
copy it's so.
So what do I do in copying areas I just need to say you know important umpires and B and then copy them
up.
So let's say in part number by as MP and X's equal to any DOT adding which is Libbey baby of course
I already have an X right by the way.
So if I just print is X is already here.
This one small X is already there.
OK.
What I do is I want to create a Y which is going to be an X docked copy correct.
And if I print y.
What does it say.
DOT.
India Arie object has no attribute x copy.
Alright so there there's a copyright.
Ok cool.
That's it.
Create a copy of X and that's there anyway so you can create copies like that and and do.
All right.
There's another one where you want to create sometimes you might want to create an identity adding Do
you remember the identity.
Right.
So let me just put this up as a markdown I'll tell.
And let's say this is an identity.
If you remember in the crisis we see that all diagonal elements or 1.
So how do you create an identity array.
Let's say I couldn't and Alibhai just say N.P. dot identity and I-PASS let's say four or five or whatever
number of number of rows or number of columns.
Right.
So you can put them in X let's say and print x all once correct.
You want that type as in.
You need to put it like this right.
They go all ones rest all GITTOES diagonal elements once.
That's about identity.
You also have an identity or it can be also created with an eye function.
Let's say by saying and be thought I know what does I do.
Let's see I can have optional you know you can have optional number of rows and number of columns.
Let's say five common nine.
And and and all in all I need to do is let's say just this rant is up what do you get.
So you get an atty with all ones in the diagnose but it starts from here right and and you that's it.
All of this would be zero.
So you can have optional number of rows and columns.
Last year the rows and columns are fixed.
Here we have option number of rows and columns and also if you want the type you can put it as comedy
type be called to integer.
So that's also something which can be done but there is also another variable called asking if I could
key as Fyffe or kiss limberness one for now.
Can you see the ones which is the diagonal started one step later so that one step later comes up to
you.
So that's about that's about how you get an idea out here right.
With an eye.
If I put minus one you know what'll happen.
It will start from one step actually behind.
So it starts like this.
Right.
So it goes up it goes pipo one step.
So you put minus two you can yourself can understand how things go.
It starts from here.
So if I put two you know will begin from right here.
So it's plus and minus two is somewhere behind that's about the eye.
The eye function and of course there can be multiple questions which you know which can always be done
and you can.
Something else which show we need to know and that is about the pie arithmetic which we will go further
in further in detail in the next section called.