Kronecker Volume and vector quantification: how the matrix equations become linear
quantifies a matrix multiplier by column, checking the shape and order of the Kronecker volume.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Quantify a matrix multiplier by column
- Check the shape of the Kronecker volume and arrange the protocol
Suggested first
- Vector and Matrix Operations
The shapes aren't good enough, and the rankings are good enough
The matrix parameters sometimes need to be converted into a long vector that allows for the writing of constraints, collage or second-order approximation. Quantification must indicate whether it is organized by column or by row; The two agreements produce the same length, but correspond to different linear calculations. Kronecker is an appropriate expression of this structure, but a visible construction of a large block matrix may not necessarily be efficiently achieved.
A four-dimensional verification
Set left multiplied arrays as diagonal (2,3), parameter arrays as 1,2; 3,4) and right multiplied arrays as 1; 1; 0,1). (ii) Four; Nine, twelve, re-triggered (two, six; Nine, twenty-one. Start by column, with the result (two, nine, six, twenty-one). The original parameter was expanded by column (1,3,2,4). The right-by-form is converted to (1; 1,1) and the left-by-format Kronecker is accumulated, the upper-left and lower-right blocks are the original left-by-formules and the lower-left block is the same and the upper-right block is zero. This four-order calculation multiplied by the original expansion vector and obtained the same (two, nine, six, twenty-one). If you forget the conversion of the right matrix, the two intermediates are wrongly combined.
How the normal shape is pushed
The parameters are assumed to be several rows by several columns, left by changing the row space and right by changing the column space. The length of the input to the Quantified is the original row number multiplied by the output length by the new row number multiplied by the size of the large number of the two lengths. This examination first precludes many cases of formulae being wrong, but it does not guarantee that the elements are arranged correctly and that small integer numbers should still be used, as in the present case.
Don't think of math as an implementation program
A seemingly compact Kronecker expression may result in a square or even higher storage cost after a visible expansion. If, ultimately, only arithmetic vector is required, the vector can be restored to a matrix, with a small matrix multiplying of about two times, and then the same rule can be applied. This retains the structure and avoids the preservation of a large number of repeat blocks. Relevant applications also include some collusive variations, matrix fractions and multidimensional grids. (b) The presumably reasonableness must be tested separately; The sum of Kronecker written as two factors does not indicate the true relevance of the factor. When cross-frames transmit arrays, the memory layout is checked against the logical index, rather than the column main order is determined by simply seeing continuous storage. An example of elemental level regression is usually easier to detect such sequence errors than large-scale random output.
Self-measurement and provocator
What are the results of this example?
is (two, six, nine, twenty-one) different from the one by column; The corresponding big sum must be replaced simultaneously.
Can you directly construct the Kronecker matrix to handle all large model parameters?
It's not usually cost-effective. Mathematical equations do not require explicit storage, and can be used to restore matrixes to the left and right and to the left to keep structured calculations.
Sources and reconciliations
Definitions, methods and interfaces are available.
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.