/dports/science/madness/madness-ebb3fd7/src/examples/ |
H A D | test_gmres.cc | 61 outvec[0] = 1.0*invec[0] + 0.0*invec[1] + 0.0*invec[2]; in action() 62 outvec[1] = 0.0*invec[0] + 1.0*invec[1] + 0.0*invec[2]; in action() 63 outvec[2] = 0.0*invec[0] + 0.0*invec[1] + 1.0*invec[2]; in action() 73 outvec[0] = 1.0*invec[0] + 0.0*invec[1] + 1.0*invec[2]; in action() 74 outvec[1] = 3.0*invec[0] + 1.0*invec[1] + 0.0*invec[2]; in action() 75 outvec[2] = 2.0*invec[0] + 1.0*invec[1] + 1.0*invec[2]; in action() 85 outvec = invec; in action() 126 outvec = b * invec; in action() 127 invec.compress(); in action() 154 outvec = b * invec; in action() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/icb/common/ |
H A D | px_capri_maths_pc.h | 165 outvec->vx = (m->m[0][0] * invec->vx + m->m[0][1] * invec->vy + m->m[0][2] * invec->vz) / ONE_PC; in myApplyMatrixLV_pc() 166 outvec->vy = (m->m[1][0] * invec->vx + m->m[1][1] * invec->vy + m->m[1][2] * invec->vz) / ONE_PC; in myApplyMatrixLV_pc() 167 outvec->vz = (m->m[2][0] * invec->vx + m->m[2][1] * invec->vy + m->m[2][2] * invec->vz) / ONE_PC; in myApplyMatrixLV_pc() 173 …outvec->vx = (int)((m->m[0][0] * invec->vx + m->m[0][1] * invec->vy + m->m[0][2] * invec->vz) / ON… in myApplyMatrixSV_pc() 174 …outvec->vy = (int)((m->m[1][0] * invec->vx + m->m[1][1] * invec->vy + m->m[1][2] * invec->vz) / ON… in myApplyMatrixSV_pc() 175 …outvec->vz = (int)((m->m[2][0] * invec->vx + m->m[2][1] * invec->vy + m->m[2][2] * invec->vz) / ON… in myApplyMatrixSV_pc() 181 …outvec->vx = (int)((m->m[0][0] * (int)invec->vx + m->m[0][1] * (int)invec->vy + m->m[0][2] * (int)… in myApplyMatrixSV_pc() 182 …outvec->vy = (int)((m->m[1][0] * (int)invec->vx + m->m[1][1] * (int)invec->vy + m->m[1][2] * (int)… in myApplyMatrixSV_pc() 183 …outvec->vz = (int)((m->m[2][0] * (int)invec->vx + m->m[2][1] * (int)invec->vy + m->m[2][2] * (int)… in myApplyMatrixSV_pc() 231 …outvec->vx = ((gterot_pc->m[0][0] * invec->vx + gterot_pc->m[0][1] * invec->vy + gterot_pc->m[0][2… in mygte_ApplyRotMatrix_pc() [all …]
|
H A D | px_capri_maths.h | 128 inline void mygte_ApplyRotMatrix(SVECTOR *invec, VECTOR *outvec); 149 …outvec->vx = ((int)m->m[0][0] * invec->vx + (int)m->m[0][1] * invec->vy + (int)m->m[0][2] * invec-… in myApplyMatrixLV() 150 …outvec->vy = ((int)m->m[1][0] * invec->vx + (int)m->m[1][1] * invec->vy + (int)m->m[1][2] * invec-… in myApplyMatrixLV() 151 …outvec->vz = ((int)m->m[2][0] * invec->vx + (int)m->m[2][1] * invec->vy + (int)m->m[2][2] * invec-… in myApplyMatrixLV() 155 …outvec->vx = (int16)(((int)m->m[0][0] * invec->vx + (int)m->m[0][1] * invec->vy + (int)m->m[0][2] … in myApplyMatrixSV() 156 …outvec->vy = (int16)(((int)m->m[1][0] * invec->vx + (int)m->m[1][1] * invec->vy + (int)m->m[1][2] … in myApplyMatrixSV() 157 …outvec->vz = (int16)(((int)m->m[2][0] * invec->vx + (int)m->m[2][1] * invec->vy + (int)m->m[2][2] … in myApplyMatrixSV() 196 inline void mygte_ApplyRotMatrix(SVECTOR *invec, VECTOR *outvec) { in mygte_ApplyRotMatrix() argument 197 …x = (((int)gterot->m[0][0] * (int)invec->vx + (int)gterot->m[0][1] * (int)invec->vy + (int)gterot-… in mygte_ApplyRotMatrix() 198 …y = (((int)gterot->m[1][0] * (int)invec->vx + (int)gterot->m[1][1] * (int)invec->vy + (int)gterot-… in mygte_ApplyRotMatrix() [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/pynumero/src/ |
H A D | AmplInterface.cpp | 222 invec[i] = LUv[2 * i]; 232 invec[i] = LUv[2 * i + 1]; 241 invec[i] = LUrhs[2 * i]; 251 invec[i] = LUrhs[2 * i + 1]; 262 invec[i] = X0[i]; 264 invec[i] = 0.0; 280 invec[i] = pi0[i]; 282 invec[i] = 0.0; 492 p_ai->get_lower_bounds_x(invec, n); 516 p_ai->get_init_x(invec, n); [all …]
|
H A D | AmplInterface.hpp | 54 void get_lower_bounds_x(double *invec, int n); 57 void get_upper_bounds_x(double *invec, int n); 60 void get_lower_bounds_g(double *invec, int m); 63 void get_upper_bounds_g(double *invec, int m); 66 void get_init_x(double *invec, int n); 69 void get_init_multipliers(double *invec, int n);
|
/dports/games/scummvm/scummvm-2.5.1/engines/icb/ |
H A D | non_ad_module.cpp | 32 inline void pcApplyMatrixLV(MATRIX *m, VECTOR *invec, VECTOR *outvec) { in pcApplyMatrixLV() argument 33 …outvec->vx = ((int32)m->m[0][0] * invec->vx + (int32)m->m[0][1] * invec->vy + (int32)m->m[0][2] * … in pcApplyMatrixLV() 34 …outvec->vy = ((int32)m->m[1][0] * invec->vx + (int32)m->m[1][1] * invec->vy + (int32)m->m[1][2] * … in pcApplyMatrixLV() 35 …outvec->vz = ((int32)m->m[2][0] * invec->vx + (int32)m->m[2][1] * invec->vy + (int32)m->m[2][2] * … in pcApplyMatrixLV()
|
/dports/net/mpich2/mpich2-1.5/src/armci/src/ |
H A D | message_gop.c | 42 ABSMIN(invec, inoutvec, count, int, IABS); in ARMCII_Absmin_op() 44 ABSMIN(invec, inoutvec, count, long, IABS); in ARMCII_Absmin_op() 48 ABSMIN(invec, inoutvec, count, float, FABS); in ARMCII_Absmin_op() 50 ABSMIN(invec, inoutvec, count, double, FABS); in ARMCII_Absmin_op() 78 ABSMAX(invec, inoutvec, count, int, IABS); in ARMCII_Absmax_op() 80 ABSMAX(invec, inoutvec, count, long, IABS); in ARMCII_Absmax_op() 84 ABSMAX(invec, inoutvec, count, float, FABS); in ARMCII_Absmax_op() 111 ABSV(invec, inoutvec, count, int, IABS); in ARMCII_Absv_op() 113 ABSV(invec, inoutvec, count, long, IABS); in ARMCII_Absv_op() 117 ABSV(invec, inoutvec, count, float, FABS); in ARMCII_Absv_op() [all …]
|
/dports/math/ideep/ideep-2.0.0-119-gb57539e/dlcp/src/ |
H A D | dl_compression_impl.hpp | 52 void dl_comp_float_vector_add(const float *invec, float *inoutvec, size_t count); 54 void dl_comp_avx512_float_vector_add(const float *invec, float *inoutvec, size_t count); 56 void dl_comp_int8_vector_add(const int8_t *invec, int8_t *inoutvec, size_t count); 58 void dl_comp_avx512_int8_vector_add(const int8_t *invec, int8_t *inoutvec, size_t count); 78 …virtual dl_comp_return_t compress_sum2(const int8_t *invec, int8_t *inoutvec, size_t blockCount) =… 100 … virtual dl_comp_return_t compress_sum2(const int8_t *invec, int8_t *inoutvec, size_t blockCount); 107 static dl_comp_return_t compress_block_sum(const int8_t *invec, int8_t *inoutvec); 110 static dl_comp_return_t compress_block_sum2(const int8_t *invec, int8_t *inoutvec);
|
H A D | dl_compression_impl.cpp | 360 decompress_buffer(invec, deqBuf1, 1); 385 ret = compress_block_sum(invec, inoutvec); in compress_sum2() 404 dl_comp_head *inHead = (dl_comp_head *)invec; in compress_block_sum() 444 invec += sizeof(dl_comp_head); in compress_block_sum() 451 left = invec[i] >> inScaleGap; in compress_block_sum() 484 dl_comp_head *inHead = (dl_comp_head *)invec; in compress_block_sum2() 496 return compress_block_sum(invec, inoutvec); in compress_block_sum2() 530 invec += sizeof(dl_comp_head); in compress_block_sum2() 534 const int8_t *i8_left = invec + i; in compress_block_sum2() 661 inoutvec[i] += invec[i]; in dl_comp_float_vector_add() [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/pynumero/ |
H A D | asl.py | 247 def get_x_lower_bounds(self, invec): argument 248 self.ASLib.EXTERNAL_AmplInterface_x_lower_bounds(self._obj, invec, len(invec)) 250 def get_x_upper_bounds(self, invec): argument 251 self.ASLib.EXTERNAL_AmplInterface_x_upper_bounds(self._obj, invec, len(invec)) 253 def get_g_lower_bounds(self, invec): argument 254 self.ASLib.EXTERNAL_AmplInterface_g_lower_bounds(self._obj, invec, len(invec)) 256 def get_g_upper_bounds(self, invec): argument 257 self.ASLib.EXTERNAL_AmplInterface_g_upper_bounds(self._obj, invec, len(invec)) 259 def get_init_x(self, invec): argument 260 self.ASLib.EXTERNAL_AmplInterface_get_init_x(self._obj, invec, len(invec)) [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/ptaylor/ |
H A D | 3dVecRGB_to_HSL.c | 93 char *invec=NULL; // e.g., V1 from DT fit in main() local 135 invec = strdup(argv[iarg]) ; in main() 178 if(!invec) in main() 185 VEC = THD_open_dataset(invec); in main() 189 invec); in main() 194 invec, Dim[3]); in main() 260 if( Basic_compare_DSET_dims( SCAL, VEC, 3, inscal, invec) ) { in main() 262 "matching dimensions!", inscal, invec); in main() 281 if( invec ) { in main() 341 free(invec); in main()
|
/dports/www/squid/squid-4.15/lib/rfcnb/ |
H A D | rfcnb-io.c | 71 struct sigvec invec, outvec; in RFCNB_Set_Timeout() local 81 invec.sv_handler = (void (*)()) rfcnb_alarm; in RFCNB_Set_Timeout() 82 invec.sv_mask = 0; in RFCNB_Set_Timeout() 83 invec.sv_flags = SV_INTERRUPT; in RFCNB_Set_Timeout() 85 if (sigvec(SIGALRM, &invec, &outvec) < 0) in RFCNB_Set_Timeout() 110 struct sigvec invec, outvec; in RFCNB_Set_Timeout() 125 invec.sv_handler = (void (*)()) rfcnb_alarm; in RFCNB_Set_Timeout() 126 invec.sv_mask = 0; in RFCNB_Set_Timeout() 127 invec.sv_flags = SV_INTERRUPT; in RFCNB_Set_Timeout() 129 if (sigvec(SIGALRM, &invec, &outvec) < 0) in RFCNB_Set_Timeout()
|
/dports/net/mpich/mpich-3.4.3/test/mpi/coll/ |
H A D | allgather3.c | 16 double *vecout, *invec; in main() local 32 invec = (double *) malloc(count * sizeof(double)); in main() 36 invec[i] = rank * count + i; in main() 38 MPI_Allgather(invec, count, MPI_DOUBLE, vecout, count, MPI_DOUBLE, comm); in main() 47 free(invec); in main()
|
H A D | scantst.c | 13 void addem(int *invec, int *inoutvec, int *len, MPI_Datatype * dtype) in addem() argument 17 inoutvec[i] += invec[i]; in addem() 29 void assoc(int *invec, int *inoutvec, int *len, MPI_Datatype * dtype) in assoc() argument 33 if (inoutvec[i] <= invec[i]) { in assoc() 36 fprintf(stderr, "[%d] inout[0] = %d, in[0] = %d\n", rank, inoutvec[0], invec[0]); in assoc() 39 inoutvec[i] = invec[i]; in assoc()
|
H A D | allgatherv3.c | 17 double *vecout, *invec; in main() local 37 invec = (double *) malloc(count * sizeof(double)); in main() 41 invec[i] = rank * count + i; in main() 47 MPI_Allgatherv(invec, count, MPI_DOUBLE, vecout, recvcounts, displs, MPI_DOUBLE, comm); in main() 56 free(invec); in main()
|
H A D | coll10.c | 21 int assoc(int *invec, int *inoutvec, int *len, MPI_Datatype * dtype) in assoc() argument 25 if (inoutvec[i] <= invec[i]) { in assoc() 28 fprintf(stderr, "[%d] inout[0] = %d, in[0] = %d\n", rank, inoutvec[0], invec[0]); in assoc() 31 inoutvec[i] = invec[i]; in assoc()
|
/dports/net/mpich2/mpich2-1.5/test/mpi/coll/ |
H A D | allgather3.c | 17 double *vecout, *invec; in main() local 32 invec = (double *)malloc( count * sizeof(double) ); in main() 36 invec[i] = rank*count+i; in main() 38 MPI_Allgather( invec, count, MPI_DOUBLE, in main() 49 free( invec ); in main()
|
H A D | coll11.c | 13 void addem(int *invec, int *inoutvec, int *len, MPI_Datatype *dtype) in addem() argument 17 inoutvec[i] += invec[i]; in addem() 29 void assoc(int *invec, int *inoutvec, int *len, MPI_Datatype *dtype) in assoc() argument 33 if (inoutvec[i] <= invec[i] ) { in assoc() 37 rank, inoutvec[0], invec[0] ); in assoc() 41 inoutvec[i] = invec[i]; in assoc()
|
H A D | allgatherv3.c | 19 double *vecout, *invec; in main() local 38 invec = (double *)malloc( count * sizeof(double) ); in main() 42 invec[i] = rank*count+i; in main() 48 MPI_Allgatherv( invec, count, MPI_DOUBLE, in main() 59 free( invec ); in main()
|
H A D | scantst.c | 12 void addem( int *invec, int *inoutvec, int *len, MPI_Datatype *dtype) in addem() argument 16 inoutvec[i] += invec[i]; in addem() 28 void assoc( int *invec, int *inoutvec, int *len, MPI_Datatype *dtype) in assoc() argument 32 if (inoutvec[i] <= invec[i] ) { in assoc() 36 rank, inoutvec[0], invec[0] ); in assoc() 40 inoutvec[i] = invec[i]; in assoc()
|
H A D | coll10.c | 21 int assoc(int *invec, int *inoutvec, int *len, MPI_Datatype *dtype) in assoc() argument 25 if (inoutvec[i] <= invec[i] ) { in assoc() 29 rank, inoutvec[0], invec[0] ); in assoc() 33 inoutvec[i] = invec[i]; in assoc()
|
/dports/net/openmpi3/openmpi-3.1.6/ompi/mca/coll/fca/ |
H A D | coll_fca_convertor.h | 70 struct iovec invec; in mca_coll_fca_convertor_process() local 75 invec.iov_base = (char*)conv->buf + offset; in mca_coll_fca_convertor_process() 76 invec.iov_len = conv->size; in mca_coll_fca_convertor_process() 80 return FCA_CONVERTOR_CONVERTOR_PACK(&conv->ompic, &invec, &iov_count, &size); in mca_coll_fca_convertor_process() 82 return FCA_CONVERTOR_CONVERTOR_UNPACK(&conv->ompic, &invec, &iov_count, &size); in mca_coll_fca_convertor_process()
|
/dports/net/openmpi/openmpi-4.1.1/ompi/mca/coll/fca/ |
H A D | coll_fca_convertor.h | 70 struct iovec invec; in mca_coll_fca_convertor_process() local 75 invec.iov_base = (char*)conv->buf + offset; in mca_coll_fca_convertor_process() 76 invec.iov_len = conv->size; in mca_coll_fca_convertor_process() 80 return FCA_CONVERTOR_CONVERTOR_PACK(&conv->ompic, &invec, &iov_count, &size); in mca_coll_fca_convertor_process() 82 return FCA_CONVERTOR_CONVERTOR_UNPACK(&conv->ompic, &invec, &iov_count, &size); in mca_coll_fca_convertor_process()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/base/ |
H A D | operation.cc | 283 VipsImage* invec[100]; in build() local 287 invec[n] = in[i]; in build() 306 "in0", invec[0], NULL ); in build() 311 "in0", invec[0], "in1", invec[1], NULL ); in build() 316 "in0", invec[0], "in1", invec[1], in build() 317 "in2", invec[2], NULL ); in build() 322 "in0", invec[0], "in1", invec[1], in build() 323 "in2", invec[2], "in3", invec[3], NULL ); in build() 333 std::cout<<" "<<(void*)invec[i]<<" ref_count="<<G_OBJECT( invec[i] )->ref_count<<std::endl; in build() 560 VipsImage* invec[2] = {in, NULL}; in vips_copy_metadata() local [all …]
|
/dports/net/openmpi3/openmpi-3.1.6/ompi/mpi/c/ |
H A D | pack.c | 50 struct iovec invec; in MPI_Pack() local 93 invec.iov_base = (char*) outbuf + (*position); in MPI_Pack() 94 invec.iov_len = size; in MPI_Pack() 98 ret = opal_convertor_pack( &local_convertor, &invec, &iov_count, &size ); in MPI_Pack()
|