<commit_before>'use strict';

/**
* Create an ndarray constructor.
*
* @module @stdlib/types/ndarray/ctor
*
* @example
* var ctor = require( '@stdlib/types/ndarray/ctor' );
*
* var ndarray = ctor( 'float64', 3 );
* // returns <Function>
*
* var buffer = [ 1, 2, 3, 4, 5, 6 ];
* var shape = [ 3, 2 ];
* var strides = [ 2, 1 ];
* var offset = 0;
*
* var out = ndarray( buffer, shape, strides, offset, 'row-major' );<commit_msg>Fix require paths<commit_after>'use strict';

/**
* Create an ndarray constructor.
*
* @module @stdlib/types/ndarray/base/ctor
*
* @example
* var ctor = require( '@stdlib/types/ndarray/base/ctor' );
*
* var ndarray = ctor( 'float64', 3 );
* // returns <Function>
*
* var buffer = [ 1, 2, 3, 4, 5, 6 ];
* var shape = [ 3, 2 ];
* var strides = [ 2, 1 ];
* var offset = 0;
*
* var out = ndarray( buffer, shape, strides, offset, 'row-major' );
{'fraction_non_alphanumeric': 0.19907407407407407, 'fraction_numerical': 0.032407407407407406, 'mean_word_length': 3.5767195767195767, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5215830', 'n_tokens_mistral': 355, 'n_tokens_neox': 320, 'n_words': 96}