Home
last modified time | relevance | path

Searched refs:shape_Z (Results 1 – 17 of 17) sorted by relevance

/dports/lang/gnu-apl/apl-1.8/src/
H A DBif_OPER1_REDUCE.cc78 Shape shape_Z(shape_B); in replicate() local
79 shape_Z.set_shape_item(axis, len_Z); in replicate()
81 Value_P Z(shape_Z, LOC); in replicate()
228 Shape shape_Z = B->get_shape(); in reduce_n_wise() local
229 shape_Z.set_shape_item(axis, 0); in reduce_n_wise()
230 Value_P Z(shape_Z, LOC); in reduce_n_wise()
236 Shape shape_Z(B->get_shape()); in reduce_n_wise() local
237 shape_Z.set_shape_item(axis, shape_Z.get_shape_item(axis) - n_wise + 1); in reduce_n_wise()
242 const Shape3 Z3(shape_Z, axis); in reduce_n_wise()
247 Value_P vsh_Z(LOC, &shape_Z); in reduce_n_wise()
[all …]
H A DPrimitiveFunction.cc368 shape_Z.set_shape_item(axis, shape_Z.get_shape_item(axis) + 1); in prepend_scalar()
394 shape_Z.set_shape_item(axis, shape_Z.get_shape_item(axis) + 1); in prepend_scalar()
421 shape_Z.set_shape_item(axis, shape_Z.get_shape_item(axis) + 1); in append_scalar()
440 shape_Z.set_shape_item(axis, shape_Z.get_shape_item(axis) + 1); in append_scalar()
584 Shape shape_Z; in catenate() local
753 Shape shape_Z; in ravel_axis() local
962 Shape shape_Z; in eval_AB() local
1023 Shape shape_Z; in eval_fill_AB() local
1217 Shape shape_Z; in transpose_diag() local
1811 Shape shape_Z; in enclose_with_axes() local
[all …]
H A DBif_OPER2_RANK.cc71 if (shape_Z.is_empty()) in do_LyXB()
89 Value_P vsh_Z(shape_Z.get_rank(), LOC); in do_LyXB()
90 loop(sh, shape_Z.get_rank()) in do_LyXB()
91 new (vsh_Z->next_ravel()) IntCell(shape_Z.get_shape_item(sh)); in do_LyXB()
153 const Shape shape_Z = rk_B_frame ? B->get_shape().high_shape(rk_B_frame) in do_ALyXB() local
162 if (shape_Z.is_empty()) in do_ALyXB()
166 Shape shape_Z; in do_ALyXB() local
168 if (A->is_empty()) shape_Z = A->get_shape(); in do_ALyXB()
171 if (B->is_empty()) shape_Z = B->get_shape(); in do_ALyXB()
176 Value_P Z(shape_Z, LOC); in do_ALyXB()
[all …]
H A DBif_OPER1_SCAN.cc65 Shape shape_Z(shape_B); in expand() local
66 shape_Z.set_shape_item(axis, ec_A); in expand()
67 Value_P Z(shape_Z, LOC); in expand()
78 const Shape3 shape_Z3(shape_Z, axis); in expand()
147 const Shape shape_Z = B->get_shape().without_axis(axis); in scan() local
148 return Bif_F12_RHO::do_reshape(shape_Z, *B); in scan()
H A DBif_F12_FORMAT.cc56 Shape shape_Z(rows, cols); in eval_B() local
57 Value_P Z(shape_Z, LOC); in eval_B()
86 Shape shape_Z(B->get_shape()); in eval_B() local
89 Z->set_shape(shape_Z); in eval_B()
263 Shape shape_Z(B->get_shape()); in format_by_example() local
267 Value_P Z(shape_Z, LOC); in format_by_example()
906 shape_Z.add_shape_item(W); in format_by_specification()
909 Value_P Z(shape_Z, LOC); in format_by_specification()
950 Shape shape_Z(shape_B); in format_by_specification() local
951 shape_Z.set_last_shape_item(pb_w); in format_by_specification()
[all …]
H A DPrimitiveOperator.cc28 PrimitiveOperator::fill(const Shape shape_Z, Value_P A, Function * fun, in fill() argument
45 Value_P Z1(shape_Z, LOC); // shape_Z is empty in fill()
H A DQuad_CR.cc152 Shape shape_Z; in eval_B() local
153 shape_Z.add_shape_item(tlines.size()); in eval_B()
154 shape_Z.add_shape_item(max_len); in eval_B()
156 Value_P Z(shape_Z, LOC); in eval_B()
288 Shape shape_Z(B.get_shape()); in do_CR5_6() local
291 shape_Z.add_shape_item(2); in do_CR5_6()
298 Value_P Z(shape_Z, LOC); in do_CR5_6()
835 Shape shape_Z(B.get_shape()); in do_CR13() local
838 Value_P Z(shape_Z, LOC); in do_CR13()
1169 Shape shape_Z(B.get_shape() + conformed); in do_CR30() local
[all …]
H A DBif_OPER1_EACH.cc58 Shape shape_Z; in eval_ALB() local
60 if (A->is_empty()) shape_Z = A->get_shape(); in eval_ALB()
63 if (B->is_empty()) shape_Z = B->get_shape(); in eval_ALB()
69 Value_P Z(shape_Z, LOC); in eval_ALB()
H A DScalarFunction.cc347 const Shape * shape_Z = 0; in do_scalar_AB() local
348 if (A->is_scalar()) shape_Z = &B->get_shape(); in do_scalar_AB()
349 else if (B->is_scalar()) shape_Z = &A->get_shape(); in do_scalar_AB()
350 else if (inc_A == 0) shape_Z = &B->get_shape(); in do_scalar_AB()
351 else if (inc_B == 0) shape_Z = &A->get_shape(); in do_scalar_AB()
352 else if (A->same_shape(*B)) shape_Z = &B->get_shape(); in do_scalar_AB()
360 const ShapeItem len_Z = shape_Z->get_volume(); in do_scalar_AB()
363 Value_P Z(*shape_Z, LOC); in do_scalar_AB()
762 const Shape shape_Z = B->get_shape().without_axis(axis); in eval_scalar_identity_fun()
764 Value_P Z(shape_Z, LOC); in eval_scalar_identity_fun()
H A DBif_F12_TAKE_DROP.cc166 Shape shape_Z; in eval_AB() local
167 loop(r, ravel_A.get_rank()) shape_Z.add_shape_item(len_Z); in eval_AB()
169 Value_P Z(shape_Z, LOC); in eval_AB()
H A DPrimitiveOperator.hh49 static Token fill(const Shape shape_Z, Value_P A, Function * fun,
H A DBif_OPER2_INNER.cc78 const Shape shape_Z = shape_A1 + shape_B1; in eval_ALRB() local
79 return fill(shape_Z, A, RO, B, LOC); in eval_ALRB()
H A DBif_OPER1_REDUCE.hh37 static Token do_reduce(const Shape & shape_Z, const Shape3 & Z3, ShapeItem a,
H A DValue.cc1093 Shape shape_Z; in index() local
1102 shape_Z.add_shape_item(I->get_shape_item(s)); in index()
1106 shape_Z.add_shape_item(this->get_shape_item(this_r)); in index()
1119 Value_P Z(shape_Z, LOC); in index()
1165 const Shape shape_Z(X->get_shape()); in index() local
1166 Value_P Z(shape_Z, LOC); in index()
H A DQuad_DLX.cc699 const Shape shape_Z(rows, cols_Z); in preset() local
700 Value_P Z(shape_Z, LOC); in preset()
H A DQuadFunction.cc142 Shape shape_Z(rows); in eval_AB() local
143 shape_Z.add_shape_item(mode_len); in eval_AB()
145 Value_P Z(shape_Z, LOC); in eval_AB()
H A DQuad_FIO.cc1376 Shape shape_Z(entries.size()); in eval_XB() local
1379 shape_Z.add_shape_item(5); in eval_XB()
1382 Value_P Z(shape_Z, LOC); in eval_XB()