This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/library/examples/matrix.yap
Vítor Santos Costa 285c61b87f development commit
2013-09-19 14:35:31 +01:00

8 lines
97 B
Prolog

:- use_module(library(matrix)).
t1 :-
X <== matrix([1,2,3,4,5,6],[dims=[3,2]]),
writeln(X).