Coefficients of the linear equation

| Vectorized |
in the palette on the schematic

The block is used together with the blocks Linear equation number and SLE results. The block specifies the coefficients (matrix A of the system) and the values of the right-hand sides (vector B) for the equations (equation numbers) specified at the first input.

Inputs

  • rows is a vector of row numbers (equation numbers) of a system of linear equations with a name<solvername>, which are formed using the blocks Linear equation number.
  • cols is a vector of column numbers formed according to the following rule:
    [<№ Col 1 Row 1> . . . <№ Col 1 Row N>,
     <№ Col 2 Row 1> . . . <№ Col 2 Row N>,
     <№ Col M Row 1> . . . <№ Col M Row N> ]
    where: N – the number of equations determined by the dimension of the row number vector at the first input of the block; M – the number of filled columns for each of the rows specified by the row number vector at the first input of the block.
  • Ai is the vector of SLE coefficients given by the following rule:
    [<Coeff Col 1 Row 1> . . . <Coeff Col 1 Row N>,
     <Coeff Col 2 Row 1> . . . <Coeff Col 2 Row N>,
     <Coeff Col M Row 1> . . . <Coeff Col M Row N> ]
  • B is the vector of the right parts of the SLE, for rows specified by the vector of row numbers at the first input of the block.

Outputs

none

Properties:

  • Name of the SLE solver is the name of the solver (string) that processes (solves) the SLE. It should be the same for all the blocks "Linear equation number", "Coefficients of the linear equation" and "SLE results" belonging to the same system.

Parameters

none