/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/boost-test/ |
H A D | tracelessCompositeTests.cpp | 33 ax1 = adtl::sin(ax1)*adtl::sin(ax1) + adtl::cos(ax1)*adtl::cos(ax1) + ax2; in BOOST_AUTO_TEST_CASE() 74 ax1 = adtl::pow(adtl::sin(ax1), adtl::cos(ax1) - ax2); in BOOST_AUTO_TEST_CASE() 97 ax1 = adtl::atan(adtl::tan(ax1))*adtl::exp(ax2); in BOOST_AUTO_TEST_CASE() 117 ax1 = std::pow(2., 10.)*ax1 + ax2 + std::sqrt(2.)*ax1 + (-3.5)*ax1 - 9.9*ax2 in BOOST_AUTO_TEST_CASE() 139 ax1 = adtl::sqrt(adtl::pow(ax1, 2.))*ax2; in BOOST_AUTO_TEST_CASE() 159 ax1 = adtl::exp(ax1 + adtl::exp(ax2))*pow(ax1, ax2); in BOOST_AUTO_TEST_CASE() 183 ax1 = adtl::sqrt(adtl::sqrt(ax1*adtl::exp(ax2))); in BOOST_AUTO_TEST_CASE() 295 ax1 = 5. * adtl::exp(adtl::sin(ax1)*adtl::cos(ax1)) in BOOST_AUTO_TEST_CASE() 353 ay2 = ax1*ax1; in BOOST_AUTO_TEST_CASE() 382 ay2 = ax1 + ax1; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/vector/diglib/ |
H A D | linecros.c | 55 #define D2 ((ax2-ax1)*(by1-ay1) - (ay2-ay1)*(bx1-ax1)) 66 if (ax1 > ax2 || (ax1 == ax2 && ay1 > ay2)) { in dig_test_for_intersection() 67 t = ax1; in dig_test_for_intersection() 68 ax1 = ax2; in dig_test_for_intersection() 103 t = ax1; in dig_test_for_intersection() 104 ax1 = bx1; in dig_test_for_intersection() 194 if (ax1 > ax2 || (ax1 == ax2 && ay1 > ay2)) { in dig_find_intersection() 195 t = ax1; in dig_find_intersection() 231 t = ax1; in dig_find_intersection() 255 *x = ax1 + r1 * (ax2 - ax1); in dig_find_intersection() [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/examples/axisartist/ |
H A D | simple_axis_pad.py | 51 fig.add_subplot(ax1) 53 ax1.set_aspect(1.) 54 ax1.set_xlim(-5, 12) 55 ax1.set_ylim(-5, 10) 57 return ax1 60 def add_floating_axis1(ax1): argument 61 ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 30) 68 def add_floating_axis2(ax1): argument 69 ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6) 82 def ann(ax1, d): argument [all …]
|
H A D | demo_curvelinear_grid.py | 47 fig.add_subplot(ax1) 52 ax1.set_aspect(1.) 53 ax1.set_xlim(0, 10.) 54 ax1.set_ylim(0, 10.) 56 ax1.axis["t"] = ax1.new_floating_axis(0, 3.) 57 ax1.axis["t2"] = ax1.new_floating_axis(1, 7.) 58 ax1.grid(True, zorder=0) 115 fig.add_subplot(ax1) 127 ax1.set_aspect(1.) 128 ax1.set_xlim(-5, 12) [all …]
|
H A D | demo_floating_axes.py | 40 fig.add_subplot(ax1) 42 aux_ax = ax1.get_aux_axes(tr) 47 return ax1, aux_ax 74 fig.add_subplot(ax1) 77 aux_ax = ax1.get_aux_axes(tr) 85 return ax1, aux_ax 118 fig.add_subplot(ax1) 124 ax1.axis["bottom"].set_visible(False) 134 aux_ax = ax1.get_aux_axes(tr) 142 return ax1, aux_ax [all …]
|
H A D | demo_axis_direction.py | 51 fig.add_subplot(ax1) 53 ax1.set_aspect(1.) 54 ax1.set_xlim(-5, 12) 55 ax1.set_ylim(-5, 10) 57 return ax1 60 def add_floating_axis1(ax1): argument 61 ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 30) 68 def add_floating_axis2(ax1): argument 69 ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6) 83 axis = add_floating_axis1(ax1) [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/mpl_examples/axisartist/ |
H A D | simple_axis_pad.py | 51 fig.add_subplot(ax1) 53 ax1.set_aspect(1.) 54 ax1.set_xlim(-5, 12) 55 ax1.set_ylim(-5, 10) 57 return ax1 60 def add_floating_axis1(ax1): argument 61 ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 30) 68 def add_floating_axis2(ax1): argument 69 ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6) 82 def ann(ax1, d): argument [all …]
|
H A D | demo_curvelinear_grid.py | 47 fig.add_subplot(ax1) 52 ax1.set_aspect(1.) 53 ax1.set_xlim(0, 10.) 54 ax1.set_ylim(0, 10.) 56 ax1.axis["t"] = ax1.new_floating_axis(0, 3.) 57 ax1.axis["t2"] = ax1.new_floating_axis(1, 7.) 58 ax1.grid(True, zorder=0) 115 fig.add_subplot(ax1) 127 ax1.set_aspect(1.) 128 ax1.set_xlim(-5, 12) [all …]
|
H A D | demo_floating_axes.py | 40 fig.add_subplot(ax1) 42 aux_ax = ax1.get_aux_axes(tr) 47 return ax1, aux_ax 74 fig.add_subplot(ax1) 77 aux_ax = ax1.get_aux_axes(tr) 85 return ax1, aux_ax 118 fig.add_subplot(ax1) 124 ax1.axis["bottom"].set_visible(False) 134 aux_ax = ax1.get_aux_axes(tr) 142 return ax1, aux_ax [all …]
|
H A D | demo_axis_direction.py | 51 fig.add_subplot(ax1) 53 ax1.set_aspect(1.) 54 ax1.set_xlim(-5, 12) 55 ax1.set_ylim(-5, 10) 57 return ax1 60 def add_floating_axis1(ax1): argument 61 ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 30) 68 def add_floating_axis2(ax1): argument 69 ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6) 83 axis = add_floating_axis1(ax1) [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/examples/axisartist/ |
H A D | simple_axis_pad.py | 46 ax1 = fig.add_subplot( 49 ax1.set_aspect(1.) 50 ax1.set_xlim(-5, 12) 51 ax1.set_ylim(-5, 10) 53 return ax1 56 def add_floating_axis1(ax1): argument 57 ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 30) 64 def add_floating_axis2(ax1): argument 65 ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6) 77 def ann(ax1, d): argument [all …]
|
H A D | demo_curvelinear_grid.py | 49 ax1.set_aspect(1) 50 ax1.set_xlim(0, 10) 51 ax1.set_ylim(0, 10) 53 ax1.axis["t"] = ax1.new_floating_axis(0, 3) 54 ax1.axis["t2"] = ax1.new_floating_axis(1, 7) 55 ax1.grid(True, zorder=0) 84 ax1 = fig.add_subplot( 95 ax1.set_aspect(1) 96 ax1.set_xlim(-5, 12) 97 ax1.set_ylim(-5, 10) [all …]
|
H A D | demo_floating_axes.py | 42 ax1 = fig.add_subplot( 45 aux_ax = ax1.get_aux_axes(tr) 47 return ax1, aux_ax 73 ax1 = fig.add_subplot( 77 aux_ax = ax1.get_aux_axes(tr) 85 return ax1, aux_ax 117 ax1 = fig.add_subplot( 124 ax1.axis["bottom"].set_visible(False) 134 aux_ax = ax1.get_aux_axes(tr) 142 return ax1, aux_ax [all …]
|
H A D | demo_axis_direction.py | 46 ax1 = fig.add_subplot( 50 ax1.set_aspect(1.) 51 ax1.set_xlim(-5, 12) 52 ax1.set_ylim(-5, 10) 54 return ax1 57 def add_floating_axis1(ax1): argument 58 ax1.axis["lat"] = axis = ax1.new_floating_axis(0, 30) 65 def add_floating_axis2(ax1): argument 66 ax1.axis["lon"] = axis = ax1.new_floating_axis(1, 6) 79 axis = add_floating_axis1(ax1) [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/vector/Vlib/ |
H A D | e_intersect.c | 32 #define DB ((ax2-ax1)*(by1-ay1) - (ay2-ay1)*(bx1-ax1)) 141 *x1 = ax1; in segment_intersection_2d_e() 150 *x1 = ax1; in segment_intersection_2d_e() 386 *x1 = ax1; in segment_intersection_2d_tol() 410 t = ax1; in segment_intersection_2d_tol() 411 ax1 = bx1; in segment_intersection_2d_tol() 451 *x1 = ax1 + ra * (ax2 - ax1); in segment_intersection_2d_tol() 594 *x1 = ax1; in segment_intersection_2d_tol() 607 t = ax1; in segment_intersection_2d_tol() 608 ax1 = ax2; in segment_intersection_2d_tol() [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/mpl_toolkits/tests/ |
H A D | test_axisartist_grid_helper_curvelinear.py | 69 fig.add_subplot(ax1) 75 ax1.set_aspect(1.) 76 ax1.set_xlim(0, 10) 77 ax1.set_ylim(0, 10) 79 ax1.grid(True) 123 ax1.axis["lat"] = axis = grid_helper.new_floating_axis(0, 45, axes=ax1) 128 ax1.axis["lon"] = axis = grid_helper.new_floating_axis(1, 6, axes=ax1) 139 ax1.set_aspect(1.) 143 ax1.grid(True) 209 ax1.set_aspect(1.) [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/mpl_toolkits/tests/ |
H A D | test_axisartist_grid_helper_curvelinear.py | 80 fig.add_subplot(ax1) 86 ax1.set_aspect(1.) 87 ax1.set_xlim(0, 10) 88 ax1.set_ylim(0, 10) 90 ax1.grid(True) 131 ax1.axis["lat"] = axis = grid_helper.new_floating_axis(0, 45, axes=ax1) 136 ax1.axis["lon"] = axis = grid_helper.new_floating_axis(1, 6, axes=ax1) 147 ax1.set_aspect(1.) 151 ax1.grid(True) 215 ax1.set_aspect(1.) [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/gis/ |
H A D | intersect.c | 76 #define D2 ((ax2-ax1)*(by1-ay1) - (ay2-ay1)*(bx1-ax1)) 86 if (ax1 > ax2 || (ax1 == ax2 && ay1 > ay2)) { in G_intersect_line_segments() 87 SWAP(ax1, ax2) in G_intersect_line_segments() 102 *x = ax1 + (*ra) * (ax2 - ax1); in G_intersect_line_segments() 117 *x = ax1; in G_intersect_line_segments() 130 *x = ax1; in G_intersect_line_segments() 142 *x = ax1; in G_intersect_line_segments() 153 *x = ax1; in G_intersect_line_segments() 166 *x = ax1; in G_intersect_line_segments() 177 if (ax1 > bx1 && ax1 < bx2) { in G_intersect_line_segments() [all …]
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/compose/ |
H A D | plot_transformed_target.py | 69 ax1.set_ylabel("Probability") 70 ax1.set_xlabel("Target") 111 ax1.scatter(y_test, y_pred) 114 ax1.set_xlabel("True Target") 116 ax1.text( 122 ax1.set_xlim([0, 2000]) 123 ax1.set_ylim([0, 2000]) 162 ax1.set_ylabel("Probability") 163 ax1.set_xlabel("Target") 208 ax1[0].set_ylabel("Residual") [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/matplotlib/tests/ |
H A D | test_pyplot.py | 173 assert ax1 is ax3 180 ax1 = plt.axes() 194 ax1 = plt.axes() 212 assert ax1 is ax 229 assert ax1 is ax2 239 ax1 = plt.gca() 241 assert ax1 is ax 250 ax1 = plt.gca() 252 assert ax1 is ax 264 assert ax1 is ax [all …]
|
/dports/math/py-matplotlib/matplotlib-3.4.3/examples/axes_grid1/ |
H A D | make_room_for_ylabel_using_axesgrid.py | 26 ax1 = plt.axes([0, 0, 1, 0.5]) variable 29 ax1.set_yticks([0.5]) 30 ax1.set_yticklabels(["very long label"]) 31 ax1.set_ylabel("Y label") 35 make_axes_area_auto_adjustable(ax1, pad=0.1, use_axes=[ax1, ax2]) 42 ax1 = plt.axes([0, 0, 1, 1]) variable 43 divider = make_axes_locatable(ax1) 45 ax2 = divider.new_horizontal("100%", pad=0.3, sharey=ax1) 49 divider.add_auto_adjustable_area(use_axes=[ax1], pad=0.1, 56 ax1.set_yticks([0.5]) [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/examples/axes_grid1/ |
H A D | make_room_for_ylabel_using_axesgrid.py | 28 ax1 = plt.axes([0, 0, 1, 0.5]) 31 ax1.set_yticks([0.5]) 32 ax1.set_yticklabels(["very long label"]) 33 ax1.set_ylabel("Y label") 37 make_axes_area_auto_adjustable(ax1, pad=0.1, use_axes=[ax1, ax2]) 43 ax1 = plt.axes([0, 0, 1, 1]) 44 divider = make_axes_locatable(ax1) 46 ax2 = divider.new_horizontal("100%", pad=0.3, sharey=ax1) 50 divider.add_auto_adjustable_area(use_axes=[ax1], pad=0.1, 57 ax1.set_yticks([0.5]) [all …]
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/mpl_examples/axes_grid1/ |
H A D | make_room_for_ylabel_using_axesgrid.py | 28 ax1 = plt.axes([0, 0, 1, 0.5]) 31 ax1.set_yticks([0.5]) 32 ax1.set_yticklabels(["very long label"]) 33 ax1.set_ylabel("Y label") 37 make_axes_area_auto_adjustable(ax1, pad=0.1, use_axes=[ax1, ax2]) 43 ax1 = plt.axes([0, 0, 1, 1]) 44 divider = make_axes_locatable(ax1) 46 ax2 = divider.new_horizontal("100%", pad=0.3, sharey=ax1) 50 divider.add_auto_adjustable_area(use_axes=[ax1], pad=0.1, 57 ax1.set_yticks([0.5]) [all …]
|
/dports/games/alienarena/alienarena-7.66/source/unix/odesrc/joints/ |
H A D | universal.cpp | 97 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2] ); in getAngles() 194 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2] ); in getAngle1() 236 dRFrom2Axes( R, ax2[0], ax2[1], ax2[2], ax1[0], ax1[1], ax1[2] ); in getAngle2() 368 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2] ); in computeInitialRelativeRotations() 373 dRFrom2Axes( R, ax2[0], ax2[1], ax2[2], ax1[0], ax1[1], ax1[2] ); in computeInitialRelativeRotations() 432 dVector3 ax1; in dJointSetUniversalAxis1Offset() local 514 dQFromAxisAndAngle(qAngle, ax1[0], ax1[1], ax1[2], offset1); in dJointSetUniversalAxis2Offset() 517 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2]); in dJointSetUniversalAxis2Offset() 533 dRFrom2Axes( R, ax2[0], ax2[1], ax2[2], ax1[0], ax1[1], ax1[2]); in dJointSetUniversalAxis2Offset() 777 setAxes( this, ax1[0],ax1[1],ax1[2], NULL, axis2 ); in setRelativeValues() [all …]
|
/dports/games/alienarena-data/alienarena-7.66/source/unix/odesrc/joints/ |
H A D | universal.cpp | 97 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2] ); in getAngles() 194 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2] ); in getAngle1() 236 dRFrom2Axes( R, ax2[0], ax2[1], ax2[2], ax1[0], ax1[1], ax1[2] ); in getAngle2() 368 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2] ); in computeInitialRelativeRotations() 373 dRFrom2Axes( R, ax2[0], ax2[1], ax2[2], ax1[0], ax1[1], ax1[2] ); in computeInitialRelativeRotations() 432 dVector3 ax1; in dJointSetUniversalAxis1Offset() local 514 dQFromAxisAndAngle(qAngle, ax1[0], ax1[1], ax1[2], offset1); in dJointSetUniversalAxis2Offset() 517 dRFrom2Axes( R, ax1[0], ax1[1], ax1[2], ax2[0], ax2[1], ax2[2]); in dJointSetUniversalAxis2Offset() 533 dRFrom2Axes( R, ax2[0], ax2[1], ax2[2], ax1[0], ax1[1], ax1[2]); in dJointSetUniversalAxis2Offset() 777 setAxes( this, ax1[0],ax1[1],ax1[2], NULL, axis2 ); in setRelativeValues() [all …]
|