Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在第 99 页的 Modelica 3.3 rev 1 语言规范中,有以下参数声明。
parameter Real A[:,:] = [1];
[1]在这种情况下是什么意思?
[1]
运算符 [] 是连接运算符。请参见第 15 页和第 123 页:10.4.2.1 沿第一维和第二维的数组串联。基本上你得到的结果是:
parameter Real A[1,1] = 1;