Project

General

Profile

Revision b3381ae8 test/src/arrays_arnaud/generic1.lus

View differences:

test/src/arrays_arnaud/generic1.lus
1
#open "dummy_lib"
2

  
1 3
type choice = enum { one, two };
2 4
type entier = int;
3 5

  
......
8 10
const M1 = [ [ 2.1 ], [ 1.0 ], [ 3.0 ], [ 4.2 ] ] ;
9 11
const M2 = [ [ 1.1, 2.2, 1.0, 1.0 ] ] ;
10 12

  
11
function _MatMul_real (
12
	const n, m, p : int ;
13
	in1 : real^n^m ;
14
	in2 : real^m^p)
15
returns (
16
	out : real^n^p) ;
17

  
18
imported node imp1(const m:int; a:int^(PI*m)) returns (c:int^m);
19

  
20
imported node imp2(const n:int; a:int^n) returns (d:int^n);
21 13

  
22 14
node mult(
23 15
     in1 : real^4^1)

Also available in: Unified diff