modelmeanFactor

Extends from TRANSFORM.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
Realvariable_1{0.3, 0.3, 0.4}
Realfixed_1{0.2, 0.2, 0.2, 0.2, 0.2}
RealfA_1ans[2/3, 1/3, 0, 0, 0; 0, 1/3, 2/3, 0, 0; 0, 0, 0, 0.5, 0.5]
Realvariable_2{0.15, 0.25, 0.15, 0.25, 0.2}
Realfixed_2{0.2, 0.2, 0.2, 0.2, 0.2}
RealfA_2ans[1, 0, 0, 0, 0; 0.2, 0.8, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0.2, 0.8, 0; 0, 0, 0, 0, 1]
Realvariable_3{0.1, 0.05, 0.2, 0.2, 0.2, 0.2, 0.2, 0.05}
Realfixed_3{0.3, 0.3, 0.4}
RealfA_3ans[1, 0, 0; 1, 0, 0; 0.75, 0.25, 0; 0, 1, 0; 0, 0.2, 0.8; 0, 0, 1; 0, 0, 1; 0, 0, 1]
Realvariable_4{1.0}
Realfixed_4{0.3, 0.3, 0.4}
RealfA_4ans[0.3, 0.3, 0.4]
Realvariable_5{0.3, 0.3, 0.4}
Realfixed_5{1.0}
RealfA_5ans[1; 1; 1]
Realvariable_6{0, 0.3, 0.3, 0.4}
Realfixed_6{0.2, 0.2, 0.2, 0.2, 0.2}
RealfA_6ans[0, 0, 0, 0, 0; 2/3, 1/3, 0, 0, 0; 0, 1/3, 2/3, 0, 0; 0, 0, 0, 0.5, 0.5]
RealfA_1TRANSFORM.Math.meanFactor(variable_1, fixed_1)Factor matrix
RealfA_2TRANSFORM.Math.meanFactor(variable_2, fixed_2)Factor matrix
RealfA_3TRANSFORM.Math.meanFactor(variable_3, fixed_3)Factor matrix
RealfA_4TRANSFORM.Math.meanFactor(variable_4, fixed_4)Factor matrix
RealfA_5TRANSFORM.Math.meanFactor(variable_5, fixed_5)Factor matrix
RealfA_6TRANSFORM.Math.meanFactor(variable_6, fixed_6)Factor matrix
BooleandfA_1Modelica.Math.Matrices.isEqual(fA_1, fA_1ans, 10*Modelica.Constants.eps)=true then f = f_ans
BooleandfA_2Modelica.Math.Matrices.isEqual(fA_2, fA_2ans, 10*Modelica.Constants.eps)=true then f = f_ans
BooleandfA_3Modelica.Math.Matrices.isEqual(fA_3, fA_3ans, 10*Modelica.Constants.eps)=true then f = f_ans
BooleandfA_4Modelica.Math.Matrices.isEqual(fA_4, fA_4ans, 10*Modelica.Constants.eps)=true then f = f_ans
BooleandfA_5Modelica.Math.Matrices.isEqual(fA_5, fA_5ans, 10*Modelica.Constants.eps)=true then f = f_ans
BooleandfA_6Modelica.Math.Matrices.isEqual(fA_6, fA_6ans, 10*Modelica.Constants.eps)=true then f = f_ans

Components

TypeNameDefaultDescription
Utilities.ErrorAnalysis.UnitTestsunitTests