I stumbled upon something that I find very strange.
As an example, consider the code
A = reshape(1:6, 3,2) A/[1 1]
which gives
3×1 Array{Float64,2}: 2.5 3.5 4.5
As I understand it, in general, such a division gives the weighted average value of the columns, where each weight is inversely proportional to the corresponding element of the vector.
So my question is: why is it defined this way?
What is the mathematical rationale for this definition?
|A - v*[1 1]|₂ - , , (.. v , ). / \ , , . , , , Matlab Octave, , .
|A - v*[1 1]|₂
v
/
\
A - NxN, b - - Nx1. \ Ax=b, / xA=b.
A
NxN
b
Nx1
Ax=b
xA=b
, . QR SVD. . , , . : OLS , .
, ? . , . , . , - O (n ^ 3), . , , . , \ ( /, \), (LU, QR, SVD, Cholesky ..) , - MATLAB. , , . IterativeSolvers.jl, Ax=b.
, Ax=b , . , , , Ax=b . \ () .
Source: https://habr.com/ru/post/1671394/More articles:PHP Regex that only matches valid, valid URLs - urlSetuptools extension extension for using CMake in setup.py? - c ++Number of characters 'x' in a string - Recursion - javaIs it possible to automatically derive class_weight from flow_from_directory in Keras? - kerasGenerating random numbers that are twice as likely to expose even numbers - javaSymfony Testing - ClockMock / DateTime - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1671396/add-stylus-to-a-webpack-2-app-which-has-css-modules&usg=ALkJrhhqiqJdJTVWFxv-LFQId2JT-LZMMQAuto colon in time field in form - javascriptHow to execute jQuery code only once? - javascriptHow to display OptionSet values in a human-readable form? - iosAll Articles