-
-
Notifications
You must be signed in to change notification settings - Fork 804
/
Copy pathrepl.txt
50 lines (39 loc) · 1.04 KB
/
repl.txt
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
{{alias}}( meta, dtypes, obj )
Defines non-enumerable read-only properties which expose ndarray function
meta data.
Parameters
----------
meta: Object
Function meta data.
meta.nargs: integer
Total number of arguments. This value is one more than might be
expected, as the output array is treated as an implicit argument, even
when not explicitly provided.
meta.nin: integer
Total number of input arrays.
meta.nout: integer
Total number of output arrays.
dtypes: ArrayLikeObject
List of ndarray data types.
obj: Object|Function
Object on which to define properties.
Returns
-------
out: Object|Function
Object on which properties were defined.
Examples
--------
> var meta = { 'nargs': 2, 'nin': 1, 'nout': 1 };
> var dt = [ 'float64', 'float64' ];
> var obj = {};
> {{alias}}( meta, dt, obj );
> obj.nargs
2
> obj.nin
1
> obj.nout
1
> obj.types
[...]
See Also
--------