.Modelica_LinearSystems2.Math.Polynomial.x

Generate a base polynomial y=x

Information

Syntax

p = Polynomial.x();

Description

This function constructs a base polynomial.

Example:

import Modelica_LinearSystems2.Math.Polynomial;

x = Polynomial.x();      // Generate a base polynomial
p1 = -6*x^2 + 4*x -3;
p1;
// -6*x^2 + 4*x - 3

Interface

encapsulated function x
  import Modelica_LinearSystems2.Math.Polynomial;
  output Polynomial p(redeclare Real c[2]) "Polynomial";
end x;

Generated at 2025-04-02T18:24:35Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos