
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
And how am I supposed to understand 3 and 4 digits in the coordinates when there should be only two????
And, how do I get the maximum value of a given column in the end?
It's a bug/bug apparently))))) Copy-pasted not successfully.
And how am I supposed to understand 3 and 4 digits in the coordinates when there should be only two????
And, how do I get the maximum value of a given column in the end?
The help is written in Russian. You should first describe your task step by step so that you can understand it yourself. Why are you looking for an index? You can see that for a matrix this function will return a vector
Thus, you need:
Go through all the examples step by step to understand how to work with a matrix.
ManipulationsA bug/bug apparently)))))) Copypaste was not successful.
No one reads it, but they are ready to support it. I thought I saw you in the machine learning thread? If so, you should understand what is written in the article.
How to copy a specific column/row of a matrix into a vector or array?
Read the help and the article, there is no other option.
Essence - write code - fill matrix - print matrix totals - run script - comment matrix filling - run script - print matrix with old values.
Cache? You don't want a cache, initialise the values explicitly
The help is written in Russian. You should first describe your task step by step so that you can understand it yourself. Why are you looking for an index? You can see that for a matrix this function will return a vector
So what you need to do is:
Go through all the examples step by step to understand how to work with a matrix.
ManipulationsIt seems obvious that if I'm asking questions, the instructions are not written clearly, the words should make sense - read "Returns the index of the maximum value" and you write " for a matrix this function will return a vector".
Right, I need to take a column or row - but how to do that I can't figure out from the instructions.
Read:
Col
Returns a column vector. Writes the vector to the specified column
Well great, that's what I need to get the column from the matrix into a vector.
vectorf V_Stolb.Col(m_Quant,1);
I want to find the maximum value in a column or row of the matrix, not the whole matrix.
Cache? If you don't want cache, initialise the values explicitly
Got it, I'll initialise with values.....
Col
Returns a column vector. Writes a vector to the specified column
Well great, that's what I need to get the column from the matrix into a vector.
I want to find the maximum value in a column or row of the matrix, not the whole matrix.
So why are you trying to get a vector from a vector. These methods are designed to get or insert a vector into a matrix. And the compiler tells you that
So why are you trying to get a vector from a vector. These methods are designed to get or insert a vector into a matrix. And the compiler tells you that
It's not a vector, it's a matrix, I have the code above.