From 5139f0d8a5b64ba45574eed6d5081ddb820ee628 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 11 Jan 2025 03:28:05 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 3 ++- CONTRIBUTORS | 4 +++- NOTICE | 2 +- README.md | 21 ++++++++++++++++++++- dist/index.js | 22 +++++++++++----------- 5 files changed, 37 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9c7d63..fad1da1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-12-31) +## Unreleased (2025-01-11)
@@ -23,6 +23,7 @@
+- [`dbb338e`](https://github.com/stdlib-js/stdlib/commit/dbb338e80336515e9f7ef602188985bbbe9b9010) - **docs:** update related packages sections [(#4690)](https://github.com/stdlib-js/stdlib/pull/4690) _(by stdlib-bot)_ - [`259b682`](https://github.com/stdlib-js/stdlib/commit/259b682b2fb67d03e2987ca02b57d0cbc631ae8e) - **feat:** add support for specifying an array index cache and add support for linear indexing _(by Athan Reines)_ - [`0546f39`](https://github.com/stdlib-js/stdlib/commit/0546f395abecb502fd703aa364e758bd733cd18e) - **docs:** disable lint rule _(by Athan Reines)_ - [`5079aa3`](https://github.com/stdlib-js/stdlib/commit/5079aa30f3aa11908c78aac6750b4272852dbb4d) - **docs:** disable lint rule _(by Athan Reines)_ diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 173c07b..92d7552 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -27,6 +27,7 @@ Daniel Killenberger Daniel Yu <40680511+Daniel777y@users.noreply.github.com> Debashis Maharana Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com> +Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com> Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com> Dominic Lim <46486515+domlimm@users.noreply.github.com> Dominik Moritz @@ -49,6 +50,7 @@ Joey Reed Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com> Joris Labie Justin Dennison +Karan Anand <119553199+anandkaranubc@users.noreply.github.com> Karthik Prakash <116057817+skoriop@users.noreply.github.com> Kohantika Nath <145763549+kohantikanath@users.noreply.github.com> Krishnendu Das <86651039+itskdhere@users.noreply.github.com> @@ -117,7 +119,7 @@ UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com> Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com> Varad Gupta Vinit Pandit <106718914+MeastroZI@users.noreply.github.com> -Vivek maurya <155618190+vivekmaurya001@users.noreply.github.com> +Vivek Maurya Xiaochuan Ye Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com> Yernar Yergaziyev diff --git a/NOTICE b/NOTICE index e6e7482..cbd3a29 100644 --- a/NOTICE +++ b/NOTICE @@ -1 +1 @@ -Copyright (c) 2016-2024 The Stdlib Authors. +Copyright (c) 2016-2025 The Stdlib Authors. diff --git a/README.md b/README.md index 2edde27..d77a23a 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,15 @@ console.log( toArray( y4 ) ); @@ -370,7 +379,7 @@ See [LICENSE][stdlib-license]. ## Copyright -Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. +Copyright © 2016-2025. The Stdlib [Authors][stdlib-authors].
@@ -432,6 +441,16 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [@stdlib/slice/seq2multislice]: https://github.com/stdlib-js/slice-seq2multislice + + +[@stdlib/array/to-fancy]: https://github.com/stdlib-js/array-to-fancy + +[@stdlib/ndarray/array]: https://github.com/stdlib-js/ndarray-array + +[@stdlib/ndarray/fancy]: https://github.com/stdlib-js/ndarray-fancy + + +
diff --git a/dist/index.js b/dist/index.js index c80e2c9..075a46c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7,9 +7,9 @@ function we(r,i){return e;function e(t){return r(t,i)}}F.exports=we });var Q=u(function(Za,X){ var be=require('@stdlib/ndarray-index/dist');function _e(){return{cache:be,strict:!1}}X.exports=_e });var Y=u(function(rn,z){ -var Ae=require('@stdlib/assert-is-plain-object/dist'),W=require('@stdlib/assert-has-own-property/dist'),Re=require('@stdlib/assert-is-boolean/dist').isPrimitive,Ne=require('@stdlib/assert-is-method-in/dist'),A=require('@stdlib/error-tools-fmtprodmsg/dist');function De(r,i){return Ae(i)?W(i,"strict")&&(r.strict=i.strict,!Re(r.strict))?new TypeError(A('null2o',"strict",r.strict)):W(i,"cache")&&(r.cache=i.cache,!Ne(r.cache,"get"))?new TypeError(A('nullFb',"cache","get",r.cache)):null:new TypeError(A('null2V',i));}z.exports=De +var Ae=require('@stdlib/assert-is-plain-object/dist'),W=require('@stdlib/assert-has-own-property/dist'),Re=require('@stdlib/assert-is-boolean/dist').isPrimitive,Ne=require('@stdlib/assert-is-method-in/dist'),A=require('@stdlib/error-tools-fmtprodmsg/dist');function De(r,i){return Ae(i)?W(i,"strict")&&(r.strict=i.strict,!Re(r.strict))?new TypeError(A('2572o',"strict",r.strict)):W(i,"cache")&&(r.cache=i.cache,!Ne(r.cache,"get"))?new TypeError(A('257Fb',"cache","get",r.cache)):null:new TypeError(A('2572V',i));}z.exports=De });var K=u(function(en,J){ -var g=require('@stdlib/assert-is-number/dist').isPrimitive,Te=require('@stdlib/assert-is-integer/dist').isPrimitive,Ce=require('@stdlib/assert-is-boolean/dist').isPrimitive,E=require('@stdlib/assert-is-complex-like/dist'),Le=require('@stdlib/ndarray-base-assert-is-real-floating-point-data-type/dist'),Me=require('@stdlib/ndarray-base-assert-is-unsigned-integer-data-type/dist'),Ve=require('@stdlib/ndarray-base-assert-is-signed-integer-data-type/dist'),xe=require('@stdlib/ndarray-base-assert-is-boolean-data-type/dist'),$=require('@stdlib/ndarray-base-assert-is-safe-data-type-cast/dist'),H=require('@stdlib/ndarray-min-dtype/dist'),Oe=require('@stdlib/ndarray-base-min-signed-integer-dtype/dist'),R=require('@stdlib/complex-dtype/dist'),c=require('@stdlib/error-tools-fmtprodmsg/dist');function Pe(){return null}function Ue(r,i){return Ce(r)?null:new TypeError(c('nullEw',typeof r,i));}function ke(r,i){return g(r)?null:E(r)?new TypeError(c('nullEw',R(r),i)):new TypeError(c('nullEw',typeof r,i));}function Be(r,i){return g(r)||E(r)?null:new TypeError(c('nullEw',typeof r,i));}function je(r,i){var e;return g(r)?Te(r)?(e=Oe(r),$(e,i)?null:new TypeError(c('nullEw',e,i))):new TypeError(c('nullEw',H(r),i)):E(r)?new TypeError(c('nullEw',R(r),i)):new TypeError(c('nullEw',typeof r,i));}function Fe(r,i){var e;return g(r)?(e=H(r),$(e,i)?null:new TypeError(c('nullEw',e,i))):E(r)?new TypeError(c('nullEw',R(r),i)):new TypeError(c('nullEw',typeof r,i));}function Ge(r){return r==="generic"||r===""?Pe:Le(r)?ke:Me(r)?Fe:Ve(r)?je:xe(r)?Ue:Be}J.exports=Ge +var g=require('@stdlib/assert-is-number/dist').isPrimitive,Te=require('@stdlib/assert-is-integer/dist').isPrimitive,Ce=require('@stdlib/assert-is-boolean/dist').isPrimitive,E=require('@stdlib/assert-is-complex-like/dist'),Le=require('@stdlib/ndarray-base-assert-is-real-floating-point-data-type/dist'),Me=require('@stdlib/ndarray-base-assert-is-unsigned-integer-data-type/dist'),Ve=require('@stdlib/ndarray-base-assert-is-signed-integer-data-type/dist'),xe=require('@stdlib/ndarray-base-assert-is-boolean-data-type/dist'),$=require('@stdlib/ndarray-base-assert-is-safe-data-type-cast/dist'),H=require('@stdlib/ndarray-min-dtype/dist'),Oe=require('@stdlib/ndarray-base-min-signed-integer-dtype/dist'),R=require('@stdlib/complex-dtype/dist'),c=require('@stdlib/error-tools-fmtprodmsg/dist');function Pe(){return null}function Ue(r,i){return Ce(r)?null:new TypeError(c('257Ew',typeof r,i));}function ke(r,i){return g(r)?null:E(r)?new TypeError(c('257Ew',R(r),i)):new TypeError(c('257Ew',typeof r,i));}function Be(r,i){return g(r)||E(r)?null:new TypeError(c('257Ew',typeof r,i));}function je(r,i){var e;return g(r)?Te(r)?(e=Oe(r),$(e,i)?null:new TypeError(c('257Ew',e,i))):new TypeError(c('257Ew',H(r),i)):E(r)?new TypeError(c('257Ew',R(r),i)):new TypeError(c('257Ew',typeof r,i));}function Fe(r,i){var e;return g(r)?(e=H(r),$(e,i)?null:new TypeError(c('257Ew',e,i))):E(r)?new TypeError(c('257Ew',R(r),i)):new TypeError(c('257Ew',typeof r,i));}function Ge(r){return r==="generic"||r===""?Pe:Le(r)?ke:Me(r)?Fe:Ve(r)?je:xe(r)?Ue:Be}J.exports=Ge });var S=u(function(tn,Z){ var Xe=require('@stdlib/string-base-starts-with/dist');function Qe(r){return r[0]==="M"&&Xe(r,"MultiSlice(",0)&&r[r.length-1]===")"}Z.exports=Qe });var N=u(function(an,rr){ @@ -27,23 +27,23 @@ function ei(r){return r==="..."}ur.exports=ei });var D=u(function(ln,or){ function ii(r){return r===""}or.exports=ii });var I=u(function(vn,cr){ -var ti=require('@stdlib/slice-base-str2multislice/dist'),ai=require('@stdlib/error-tools-fmtprodmsg/dist');function ni(r,i){var e=ti(i);if(e===null)throw new Error(ai('nullEn',r));return e}cr.exports=ni +var ti=require('@stdlib/slice-base-str2multislice/dist'),ai=require('@stdlib/error-tools-fmtprodmsg/dist');function ni(r,i){var e=ti(i);if(e===null)throw new Error(ai('257En',r));return e}cr.exports=ni });var T=u(function(fn,lr){ -var si=require('@stdlib/slice-base-str2slice/dist'),ui=require('@stdlib/slice-multi/dist'),oi=require('@stdlib/error-tools-fmtprodmsg/dist');function ci(r,i){var e=si(i);if(e===null)throw new Error(oi('nullEn',r));return new ui(e)}lr.exports=ci +var si=require('@stdlib/slice-base-str2slice/dist'),ui=require('@stdlib/slice-multi/dist'),oi=require('@stdlib/error-tools-fmtprodmsg/dist');function ci(r,i){var e=si(i);if(e===null)throw new Error(oi('257En',r));return new ui(e)}lr.exports=ci });var C=u(function(pn,vr){ var li=require('@stdlib/slice-multi/dist');function vi(r,i){return new li(parseInt(i,10))}vr.exports=vi });var pr=u(function(dn,fr){ -var fi=require('@stdlib/string-base-trim/dist'),pi=require('@stdlib/string-base-replace/dist'),di=require('@stdlib/slice-multi/dist'),qi=require('@stdlib/slice-base-seq2multislice/dist'),yi=require('@stdlib/ndarray-base-shape/dist'),w=require('@stdlib/error-tools-fmtprodmsg/dist'),gi=S(),Ei=N(),Si=d(),mi=m(),hi=h(),Ii=D(),wi=I(),bi=T(),_i=C();function Ai(r,i,e){var t=qi(i,e,!0);if(t.code)throw t.code==="ERR_SLICE_INVALID_INCREMENT"?new Error(w('nullEq',r)):t.code==="ERR_SLICE_INVALID_ELLIPSIS"?new Error(w('nullEr',r)):t.code==="ERR_SLICE_INVALID_SUBSEQUENCE"?new Error(w('nullEn',r)):new RangeError(w('nullEv',e.join(","),pi(i,/\.\.\.,/,"").split(",").length));return t}function Ri(r,i){var e=fi(i);return Ii(e)||hi(e)?new di:Ei(e)?bi(i,e):gi(e)?wi(i,e):Si(e)?_i(i,e):mi(e)?Ai(i,e,yi(r,!1)):null}fr.exports=Ri +var fi=require('@stdlib/string-base-trim/dist'),pi=require('@stdlib/string-base-replace/dist'),di=require('@stdlib/slice-multi/dist'),qi=require('@stdlib/slice-base-seq2multislice/dist'),yi=require('@stdlib/ndarray-base-shape/dist'),w=require('@stdlib/error-tools-fmtprodmsg/dist'),gi=S(),Ei=N(),Si=d(),mi=m(),hi=h(),Ii=D(),wi=I(),bi=T(),_i=C();function Ai(r,i,e){var t=qi(i,e,!0);if(t.code)throw t.code==="ERR_SLICE_INVALID_INCREMENT"?new Error(w('257Eq',r)):t.code==="ERR_SLICE_INVALID_ELLIPSIS"?new Error(w('257Er',r)):t.code==="ERR_SLICE_INVALID_SUBSEQUENCE"?new Error(w('257En',r)):new RangeError(w('257Ev',e.join(","),pi(i,/\.\.\.,/,"").split(",").length));return t}function Ri(r,i){var e=fi(i);return Ii(e)||hi(e)?new di:Ei(e)?bi(i,e):gi(e)?wi(i,e):Si(e)?_i(i,e):mi(e)?Ai(i,e,yi(r,!1)):null}fr.exports=Ri });var yr=u(function(qn,qr){ -var Ni=require('@stdlib/string-base-trim/dist'),Di=require('@stdlib/string-base-replace/dist'),dr=require('@stdlib/slice-base-seq2multislice/dist'),Ti=require('@stdlib/ndarray-base-shape/dist'),q=require('@stdlib/error-tools-fmtprodmsg/dist'),Ci=N(),Li=S(),Mi=d(),Vi=m(),xi=h(),Oi=I(),Pi=T(),Ui=C();function ki(r,i,e,t){var n=dr(i,e,!0);if(n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(q('nullEq',r));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(q('nullEr',r));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(q('nullEn',r));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS")throw new RangeError(q('nullEv',e.join(","),Di(i,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(t)throw new RangeError(q('nullEp',e.join(",")));n=dr(i,e,!1)}}return n}function Bi(r,i,e){var t=Ni(i);return Ci(t)?Pi(i,t):Li(t)?Oi(i,t):Mi(t)?Ui(i,t):Vi(t)||xi(t)?ki(i,t,Ti(r,!1),e):null}qr.exports=Bi +var Ni=require('@stdlib/string-base-trim/dist'),Di=require('@stdlib/string-base-replace/dist'),dr=require('@stdlib/slice-base-seq2multislice/dist'),Ti=require('@stdlib/ndarray-base-shape/dist'),q=require('@stdlib/error-tools-fmtprodmsg/dist'),Ci=N(),Li=S(),Mi=d(),Vi=m(),xi=h(),Oi=I(),Pi=T(),Ui=C();function ki(r,i,e,t){var n=dr(i,e,!0);if(n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(q('257Eq',r));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(q('257Er',r));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(q('257En',r));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS")throw new RangeError(q('257Ev',e.join(","),Di(i,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(t)throw new RangeError(q('257Ep',e.join(",")));n=dr(i,e,!1)}}return n}function Bi(r,i,e){var t=Ni(i);return Ci(t)?Pi(i,t):Li(t)?Oi(i,t):Mi(t)?Ui(i,t):Vi(t)||xi(t)?ki(i,t,Ti(r,!1),e):null}qr.exports=Bi });var Sr=u(function(yn,Er){ -var ji=require('@stdlib/string-base-trim/dist'),Fi=require('@stdlib/string-base-replace/dist'),gr=require('@stdlib/slice-base-seq2multislice/dist'),Gi=require('@stdlib/slice-base-sargs2multislice/dist'),Xi=require('@stdlib/ndarray-base-shape/dist'),y=require('@stdlib/error-tools-fmtprodmsg/dist'),Qi=m(),Wi=h(),zi=S(),Yi=D(),$i=I();function Hi(r,i,e,t){var n=gr(i,e,!0);if(n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(y('nullEq',r));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(y('nullEr',r));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(y('nullEn',r));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS"||n.code==="ERR_SLICE_INSUFFICIENT_DIMENSIONS")throw new RangeError(y('nullEv',e.join(","),Fi(i,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(t)throw new RangeError(y('nullEp',e.join(",")));n=gr(i,e,!1)}}return n}function Ji(r,i,e){var t=ji(i);return zi(t)?$i(i,t):Qi(t)||Wi(t)?Hi(i,t,Xi(r,!1),e):Yi(t)?null:Gi(t)}Er.exports=Ji +var ji=require('@stdlib/string-base-trim/dist'),Fi=require('@stdlib/string-base-replace/dist'),gr=require('@stdlib/slice-base-seq2multislice/dist'),Gi=require('@stdlib/slice-base-sargs2multislice/dist'),Xi=require('@stdlib/ndarray-base-shape/dist'),y=require('@stdlib/error-tools-fmtprodmsg/dist'),Qi=m(),Wi=h(),zi=S(),Yi=D(),$i=I();function Hi(r,i,e,t){var n=gr(i,e,!0);if(n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(y('257Eq',r));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(y('257Er',r));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(y('257En',r));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS"||n.code==="ERR_SLICE_INSUFFICIENT_DIMENSIONS")throw new RangeError(y('257Ev',e.join(","),Fi(i,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(t)throw new RangeError(y('257Ep',e.join(",")));n=gr(i,e,!1)}}return n}function Ji(r,i,e){var t=ji(i);return zi(t)?$i(i,t):Qi(t)||Wi(t)?Hi(i,t,Xi(r,!1),e):Yi(t)?null:Gi(t)}Er.exports=Ji });var hr=u(function(gn,mr){ var Ki=pr(),Zi=yr(),rt=Sr();function et(r){return r===0?Ki:r===1?Zi:rt}mr.exports=et });var wr=u(function(En,Ir){ function it(r,i){return e;function e(t,n){var s,a;switch(a=n,a.length){case 0:s=new t;break;case 1:s=new t(a[0]);break;case 2:s=new t(a[0],a[1]);break;case 3:s=new t(a[0],a[1],a[2]);break;case 4:s=new t(a[0],a[1],a[2],a[3]);break;case 5:s=new t(a[0],a[1],a[2],a[3],a[4]);break;case 6:s=new t(a[0],a[1],a[2],a[3],a[4],a[5]);break;case 7:s=new t(a[0],a[1],a[2],a[3],a[4],a[5],a[6]);break;case 8:s=new t(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7]);break;case 9:s=new t(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8]);break;case 10:s=new t(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9]);break;default:s=t.apply(null,a)}return r(s,i)}}Ir.exports=it });var b=u(function(Sn,br){ -var tt=require('@stdlib/ndarray-base-normalize-index/dist'),at=require('@stdlib/error-tools-fmtprodmsg/dist');function nt(r,i,e){var t,n;if(t=parseInt(r,10),n=tt(t,i-1),n===-1&&e)throw new RangeError(at("invalid operation. Index exceeds ndarray bounds."));return n}br.exports=nt +var tt=require('@stdlib/ndarray-base-normalize-index/dist'),at=require('@stdlib/error-tools-fmtprodmsg/dist');function nt(r,i,e){var t,n;if(t=parseInt(r,10),n=tt(t,i-1),n===-1&&e)throw new RangeError(at('257HJ'));return n}br.exports=nt });var Dr=u(function(mn,Nr){ var st=require('@stdlib/assert-is-method-in/dist'),_r=require('@stdlib/ndarray-base-shape/dist'),ut=require('@stdlib/ndarray-strides/dist'),ot=require('@stdlib/ndarray-order/dist'),Ar=require('@stdlib/ndarray-base-numel/dist'),ct=require('@stdlib/ndarray-base-ind2sub/dist'),Rr=b();function lt(r,i,e){if(i=Rr(i,Ar(_r(r,!1)),e),i!==-1)return r.iget(i)}function vt(r,i,e){var t,n;if(n=_r(r,!1),i=Rr(i,Ar(n),e),i!==-1)return t=ct(n,ut(r),0,ot(r),i,"throw"),r.get.apply(r,t)}function ft(r){return st(r,"iget")?lt:vt}Nr.exports=ft });var Vr=u(function(hn,Mr){ @@ -59,7 +59,7 @@ var _t=kr();function At(r){return _t.test(r)}Br.exports=At });var Fr=u(function(An,jr){ var Rt=require('@stdlib/ndarray-base-from-scalar-like/dist');function Nt(r,i,e){var t=e.getter(r,i,e.strict);if(t!==void 0)return e.postGetArray(Rt(r,t))}jr.exports=Nt });var V=u(function(Rn,Gr){ -var Dt=require('@stdlib/error-tools-fmtprodmsg/dist'),Tt=b();function Ct(r,i,e){var t,n,s,a;if(t=i.length,n=r.split(/\s*,\s*/),n.length!==t)throw new RangeError(Dt("invalid operation. Number of indices does not match the number of array dimensions. Array shape: (%s). Index dimensions: %u.",i.join(","),n.length));for(a=0;a1&&(s=fe(n,arguments[1]),s))throw s;return a=Ta(t),o=a.dtype||"",v={ref:t,dtype:o,getter:Ba(t),setter:ja(t),preSetElement:Va(o),postGetArray:xa(e,n),cache:n.cache,strict:n.strict,validator:Pa(o),ndarray2fancy:e,ctor:new ve(t.constructor||Da,{construct:ka(e,n)}),prop2slice:Ua(a.shape.length)},new ve(t,{get:Fa(v),set:Ga(v)})}return console.warn("WARNING: Proxy objects are not supported in the current environment. Some fancy functionality may not be available."),t}}pe.exports=Xa +var Na=require('@stdlib/assert-is-ndarray-like/dist'),ve=require('@stdlib/proxy-ctor/dist'),Da=require('@stdlib/ndarray-ctor/dist'),Ta=require('@stdlib/ndarray-base-ndarraylike2object/dist'),Ca=require('@stdlib/object-assign/dist'),La=require('@stdlib/error-tools-fmtprodmsg/dist'),Ma=k(),Va=j(),xa=G(),Oa=Q(),fe=Y(),Pa=K(),Ua=hr(),ka=wr(),Ba=Dr(),ja=Vr(),Fa=Kr(),Ga=le();function Xa(){var r,i;if(r=Oa(),arguments.length&&(i=fe(r,arguments[0]),i))throw i;return e;function e(t){var n,s,a,o,v;if(!Na(t))throw new TypeError(La('2574f',t));if(Ma){if(n=Ca({},r),arguments.length>1&&(s=fe(n,arguments[1]),s))throw s;return a=Ta(t),o=a.dtype||"",v={ref:t,dtype:o,getter:Ba(t),setter:ja(t),preSetElement:Va(o),postGetArray:xa(e,n),cache:n.cache,strict:n.strict,validator:Pa(o),ndarray2fancy:e,ctor:new ve(t.constructor||Da,{construct:ka(e,n)}),prop2slice:Ua(a.shape.length)},new ve(t,{get:Fa(v),set:Ga(v)})}return console.warn("WARNING: Proxy objects are not supported in the current environment. Some fancy functionality may not be available."),t}}pe.exports=Xa });var qe=u(function(kn,de){ var Qa=O(),Wa=Qa();de.exports=Wa });var ye=require('@stdlib/utils-define-nonenumerable-read-only-property/dist'),za=require('@stdlib/ndarray-index/dist'),P=qe(),Ya=O();ye(P,"factory",Ya);ye(P,"idx",za);module.exports=P;