/usr/share/octave/packages/3.2/struct-1.0.9/doc-cache is in octave-struct 1.0.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | # Created by Octave 3.2.4, Mon May 02 16:31:26 2011 UTC <root@yellow>
# name: cache
# type: cell
# rows: 3
# columns: 4
# name: <cell-element>
# type: string
# elements: 1
# length: 9
getfields
# name: <cell-element>
# type: string
# elements: 1
# length: 251
-- Built-in Function: [V1,...] =
getfields (S, 'k1',...) = [S.k1,...] Return selected values from
a struct. Provides some compatibility and some flexibility.
See also: setfields, rmfield, isfield, isstruct, fields, cmpstruct,
struct
# name: <cell-element>
# type: string
# elements: 1
# length: 20
getfields (S, 'k1',.
# name: <cell-element>
# type: string
# elements: 1
# length: 9
setfields
# name: <cell-element>
# type: string
# elements: 1
# length: 255
-- Function File: S = setfields(S,KEY,VALUE,...)
Sets S.KEY1 = VALUE1, S.KEY2 = VALUE2, etc, finally returning s.
For some compatibility and flexibility.
See also: cmpstruct, fields, rmfield, isstruct, getfields,
isfield, struct
# name: <cell-element>
# type: string
# elements: 1
# length: 7
Sets S.
# name: <cell-element>
# type: string
# elements: 1
# length: 4
tars
# name: <cell-element>
# type: string
# elements: 1
# length: 200
s = tars (foo,bar, ... ) == struct ("foo",foo,"bar",bar,...)
Groups foo, bar, ... into a struct whose fields are "foo", "bar" ...
and such that s.foo == foo, s.bar == bar ...
See also : untar
# name: <cell-element>
# type: string
# elements: 1
# length: 21
s = tars (foo,bar, .
# name: <cell-element>
# type: string
# elements: 1
# length: 11
test_struct
# name: <cell-element>
# type: string
# elements: 1
# length: 38
EOF my test function ###############
# name: <cell-element>
# type: string
# elements: 1
# length: 38
EOF my test function ###############
|