File: bigarrfml.reference

package info (click to toggle)
jocaml 4.01.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,736 kB
  • ctags: 23,836
  • sloc: ml: 111,262; ansic: 32,746; sh: 6,057; lisp: 4,230; makefile: 3,861; asm: 3,734; awk: 88; perl: 45; fortran: 21; sed: 19; cs: 9
file content (27 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


------ Foreign function interface --------

Passing an array to C

Accessing a C array
 1... 2... 3... 4...
Passing an array to Fortran
  0     0.0     1.0     2.0     3.0     4.0     5.0     6.0     7.0
  1  1000.0  1001.0  1002.0  1003.0  1004.0  1005.0  1006.0  1007.0
  2  2000.0  2001.0  2002.0  2003.0  2004.0  2005.0  2006.0  2007.0
  3  3000.0  3001.0  3002.0  3003.0  3004.0  3005.0  3006.0  3007.0
  4  4000.0  4001.0  4002.0  4003.0  4004.0  4005.0  4006.0  4007.0
  5  5000.0  5001.0  5002.0  5003.0  5004.0  5005.0  5006.0  5007.0

Accessing a Fortran array
 1... 2... 3... 4...
   1  1001.01002.01003.01004.0

   2  2001.02002.02003.02004.0

   3  3001.03002.03003.03004.0

   4  4001.04002.04003.04004.0

   5  5001.05002.05003.05004.0