Home
last modified time | relevance | path

Searched refs:subscripts (Results 1 – 25 of 3539) sorted by relevance

12345678910>>...142

/dports/devel/py-dask/dask-2021.11.2/dask/array/
H A Deinsumfuncs.py12 subscripts = kwargs.pop("subscripts")
59 for s in subscripts:
75 subscripts = ""
89 subscripts += ","
92 subscripts += "->"
104 if ("-" in subscripts) or (">" in subscripts):
105 invalid = (subscripts.count("-") > 1) or (subscripts.count(">") > 1)
110 if "." in subscripts:
116 if "->" in subscripts:
169 if "->" in subscripts:
[all …]
/dports/textproc/chpp/chpp-0.3.5/
H A Dinternals.c52 assert(subscripts == 0); in internalSetMetaChar()
61 assert(subscripts == 0); in internalGetMetaChar()
69 assert(subscripts == 0); in internalSetQuoteChar()
78 assert(subscripts == 0); in internalGetQuoteChar()
86 assert(subscripts == 0); in internalSetOutputenabled()
94 assert(subscripts == 0); in internalGetOutputenabled()
109 assert(subscripts == 0); in internalGetDependencing()
124 assert(subscripts == 0); in internalGetMainfilename()
132 if (subscripts == 0) in internalGetEnv()
153 && subscripts->next == 0); in internalGetEnv()
[all …]
/dports/math/py-opt-einsum/opt_einsum-3.3.0/opt_einsum/
H A Dparser.py122 def find_output_str(subscripts): argument
137 tmp_subscripts = subscripts.replace(",", "")
240 subscripts += "->"
243 return subscripts, operands
283 if ("-" in subscripts) or (">" in subscripts):
284 invalid = (subscripts.count("-") > 1) or (subscripts.count(">") > 1)
289 if "." in subscripts:
295 if "->" in subscripts:
324 subscripts = ",".join(split_subscripts)
342 if "->" in subscripts:
[all …]
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/math/
H A Deinsum.py12 def _enumerate_axes(subscripts): argument
13 if '@' in subscripts:
36 subscripts = '{}->{}'.format(
265 for s in subscripts:
272 if ('-' in subscripts) or ('>' in subscripts):
281 subscripts = subscripts.replace('...', '@')
282 if '.' in subscripts:
295 subscripts = ''
307 subscripts += ','
310 subscripts += '->'
[all …]
/dports/math/octave-forge-nnet/nnet/doc/latex/developers/
H A Dvarietes.tex18 subscripts.type = '.'\\
27 subscripts(1).type = '.'\\
29 subscripts(2).type = '()'\\
30 subscripts(2).subs = [1] [1]
39 subscripts(1).type = '.'\\
48 subscripts(1).type = '.'\\
50 subscripts(2).type = '()'\\
51 subscripts(2).subs = '[2]'
59 subscripts(1).type = '.'\\
61 subscripts(2).type = '()'\\
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/volume_io/Include/volume_io/
H A Dmultidim.h59 #define SET_ONE( array, type, asterisks, subscripts, value ) \ argument
60 (((type asterisks) ((array).data)) subscripts = (type) (value))
62 #define SET_GIVEN_DIM( array, asterisks, subscripts, value ) \ argument
69 SET_ONE( array, signed char, asterisks, subscripts, value);\
81 SET_ONE( array, signed int, asterisks, subscripts, value);\
84 SET_ONE( array, float, asterisks, subscripts, value);\
88 SET_ONE( array, double, asterisks, subscripts, value);\
156 #define GET_ONE( value, vtype, array, type, asterisks, subscripts ) \ argument
223 #define GET_ONE_PTR( ptr, array, type, asterisks, subscripts ) \ argument
226 #define GET_GIVEN_DIM_PTR( ptr, array, asterisks, subscripts ) \ argument
[all …]
/dports/science/minc2/minc-release-2.2.00/volume_io/Include/volume_io/
H A Dmultidim.h59 #define SET_ONE( array, type, asterisks, subscripts, value ) \ argument
60 (((type asterisks) ((array).data)) subscripts = (type) (value))
62 #define SET_GIVEN_DIM( array, asterisks, subscripts, value ) \ argument
69 SET_ONE( array, signed char, asterisks, subscripts, value);\
81 SET_ONE( array, signed int, asterisks, subscripts, value);\
84 SET_ONE( array, float, asterisks, subscripts, value);\
87 SET_ONE( array, double, asterisks, subscripts, value);\
154 #define GET_ONE( value, vtype, array, type, asterisks, subscripts ) \ argument
219 #define GET_ONE_PTR( ptr, array, type, asterisks, subscripts ) \ argument
222 #define GET_GIVEN_DIM_PTR( ptr, array, asterisks, subscripts ) \ argument
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/c-interop/
H A Dcf-descriptor-8-c.c26 CFI_index_t subscripts[2]; in ctest() local
39 subscripts[0] = a->dim[0].extent; in ctest()
40 subscripts[1] = a->dim[1].extent; in ctest()
44 sizeof (struct m), 2, subscripts)); in ctest()
53 subscripts[0] = a->dim[0].lower_bound; in ctest()
54 subscripts[1] = a->dim[1].lower_bound; in ctest()
56 CFI_setpointer (b, a, subscripts)); in ctest()
58 ftest1 (b, (int)subscripts[0], (int)subscripts[1]); in ctest()
61 subscripts[0] = 42; in ctest()
62 subscripts[1] = -69; in ctest()
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/numpy/
H A Dnp_einsum_op.cc58 auto end_pos = std::remove(subscripts.begin(), subscripts.end(), ' '); in _parse_einsum_input()
59 subscripts.erase(end_pos, subscripts.end()); in _parse_einsum_input()
62 for (const char& c : subscripts) { in _parse_einsum_input()
74 bool invalid = (std::count(subscripts.begin(), subscripts.end(), '-') > 1 || in _parse_einsum_input()
75 std::count(subscripts.begin(), subscripts.end(), '>') > 1); in _parse_einsum_input()
82 std::string used = subscripts; in _parse_einsum_input()
115 subscripts = ""; in _parse_einsum_input()
148 subscripts += ","; in _parse_einsum_input()
188 ret = split(subscripts, "->"); in _parse_einsum_input()
190 ret[0] = subscripts; in _parse_einsum_input()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/numpy/
H A Dnp_einsum_op.cc58 auto end_pos = std::remove(subscripts.begin(), subscripts.end(), ' '); in _parse_einsum_input()
59 subscripts.erase(end_pos, subscripts.end()); in _parse_einsum_input()
62 for (const char& c : subscripts) { in _parse_einsum_input()
74 bool invalid = (std::count(subscripts.begin(), subscripts.end(), '-') > 1 || in _parse_einsum_input()
75 std::count(subscripts.begin(), subscripts.end(), '>') > 1); in _parse_einsum_input()
82 std::string used = subscripts; in _parse_einsum_input()
115 subscripts = ""; in _parse_einsum_input()
148 subscripts += ","; in _parse_einsum_input()
188 ret = split(subscripts, "->"); in _parse_einsum_input()
190 ret[0] = subscripts; in _parse_einsum_input()
[all …]
/dports/lang/abcl/abcl-src-1.8.0/src/org/armedbear/lisp/
H A Darrays.lisp63 (defun array-row-major-index (array &rest subscripts)
64 (%array-row-major-index array subscripts))
66 (defun bit (bit-array &rest subscripts)
69 (defun sbit (simple-bit-array &rest subscripts)
71 (%array-row-major-index simple-bit-array subscripts)))
79 (defun (setf aref) (new-value array &rest subscripts)
80 (aset array (%array-row-major-index array subscripts) new-value))
83 (defun (setf bit) (new-value array &rest subscripts)
84 (aset array (%array-row-major-index array subscripts) new-value))
87 (defun (setf sbit) (new-value array &rest subscripts)
[all …]
H A DSimpleArray_UnsignedByte8.java216 public int getRowMajorIndex(int[] subscripts) in getRowMajorIndex() argument
219 if (rank != subscripts.length) { in getRowMajorIndex()
221 sb.append(subscripts.length); in getRowMajorIndex()
233 int n = subscripts[i]; in getRowMajorIndex()
248 public LispObject get(int[] subscripts) in get() argument
326 int[] subscripts = new int[a1.getRank()]; in copyArray() local
328 copySubArray(a1, a2, subscripts, axis); in copyArray()
335 if (axis < subscripts.length) { in copySubArray()
339 subscripts[axis] = i; in copySubArray()
343 int i1 = a1.getRowMajorIndex(subscripts); in copySubArray()
[all …]
H A DSimpleArray_T.java251 public int getRowMajorIndex(int[] subscripts) in getRowMajorIndex() argument
254 if (rank != subscripts.length) in getRowMajorIndex()
257 sb.append(subscripts.length); in getRowMajorIndex()
270 int n = subscripts[i]; in getRowMajorIndex()
286 public LispObject get(int[] subscripts) in get() argument
355 int[] subscripts = new int[a1.getRank()]; in copyArray() local
357 copySubArray(a1, a2, subscripts, axis); in copyArray()
364 if (axis < subscripts.length) in copySubArray()
370 subscripts[axis] = i; in copySubArray()
376 int i1 = a1.getRowMajorIndex(subscripts); in copySubArray()
[all …]
H A DSimpleArray_UnsignedByte16.java229 public int getRowMajorIndex(int[] subscripts) in getRowMajorIndex() argument
232 if (rank != subscripts.length) { in getRowMajorIndex()
234 sb.append(subscripts.length); in getRowMajorIndex()
246 int n = subscripts[i]; in getRowMajorIndex()
261 public LispObject get(int[] subscripts) in get() argument
273 public void set(int[] subscripts, LispObject obj) in set() argument
339 int[] subscripts = new int[a1.getRank()]; in copyArray() local
341 copySubArray(a1, a2, subscripts, axis); in copyArray()
348 if (axis < subscripts.length) { in copySubArray()
352 subscripts[axis] = i; in copySubArray()
[all …]
H A DSimpleArray_UnsignedByte32.java246 public int getRowMajorIndex(int[] subscripts) in getRowMajorIndex() argument
249 if (rank != subscripts.length) { in getRowMajorIndex()
251 sb.append(subscripts.length); in getRowMajorIndex()
263 int n = subscripts[i]; in getRowMajorIndex()
278 public LispObject get(int[] subscripts) in get() argument
353 int[] subscripts = new int[a1.getRank()]; in copyArray() local
355 copySubArray(a1, a2, subscripts, axis); in copyArray()
362 if (axis < subscripts.length) { in copySubArray()
366 subscripts[axis] = i; in copySubArray()
370 int i1 = a1.getRowMajorIndex(subscripts); in copySubArray()
[all …]
H A DSimpleArray_CharBuffer.java247 public int getRowMajorIndex(int[] subscripts) { in getRowMajorIndex() argument
249 if (rank != subscripts.length) { in getRowMajorIndex()
251 sb.append(subscripts.length); in getRowMajorIndex()
263 int n = subscripts[i]; in getRowMajorIndex()
278 public LispObject get(int[] subscripts) { in get() argument
347 int[] subscripts = new int[a1.getRank()]; in copyArray() local
349 copySubArray(a1, a2, subscripts, axis); in copyArray()
354 if (axis < subscripts.length) { in copySubArray()
358 subscripts[axis] = i; in copySubArray()
362 int i1 = a1.getRowMajorIndex(subscripts); in copySubArray()
[all …]
H A DSimpleArray_IntBuffer.java233 public int getRowMajorIndex(int[] subscripts) { in getRowMajorIndex() argument
235 if (rank != subscripts.length) { in getRowMajorIndex()
237 sb.append(subscripts.length); in getRowMajorIndex()
249 int n = subscripts[i]; in getRowMajorIndex()
264 public LispObject get(int[] subscripts) { in get() argument
334 int[] subscripts = new int[a1.getRank()]; in copyArray() local
336 copySubArray(a1, a2, subscripts, axis); in copyArray()
341 if (axis < subscripts.length) { in copySubArray()
345 subscripts[axis] = i; in copySubArray()
349 int i1 = a1.getRowMajorIndex(subscripts); in copySubArray()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/flang/runtime/
H A Ddescriptor-io.h24 const SubscriptValue subscripts[]) { in ExtractElement() argument
25 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
38 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
39 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
68 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
69 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
98 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
99 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
142 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
179 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/flang/runtime/
H A Ddescriptor-io.h24 const SubscriptValue subscripts[]) { in ExtractElement() argument
25 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
38 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
39 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
68 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
69 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
98 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
99 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
142 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
179 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/flang/runtime/
H A Ddescriptor-io.h24 const SubscriptValue subscripts[]) { in ExtractElement() argument
25 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
38 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
39 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
68 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
69 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
98 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
99 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
142 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
179 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/runtime/
H A Ddescriptor-io.h30 const SubscriptValue subscripts[]) { in ExtractElement() argument
31 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
49 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
50 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
79 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
80 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
109 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
110 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
153 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
190 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/runtime/
H A Ddescriptor-io.h30 const SubscriptValue subscripts[]) { in ExtractElement() argument
31 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
49 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
50 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
79 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
80 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
109 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
110 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
153 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
190 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/runtime/
H A Ddescriptor-io.h30 const SubscriptValue subscripts[]) { in ExtractElement() argument
31 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
49 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
50 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
79 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
80 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
109 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
110 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
153 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
190 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]
/dports/security/helib/HElib-1.3.1/include/helib/
H A DMatrix.h152 TensorSlice<N> subscripts;
167 subscripts{dims...}, in Tensor()
173 subscripts{std::size_t(dims)...}, in Tensor()
246 } else if (this->subscripts != rhs.subscripts) {
290 TensorSlice<2> ts(this->subscripts); in getRow()
304 TensorSlice<2> ts(this->subscripts); in getColumn()
450 num = (num % subscripts.lengths[1]) * subscripts.lengths[0] + in inPlaceTranspose()
451 num / subscripts.lengths[1]; in inPlaceTranspose()
508 std::reverse(subscripts.lengths.begin(), subscripts.lengths.end()); in inPlaceTranspose()
509 subscripts.strides.front() = subscripts.lengths.back(); in inPlaceTranspose()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/runtime/
H A Ddescriptor-io.h30 const SubscriptValue subscripts[]) { in ExtractElement() argument
31 A *p{descriptor.Element<A>(subscripts)}; in ExtractElement()
49 SubscriptValue subscripts[maxRank]; in FormattedIntegerIO() local
50 descriptor.GetLowerBounds(subscripts); in FormattedIntegerIO()
79 SubscriptValue subscripts[maxRank]; in FormattedRealIO() local
80 descriptor.GetLowerBounds(subscripts); in FormattedRealIO()
109 SubscriptValue subscripts[maxRank]; in FormattedComplexIO() local
110 descriptor.GetLowerBounds(subscripts); in FormattedComplexIO()
153 SubscriptValue subscripts[maxRank]; in FormattedCharacterIO() local
190 SubscriptValue subscripts[maxRank]; in FormattedLogicalIO() local
[all …]

12345678910>>...142