summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorClément DAVID <clement.david@esi-group.com>2020-12-22 12:04:46 +0100
committerCédric DELAMARRE <cedric.delamarre@esi-group.com>2021-04-26 13:43:29 +0200
commitafa2f09c0db4abd3ddddef1e1b24d2732c96aaca (patch)
tree43813617bfd46290883540ed68368a3a0a70afb1 /scilab
parent857c11ca53d652b98ecdd09822897aae60552793 (diff)
downloadscilab-afa2f09c0db4abd3ddddef1e1b24d2732c96aaca.zip
scilab-afa2f09c0db4abd3ddddef1e1b24d2732c96aaca.tar.gz
Linux build: fix doc building with javac 11
Change-Id: I19b42fc1e045c159a15a494ff3415a5a763ed9e7
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/javasci/src/java/org/scilab/modules/javasci/package.html25
-rw-r--r--scilab/modules/types/src/java/org/scilab/modules/types/package.html8
2 files changed, 17 insertions, 16 deletions
diff --git a/scilab/modules/javasci/src/java/org/scilab/modules/javasci/package.html b/scilab/modules/javasci/src/java/org/scilab/modules/javasci/package.html
index d65eeb7..4306806 100644
--- a/scilab/modules/javasci/src/java/org/scilab/modules/javasci/package.html
+++ b/scilab/modules/javasci/src/java/org/scilab/modules/javasci/package.html
@@ -2,17 +2,18 @@
2<body> 2<body>
3 3
4This package provides a way to use and call Scilab engine from a Java 4This package provides a way to use and call Scilab engine from a Java
5application or library.<br /> 5application or library.<br>
6<br /> 6<br>
7Example:<br /> 7Example:<br>
8<code> 8<code>
9Scilab sci = new Scilab();<br /> 9Scilab sci = new Scilab();<br>
10sci.open();<br /> 10sci.open();<br>
11sci.exec("b = matrix(1:100,10,10)");<br /> 11sci.exec("b = matrix(1:100,10,10)");<br>
12ScilabType b = sci.get("b");<br /> 12ScilabType b = sci.get("b");<br>
13b.getHeight(); // 10 <br /> 13b.getHeight(); // 10 <br>
14b.getWidth(); // 10<br /> 14b.getWidth(); // 10<br>
15ScilabDouble b2 = (ScilabDouble)sci.get("b");<br /> 15ScilabDouble b2 = (ScilabDouble)sci.get("b");<br>
16b2.equals(b); // true<br /> 16b2.equals(b); // true<br>
17</code>
17</body> 18</body>
18</html> \ No newline at end of file 19</html>
diff --git a/scilab/modules/types/src/java/org/scilab/modules/types/package.html b/scilab/modules/types/src/java/org/scilab/modules/types/package.html
index 7deea29..926a944 100644
--- a/scilab/modules/types/src/java/org/scilab/modules/types/package.html
+++ b/scilab/modules/types/src/java/org/scilab/modules/types/package.html
@@ -1,11 +1,11 @@
1<html> 1<html>
2<body> 2<body>
3This package provides a representation of most of the Scilab datatypes.<br /> 3This package provides a representation of most of the Scilab datatypes.<br>
4<br /> 4<br>
5 5
6Example:<br /> 6Example:<br>
7<code> 7<code>
8double [][]a={{21.2, 22.0, 42.0, 39.0},{23.2, 24.0, 44.0, 40.0}};<br /> 8double [][]a={{21.2, 22.0, 42.0, 39.0},{23.2, 24.0, 44.0, 40.0}};<br>
9ScilabDouble aMatrix = new ScilabDouble(a); 9ScilabDouble aMatrix = new ScilabDouble(a);
10</code> 10</code>
11</body> 11</body>