function meta data
list of ndarray data types
object on which to define properties
object on which properties were defined
// Define ndarray function meta data:
var meta = {
'nargs': 2,
'nin': 1,
'nout': 1
};
// Define the list of ndarray data types:
var dtypes = [
'float64', 'float64',
'float32', 'float32',
'generic', 'generic'
];
// Define an object/function on which to set the properties:
var obj = {};
// Set the properties:
setProps( meta, dtypes, obj );
Defines non-enumerable read-only properties which expose ndarray function meta data.