Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Everyone and welcome in this new video in this video, we are going to talk about Nembutal member buying,
it is the most new laboratory to do scientific calculus in Britain.
In this video, we are going to see how to create a matrix in Mumbai, also known as our word.
So first, we need to import our Nampai laboratory to impose a library.
We just need to use the input or browser.
Then we put the name of the library and we can create an alias like NPY, for example, to have a better
comprehension of our code later and do to not have, for example, a big library to call each time because
it is very boring.
Then let me show you how to create a one dimensional array.
It is very simple.
You need to create a variable.
And in this variable, you put the array function from Mumbai.
So when you call a function from a library, you need always to put the name of the library.
Then the function because Biden is no entered object language of programmation.
It means that each time, for example, if you want to speak about, I don't know the living room,
you need to specify that this living room is in the house.
So the House is here, so he is nearby and the living room is our function.
All right, then we need to put parenthesis to put the input necessary for this function and the necessary
inputs is a list containing some number, for example, one two three.
And then we have created a one dimensional.
All right.
So it is a very simple
membrane autonomous also to create some RNA.
With some specificity, for example, if you want to have all number from zero to 50, you can do it
without right manually, each number to do it.
We can use the limited space function we need as inputs to tell to the function that we want to start
from zero to 15.
And here we want.
One.
Iteration.
So it is very simple to create.
Some are using Nampai.
And here we can see that this number are not integral because this point means that all these no oh
fruits.
So it means that they are no which member after the point they are decimal number.
If you want to have, for example, integral member for indexing something or for any other reason,
you can use the Arends function.
And this time you just have to put the thought and the stop, because we don't need the specify the
number of iteration because we take only the integer number.
So for example, if I want exactly the same thing
with the orange function, we just have to put the start and the stop, and we have exactly the same
array instead of this array containing fruit number.
So decimal number and this all contain integer number.
So it is relatively important to understand the difference between these two type of array, then.
Let me show you how to create a two dimensional are ready to do it.
We use exactly the same syntax as before, so we call a function.
And here, if we want to create a two dimensional array, we don't need to put a list.
But we need to put a list of lists.
So here I create my right and then I need to put one list by rote.
So if I want to create one two three four the first row, then I need to put a comma to separate or
list.
And then.
We can print it as and as we can see we have three, zero and three column.
So it is a two dimensional.
All right.
But usually we don't need to create our right because this array will be all data and we don't need
to create the data.
We need to import it MIT.
But it's very important to understand how to create an array because sometimes it's very helpful.
Now let me show you how to create some specific arrays.
First, we are going to see how to create a new matrix.
It is a very simple matrix because it is just a matrix with only zero.
And to create it, we're going to use the zero function from Nampai.
So we opened the barn to this and in the barn to this, we need to put the shape of the mattress that
we want.
So if we want a matrix with three rows and five columns, for example, we just have to put three five
and we will have this matrix.
Then we can create an identity matrix and then don't see.
Matrix is one of the most no matrix because it is just.
A clear metrics, so the matrix with the same number of rural and the same number of columns.
This matrix is full of Zebo veriyor.
Only one in all the coefficient in the diagonal.
So we just need to put one number here, because a 09:22 matrix is a matrix.
So if?
I print it.
So here is a.
Now I will show you how to create a once matrix.
So a matrix full or one.
So it wasn't exactly with the same syntax as the further newer matrix.
Now we need to learn how to handle some metrics or subtract some metrics.
And it is very easy because you just need to do it like with no.
The only difference is that to add two metrics, we need that this metrics have exactly the same shape.
For example, here we have three and five and four note metrics.
We have exactly the same thing.
It's really mandatory because to add two metrics, we had the coefficient by coefficient.
So if here I put a number size, we cannot have these two metrics and python tell us.
So to subtract to mattress, we do exactly the same.
And now we are going to see how to do this color multiplication in Python.
It's government application is a very complex name for a very easy thing, which is only.
How to multiply all of the coefficient of the matrix by a number, for example, if I take one and I
want to multiply in all the coefficient by 10, for example.
This is a color multiplication, so in this video, we have seen a lot of things, so I only invite
you to play with this function to Winnie Muster.
It's because Master Array is very mandatory to create your own project in algorithmic trading.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.