text
stringlengths
49
10.4k
source
dict
string-theory, symmetry Title: A question about Lorentz invariance of the Polyakov action I have a super basic and stupid question about the Lorentz invariance of the Polyakov action (cannot skip the disclaimer..) $$S_p[X,\gamma]=-\frac{1}{4 \pi \alpha'} \int_{-\infty}^{\infty} d \tau \int_0^l d \sigma (-\gamma)^{1/2}...
{ "domain": "physics.stackexchange", "id": 11601, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "string-theory, symmetry", "url": null }
Note that $-169 + ( 4 \times 52 ) = 39$, so $-169 \equiv 39 \mod 52$. Try this yourself for the second question. • how did you get the four? – Nicole Oct 13 '14 at 23:36 • @Nicole Four is the number of times you need to add 52 to -169 to get a positive number. Note that adding any lesser multiple of 52 will leave you...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.988130881050834, "lm_q1q2_score": 0.8078705874858992, "lm_q2_score": 0.8175744761936437, "openwebmath_perplexity": 121.98633145565044, "openwebmath_score": 0.9673479199409485, "tag...
c++, c++17 should work with non-copyable and/or non-movable types I cannot imagine a scenario where you would want to do reservoir sampling on non-copyable/movable types, but on the other hand it's always good to not make assumptions and to make your code work in as many situations as possible. Instead of doing manua...
{ "domain": "codereview.stackexchange", "id": 44001, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, c++17", "url": null }
information-theory, state-discrimination Because $p_i(0)+p_i(1)=0$, this is true for $\lambda_0=\lambda_1$, but I'm not sure it holds for the general case. Yes. Expression (X) is in principle more general, but it boils down to doing classical post-processing of the outcomes, and this can always be included in the POVM...
{ "domain": "quantumcomputing.stackexchange", "id": 2474, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "information-theory, state-discrimination", "url": null }
From those "addition formulas" the others follow: Letting a= b= x, sin(2x)= sin(x+ x)= sin(x)cos(x)+ cos(x)sin(x)= 2 sin(x)cos(x) and cos(2x)= cos(x)cos(x)- sin(x)sin(x)= cos^2(x)- sin^2(x). Of course, sin^2(x)+ cos^2(x)= 1 so we can write sin^2(x)= 1- cos^2(x) so that we can write that last formula as cos(2x)= cos^2(...
{ "domain": "physicsforums.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.962673111584966, "lm_q1q2_score": 0.8104029228921139, "lm_q2_score": 0.8418256551882382, "openwebmath_perplexity": 2130.281622646264, "openwebmath_score": 0.7849017977714539, "tags...
little harder to describe. Allows students to discover what polar coordinates are and how math and art can work together. 0 LUNAR COORDINATE SYSTEM SELECTION CRITERIA Members of the LDWG and PSWG worked to define a common Lunar Coordinate System for the LRO mission. Polar coordinates use a different kind of graph inste...
{ "domain": "ciadarredamenti.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9898303401461468, "lm_q1q2_score": 0.8373394866206931, "lm_q2_score": 0.8459424334245618, "openwebmath_perplexity": 598.200690655468, "openwebmath_score": 0.9244123101234436, "tag...
electrochemistry, experimental-chemistry, titration $$\ce{Cl- \qquad Na+ \qquad CH3COOH}\tag{3}$$ Henceforth, any additional hydroxide added will, in a macroscopic and sighlty simplified view, only serve to deprotonate the acetic acid to acetate. Thus, half-way towards the equivalence point of acetic acid, we can obse...
{ "domain": "chemistry.stackexchange", "id": 9075, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrochemistry, experimental-chemistry, titration", "url": null }
c#, converting { throw new AutotaskCallException(oResponseContract.Errors[0].Message, "ContractServiceUnit"); } return oResponseContract.EntityResults.Cast<ContractServiceUnit>().ToList(); }
{ "domain": "codereview.stackexchange", "id": 7413, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, converting", "url": null }
My first attempt was $r=cos\left(\frac{\theta}{2}\right)$ which produced something like a merged double limaçon with loops over its $4\pi$ period. Trying for more of the same, I graphed $r=cos\left(\frac{\theta}{3}\right)$ guessing (without really thinking about it) that I’d get more loops.  I didn’t get what I expect...
{ "domain": "wordpress.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9802808736209154, "lm_q1q2_score": 0.8272542341495169, "lm_q2_score": 0.8438951084436077, "openwebmath_perplexity": 1333.3899470260978, "openwebmath_score": 0.9404375553131104, "tags":...
c# Title: Binary-reading code I'm currently writing a binary reader that reads a value from a BinaryReader at a given position. For that I have to store the current position of the MemoryStream so I can restore it afterwards. public byte GetByte(int position) { long oldPosition = this.memoryStream.Position; this...
{ "domain": "codereview.stackexchange", "id": 19453, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#", "url": null }
electrons, charge, conventions, history Title: What would have happened if electron was considered positive? We always keep on telling that current flows opposite to electron, since electron is negatively charged. And old people didn't knew, that it is electron which actually flows.. So, now if we correct them and cha...
{ "domain": "physics.stackexchange", "id": 56039, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrons, charge, conventions, history", "url": null }
bash, linux, networking iptunnel del ipip1 EOF sshpass -p$sshpass ssh -o StrictHostKeyChecking=no $user@$remotehost chmod +x reset.sh echo "Generated reset script on remove machine" sleep 1 read -p "Would you like to document the changes this script has made in a separate file? (y/n)" changes if [[ $changes =~ ^[Yy]$ ...
{ "domain": "codereview.stackexchange", "id": 15175, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "bash, linux, networking", "url": null }
stresses, strength, material-science Title: Beginners material science for handling a load I’ve got a reasonably strong grasp of Newtonian mechanics, but as far as material science goes I don’t know which of the many material properties I need to use to solve my problem: I’m trying to mount a heavy object at the end o...
{ "domain": "engineering.stackexchange", "id": 3450, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "stresses, strength, material-science", "url": null }
c++, template-meta-programming, c++20 static_assert("Hello"fs == "Hello"fs); return 0; } Output: Chapter 1: Preliminary D e s m o n d G o l d Sum: 15 Chapter 2: Iterators 1 2 3 4 9 4 2 1 7 Chapter 3: Element Access 8 4 3 Front: 1 Back: 4 Chapter 4: Fill Operation 99 99 99 Chapter 5: Range Views 16 9 4 Chapter...
{ "domain": "codereview.stackexchange", "id": 41620, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, template-meta-programming, c++20", "url": null }
thermodynamics, physical-chemistry, combustion Title: Is there an 'intuitive' explanation for "Which burns more?" In helping a friend's son with his grade 10 science homework, I came across a question that essentially asked the following: "If two objects of equal mass but different specific heat capacities are touche...
{ "domain": "physics.stackexchange", "id": 88522, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "thermodynamics, physical-chemistry, combustion", "url": null }
recursion, functional-programming, erlang Title: Lattice traversal functional algorithm I have the following code which returned the solution I was wanting after running for 1 hour. Are there any techniques I could use to improve run-time? If I were using imperative programming I would just more aggressively cache the...
{ "domain": "codereview.stackexchange", "id": 15781, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "recursion, functional-programming, erlang", "url": null }
quantum-field-theory, special-relativity, momentum, eigenvalue Title: Why is the spectrum of the momentum operator continuous for states containing 2 or more particles? Consider a free theory and let $P^\mu = (H, \mathbf{P})$ be the 4-momentum operator. Since $P_\mu P^\mu = m^2$ is a Lorentz scalar, we get the relatio...
{ "domain": "physics.stackexchange", "id": 99433, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, special-relativity, momentum, eigenvalue", "url": null }
ros, ubuntu, ros-fuerte, ubuntu-precise, build-from-source Originally posted by rlinsalata with karma: 271 on 2012-07-17 This answer was ACCEPTED on the original site Post score: 4 Original comments Comment by dinamex on 2012-08-24: How can I install ros-fuerte-pcl? I can't find it anywhere... Would be great to get a...
{ "domain": "robotics.stackexchange", "id": 10228, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, ubuntu, ros-fuerte, ubuntu-precise, build-from-source", "url": null }
java, object-oriented, unit-testing, interview-questions, math-expression-eval } } Your naming is inconsistent and confusing. What is an "Element"? Why does operationStack contain Elements rather than Operations, as its name would suggest? Why is elementArray an array of Strings rather than of Elements, as its name...
{ "domain": "codereview.stackexchange", "id": 30757, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, object-oriented, unit-testing, interview-questions, math-expression-eval"...
material-science, physical-chemistry, density, home-experiment, metals Title: Are there physical properties that can be used to differentiate stainless steel from copper in a home environment? So the backstory is that I purchased a reusable drinking straw that is copper coloured, but is advertised to be stainless stee...
{ "domain": "physics.stackexchange", "id": 55204, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "material-science, physical-chemistry, density, home-experiment, metals", "url": ...
gazebo, rviz, ros-kinetic <link name="caster_wheel"> <collision> <origin xyz="${casterRadius-chassisLength/2} 0 ${casterRadius-chassisHeight+wheelRadius}" rpy="0 0 0"/> <geometry> <sphere radius="${casterRadius}"/> </geometry> </collision> <visual> <origin xyz="${casterRadi...
{ "domain": "robotics.stackexchange", "id": 33358, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "gazebo, rviz, ros-kinetic", "url": null }
c, virtual-machine bytecode hello_world = { nop, wrtb, 0,0,0,0, 72, // H wrtb, 1,0,0,0, 101, // e wrtb, 2,0,0,0, 108, // l wrtb, 3,0,0,0, 108, // l wrtb, 4,0,0,0, 111, // o wrtb, 5,0,0,0, 32, // space wrtb, 6,0,0,0, 87, // W...
{ "domain": "codereview.stackexchange", "id": 26461, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c, virtual-machine", "url": null }
vba, excel 'ICD9 --> ICD10 Conversion If dictCorrectionOptions("ICD9 --> ICD10 Conversion").strOnOffSwitch = "On" Then If Left(strLines(Loop2), 3) = "HI*" Then strLines2(Loop2) = Replace(strLines2(Loop2), "*BK" & strDiagProcIndicator, "*ABK" & strDiagProcIndicator) ...
{ "domain": "codereview.stackexchange", "id": 24551, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "vba, excel", "url": null }
physical-chemistry, equilibrium, aqueous-solution, solubility, ionic-compounds Title: Seeing solubility in various cases Match the following: $\begin{array}{|c|c|c|c|} \hline &\textrm{Column-I}&&\textrm{Column-II} \\\hline \textrm{(A)}&\ce{AgBr}&\mathrm{(p)}&\mathrm{(Solubility~in~water~is~more~than~expectation)} \\ ...
{ "domain": "chemistry.stackexchange", "id": 13486, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "physical-chemistry, equilibrium, aqueous-solution, solubility, ionic-compounds",...
operating-systems Title: Starvation in longest remaining time first CPU scheduling I want to know if longest remaining time first (LRTF) CPU scheduling has starvation or not. Also give reason how it starve/does not starve a process. I know longest job first (LJF) may starve a process if all other incoming processes ha...
{ "domain": "cs.stackexchange", "id": 2310, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "operating-systems", "url": null }
ros, catkin-make, target-link-libraries, cmake install(TARGETS biotac_pub ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} )` Originally posted by yzheng0310 on ROS Answers with karma: 16 on 2017-05-30...
{ "domain": "robotics.stackexchange", "id": 28022, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, catkin-make, target-link-libraries, cmake", "url": null }
quantum-gate, nielsen-and-chuang, density-matrix, state-tomography, quantum-process-tomography Another approach is to use the Choi-Jamiolkowski isomorphism, mentioned above regarding the Choi matrix. Here one would not optimize for a quantum channel, but for a quantum state (i.e. Quantum State Tomography). QST is much...
{ "domain": "quantumcomputing.stackexchange", "id": 1474, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-gate, nielsen-and-chuang, density-matrix, state-tomography, quantu...
ros Title: Why are ROS commands not recognised when I open a new terminal? I know I'm a complete noob and it will be something stupid, but I've been going through the tutorials trying to get ROS installed and set up and I've got to ROS\Tutorials\UnderstandingNodes where one of the steps says run the roscore command (...
{ "domain": "robotics.stackexchange", "id": 15886, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros", "url": null }
javascript, beginner Kudos, this is lovely, keep it up! Having done the hard work of writing low-level routines which connect business domain concepts to JS primitives, now you can very concisely give this high-level description of what you want done. The logging is perhaps a bit chatty? It makes perfect sense during ...
{ "domain": "codereview.stackexchange", "id": 44883, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript, beginner", "url": null }
slam, navigation, launch-file, rtabmap, rtabmap-ros Title: Can't run rtabmap from roslaunch I installed rtabmap with $ sudo apt-get install ros-indigo-rtabmap-ros but I'm not able to launch it as expected: $ roslaunch rtabmap_ros rtabmap.launch [rtabmap.launch] is neither a launch file in package [rtabmap_ros] nor is...
{ "domain": "robotics.stackexchange", "id": 24402, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "slam, navigation, launch-file, rtabmap, rtabmap-ros", "url": null }
quantum-spin, group-theory, representation-theory, rotation, spinors Title: What exactly does the belt/plate trick demonstrate? I am reasonably familiar with the math behind spinors, the fact that $SU(2)$ is the universal (double) cover of $SO(3)$, etc. I've often seen the "belt trick" and the "plate trick" used to mo...
{ "domain": "physics.stackexchange", "id": 62768, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-spin, group-theory, representation-theory, rotation, spinors", "url": nu...
Since the volume is 20 times the cross-sectional area, you only need to differentiate the cross-sectional area and set the result to zero. Then discover the value of theta that causes the derivative to be zero. $\frac{d}{d\theta}\left[cos\theta(1+sin\theta)\right]=0$ Use the product rule as shown earlier or $\frac{...
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9825575147530352, "lm_q1q2_score": 0.883438466575678, "lm_q2_score": 0.899121377945727, "openwebmath_perplexity": 830.4505705528935, "openwebmath_score": 0.821606457233429, "tags":...
ros, pcl, shared-ptr Title: PCL-ROS run time error while doing plane segmentation Hello everyone, I am trying to do plane segmentation using PCL and ROS. I am using the sensor Asus xtion pro live. I was able to launch openni_kinect and got the sensor pumping out necessary coordinates. Here is my program: ros::Publis...
{ "domain": "robotics.stackexchange", "id": 12251, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, pcl, shared-ptr", "url": null }
synthesis, carbonyl-compounds, alcohols, phenols, protecting-groups Title: Is formation of cyclic carbonate from trimethyl orthoformate and vicinal aromatic 1,2-diol possible? Hello, my question is, "is it possible cyclic carbonate formation between trimethyl orthoformate and vicinal aromatic 1,2-diol" Trimethyl ort...
{ "domain": "chemistry.stackexchange", "id": 16749, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "synthesis, carbonyl-compounds, alcohols, phenols, protecting-groups", "url": n...
c, parsing, functional-programming parser noneof( char *s ){ return satisfy( Operator( String( s, 0 ), is_noneof ) ); } static object parse_either( object env, list input ){ parser p = assoc_symbol( EITHER_P, env ); object result = parse( p, input ); if( is_ok( result ) ) return result; parser q = assoc...
{ "domain": "codereview.stackexchange", "id": 43456, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c, parsing, functional-programming", "url": null }
homework-and-exercises, electrostatics, capacitance Title: Calculating effective capacitance of a circuit Please refer to the image below. The question asks: 'The effective capacitance between terminals A and B in the network shown in the adjoining figure is?' Here is my working: (C5 and C6 connected in series.. in ...
{ "domain": "physics.stackexchange", "id": 26135, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "homework-and-exercises, electrostatics, capacitance", "url": null }
python, object-oriented if self.atmosphere in [0, 1, 10, 11, 12]: self.hydrographics -= 4 if self.atmosphere != 13: if self.temperature in [10, 11]: self.hydrographics -= 2 elif self.temperature >= 12: ...
{ "domain": "codereview.stackexchange", "id": 29210, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, object-oriented", "url": null }
c++, c++11, skip-list private: std::mt19937 gen_{ (uint32_t) time(nullptr) }; std::bernoulli_distribution distr_{ 0.5 }; }; SkipList::RandomGenerator SkipList::rand_; // ============================== /* We do ***NOT*** store next[] array size, ***NOR*** we store NULL after last next node. It tu...
{ "domain": "codereview.stackexchange", "id": 31341, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, c++11, skip-list", "url": null }
Using the quadratic formula we get two values of $$z$$: $$z=2192363064 \pm 6000i\sqrt{662796041466}$$ Hence: $$u=\sqrt[3]{2192363064+6000i\sqrt{662796041466}}$$ $$v=\sqrt[3]{2192363064-6000i\sqrt{662796041466}}$$ Using complex numbers let's take the principal cube roots for $$u$$ and $$v$$: $$u=\sqrt[3]{|u|} cis \left(...
{ "domain": "brilliant.org", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9664104943498961, "lm_q1q2_score": 0.8194849349971642, "lm_q2_score": 0.8479677526147223, "openwebmath_perplexity": 793.5849130855869, "openwebmath_score": 0.9696036577224731, "tags": ...
Here are some examples: >> format long e >> logsumexp([1 2 3]) ans = 3.407605964444380e+00 >> logsumexp([1 2 30]) ans = 3.000000000000095e+01 >> logsumexp([1 2 -3]) ans = 2.318175429247454e+00 The MATLAB function logsumexp used here is available at https://github.com/higham/logsumexp-softmax. Straightforward eval...
{ "domain": "nhigham.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9871787827157819, "lm_q1q2_score": 0.8138913230048442, "lm_q2_score": 0.824461928533133, "openwebmath_perplexity": 232.0640899068836, "openwebmath_score": 0.9777094125747681, "tags": nul...
It looks that $$hK \ne h^{'} K$$ iff $$h(H \cap K) \ne h^{'}(H \cap K)$$ and the order of the set of all such distinct $$h(H \cap K)$$ for $$h \in H$$ is $$\left|H: H \cap K\right|$$... Also, it would be appreciated if someone gives me an example where such left cosets $$hk$$ are identical. • For finding example iden...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9773707986486797, "lm_q1q2_score": 0.84916592183908, "lm_q2_score": 0.8688267779364222, "openwebmath_perplexity": 191.70068532148645, "openwebmath_score": 0.9993351697921753, "tags...
nomenclature, history-of-chemistry Title: History of the word copperas I searched for copperas on google and it says ferrous sulphate. My dictionary shows that the word copperas is derived from copper. I was just wondering what has ferrous sulphate to do with copper You are on the right track. The Brockhaus Konversati...
{ "domain": "chemistry.stackexchange", "id": 7185, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "nomenclature, history-of-chemistry", "url": null }
fft, filters, convolution, finite-impulse-response Title: Does block-based FIR filtering necessarily imply using the DFT? Assume I want to filter a stream of data with a rather small FIR filter (in the order of 16 to 64 coefficients). In any case I have to split the input stream into chunks (blocks) of data. Searching...
{ "domain": "dsp.stackexchange", "id": 12302, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "fft, filters, convolution, finite-impulse-response", "url": null }
• If we set the integral above to $I_n,$ then by integration by parts, and using $\Gamma(n) = (n-1) \Gamma(n-1) = (n-1)!,$ we get for $n \ge 1,$ $$P(T > n) = \frac{I_n}{\Gamma(n)} = \frac{(n-1) I_{n-1}}{(n-1) \Gamma(n-1)} - \frac{e^{-1}}{{(n-1)!}} = P(T > n-1) - \frac{e^{-1}}{(n-1)!}$$ But then $$P(T = n) = P(T> n-1) -...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9790357555117624, "lm_q1q2_score": 0.8523458429178988, "lm_q2_score": 0.8705972566572504, "openwebmath_perplexity": 161.257117801193, "openwebmath_score": 0.902830183506012, "tags"...
performance, vba, excel Sub TraiterNoms1() Dim data1 As Variant, data2A As Variant, data2B As Variant Dim x As Long Dim dic As Object, Source As Range Set dic = CreateObject("Scripting.Dictionary")
{ "domain": "codereview.stackexchange", "id": 29562, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "performance, vba, excel", "url": null }
quantum-field-theory Apparently, linearity is equivalent to have scalar field interactions, whereas non-linearity implies no interaction. Why is that so? Thank you in advance for any hints. When we say a particular equation is linear, we mean that it follows the principle of superposition:
{ "domain": "physics.stackexchange", "id": 62438, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory", "url": null }
c#, android, kotlin, udp Of course you'd need to change the CreateImageFromUdpPackets signature to this CreateImageFromUdpPackets(LivestreamImagePacket packet, byte[] buffer) and replace the usages of timestamp with packet.Timestamp
{ "domain": "codereview.stackexchange", "id": 41055, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, android, kotlin, udp", "url": null }
homework-and-exercises, frequency, oscillators After the time $t = T_0 = \frac{2\pi}{\omega} = \frac{1}{f} = 1s$ the blue function $\sin{(\omega t)}$ has done a full oscillation. Thus, it has also done full oscillations after $t=\{2, 3, 4, \ldots\}$. After the time $t = T_0/2 = \frac{1}{2}s$ the red function $\c...
{ "domain": "physics.stackexchange", "id": 64115, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "homework-and-exercises, frequency, oscillators", "url": null }
Theorem: If $$\mathcal{C}(*) \le k+1$$, then the following are equivalent: • the inequality \eqref{star} is true for all $$(k-1)$$th-order convex functions $$f$$, • the inequality \eqref{star} is an equality when we plug in $$f(x) = x^m$$ for $$m < k$$, and \eqref{star} is true when we plug in $$f(x) = x^k$$, • there ...
{ "domain": "mathoverflow.net", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9814534376578002, "lm_q1q2_score": 0.8302531131570599, "lm_q2_score": 0.8459424373085146, "openwebmath_perplexity": 149.01996293973752, "openwebmath_score": 0.9938262701034546, "tag...
$$a_n=2^n+n!$$ Regards. #### MarkFL ##### Administrator Staff member Here is my solution: Let's rewrite the recurrence as: $$\displaystyle a_{n}-na_{n-1}=4\left(a_{n-1}-(n-1)a_{n-2} \right)-4\left(a_{n-2}-(n-2)a_{n-3} \right)$$ Now, if we define: $$\displaystyle b_{n}=a_{n}-na_{n-1}$$ We may write the original ...
{ "domain": "mathhelpboards.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9852713865827591, "lm_q1q2_score": 0.8661981546338646, "lm_q2_score": 0.8791467675095294, "openwebmath_perplexity": 963.5592021188502, "openwebmath_score": 0.8895403146743774, "ta...
reaction-mechanism, equilibrium, catalysis If you wait long enough so that all three reactions attain equilibrium, the presence or absences of catalysts have no effect on the product mixtures. In the examples, however, the reactions without catalysts are all slow. If you add one catalyst but not the other two, one rea...
{ "domain": "chemistry.stackexchange", "id": 15983, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "reaction-mechanism, equilibrium, catalysis", "url": null }
$$= \frac{{\frac{{\left( {x + \frac{{xyz}}{{{c^2}}} + y + z} \right)}}{{\left( {1 + \frac{{yz}}{{{c^2}}}} \right)}}}}{{\frac{{\left( {1 + \frac{{yz}}{{{c^2}}} + \frac{{xy}}{{{c^2}}} + \frac{{xz}}{{{c^2}}}} \right)}}{{\left( {1 + \frac{{yz}}{{{c^2}}}} \right)}}}} = \frac{{\left( {x + y + z + \frac{{xyz}}{{{c^2}}}} \righ...
{ "domain": "iitianacademy.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9793540734789342, "lm_q1q2_score": 0.8304606783461244, "lm_q2_score": 0.8479677583778258, "openwebmath_perplexity": 1377.686850825767, "openwebmath_score": 0.8172268271446228, "tag...
algorithms, strings, substrings, string-matching Title: Find all substrings that fit the mask with asterisks There is a problem. Given string $text$ containing only letters and string $mask$ containing letters and asterisks (*), where asterisk means substitution of zero or more letters, find all substrings of $text$ t...
{ "domain": "cs.stackexchange", "id": 11343, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "algorithms, strings, substrings, string-matching", "url": null }
java, game, community-challenge, pathfinding // (0, 0) doesn't have a unit vector, so it needs special // handling. There's no reason to sit stationary, so give // (0, 0) the lowest priority. if (velocity1.getRow() == 0 && velocity1.getCol() == 0) { if (velocity2.get...
{ "domain": "codereview.stackexchange", "id": 16173, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, game, community-challenge, pathfinding", "url": null }
java, game, console, minesweeper private StatusOfArea statusOfArea; { statusOfArea = StatusOfArea.CLOSED; } Area(ValueOfArea valueOfArea){ this.valueOfArea = valueOfArea; } ValueOfArea getValueOfArea() { return valueOfArea; } StatusOfArea getStatusOfArea() { ...
{ "domain": "codereview.stackexchange", "id": 36424, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, game, console, minesweeper", "url": null }
c#, .net, performance, parsing private string GetFunctionOrVariable(string candidate) { string key = candidate.Trim(); var mappings = HackToCSharpMapper.Instance.FunctionMappings; if (mappings.ContainsKey(key)) return mappings[key] + "() "; return candidate + " "; } } If you're...
{ "domain": "codereview.stackexchange", "id": 1067, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, .net, performance, parsing", "url": null }
ros, c++, ros-kinetic Originally posted by gvdhoorn with karma: 86574 on 2019-07-10 This answer was ACCEPTED on the original site Post score: 3 Original comments Comment by massyp on 2019-07-10: No, I don't. I will try and come back Comment by massyp on 2019-07-10: Hi, I think that I installed correctly the library, ...
{ "domain": "robotics.stackexchange", "id": 33384, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, c++, ros-kinetic", "url": null }
ros, raspberrypi, youbot /home/pi/youbot/ros_stacks/youbot-ros-pkg/youbot_drivers/youbot_oodl/src/YouBotOODLWrapper.cpp:389: undefined reference to `std::basic_string<char, std::char_traits, std::allocator > boost::units::to_string<boost::units::unit<boost::units::list<boost::units::dim<boost::units::plane_angle_base_...
{ "domain": "robotics.stackexchange", "id": 19886, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, raspberrypi, youbot", "url": null }
c++, linked-list, homework I'd advocate using the more modern C++11 style: List() : head{nullptr}, tail{nullptr} {} Perform better error checking for user input As it is currently written, if the user types "Norway" as the choice the code will loop endlessly. Better would be to input a string and then use st...
{ "domain": "codereview.stackexchange", "id": 28391, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, linked-list, homework", "url": null }
c#, parsing STN: CYYC |SKY|CIG| PRECIPITATION |POP| ACC | TEMP | WIND | VIS | \nDATE HR |/10| |PCPN1|POP|PCPN2|POP|PCPN3|POP| | Qp | Tp| T | Td | DD| VV|GST|(SM) |TP| \n-------------+---+---+-----+---+-----+---+-----+---+---+----+---+-----+-----+---+---+---+-----+--+ \n2015...
{ "domain": "codereview.stackexchange", "id": 15087, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, parsing", "url": null }
special-relativity, spacetime, speed-of-light, physical-constants, absolute-units Second, there's the question of making the spacetime diagrams that you raise, which could be extended to other conveniences in how to write quantities in special relativity. In any common convention for units, the quantity $ct$ has unit...
{ "domain": "physics.stackexchange", "id": 79273, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "special-relativity, spacetime, speed-of-light, physical-constants, absolute-units"...
evolution Not that I can think of or find easily. While there are detriments associated with being born prematurely, and some evidence that women waiting until they're late 30's and men until they're 60 or older can negatively affect their gametes and consequently the development of any children born from them - it's ...
{ "domain": "biology.stackexchange", "id": 3703, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "evolution", "url": null }
fo <- sprintf("%s ~ %s - 1", response.name, fo <- as.formula(fo, env = as.proto.list(L)) do.call("lmst(fo, offset = substitute(fitted(object)))) } Then use predict the standard way: predCI <- predict(as.lm.nls(fittednls), interval = “confidence”, level = 0.95) Thanks @waybackmachine • Yes, I actually found that ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9579122720843811, "lm_q1q2_score": 0.8160960388410113, "lm_q2_score": 0.8519527963298946, "openwebmath_perplexity": 4128.609831917478, "openwebmath_score": 0.5497552156448364, "tag...
c++, performance To return decimal == binaryToCompare.decimal; If you find your self doing: if (test) { return true; } else { return false; } This is the same as return test; // as test must be a boolean value (or convertible to cone).
{ "domain": "codereview.stackexchange", "id": 39464, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, performance", "url": null }
python, iteration Title: Iterate over a short list, pairing the elements with the sequential elements of a longer list I am a relatively new programmer. I am trying to use iter and cycle to cycle over a list (key) and 'pair' each item with each consecutive item in the second list (message). The code below works as exp...
{ "domain": "codereview.stackexchange", "id": 38132, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, iteration", "url": null }
javascript var subTwo = document.getElementsByClassName('megamenu-sub-2')[0]; if (subTwo && subTwo.matches('.megamenu-sub-2.megamenu-sub-triggered')) { subTwo.classList.remove('db', 'megamenu-sub-triggered'); subTwo.classList.add('dn'); } var subThree = document.getElem...
{ "domain": "codereview.stackexchange", "id": 39780, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript", "url": null }
ros, ros-hydro, cv-bridge, armhf, header Title: CvBridge.h missing in Hydro armhf? Hi, I'm trying to rosmake a self-written node in Hydro on armhf, but it fails on a missing CvBridge.h. "roscd cv_bridge" takes me to /opt/ros/hydro/share/cv_bridge$ and "ls" shows cmake and package.xml. So where is the header file ? T...
{ "domain": "robotics.stackexchange", "id": 17988, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, ros-hydro, cv-bridge, armhf, header", "url": null }
quantum-mechanics, hilbert-space, wavefunction, schroedinger-equation, normalization Title: Solving time-independent Schrodinger equation with $V=0$ I recently came across this section in "Physical chemistry" by Peter Atkins and Julia Paula. There they discuss the solution of Schrodinger equation for a particle of mas...
{ "domain": "physics.stackexchange", "id": 59113, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, hilbert-space, wavefunction, schroedinger-equation, normalizati...
(%i2) lista:log(%),bfloat$Individual elements of the list a:[a_1,...,a_n] can be extracted by specifying their indices, as in a[i]. Thus, (%i3) Lista[4]; $\tag{%o3} 24$ (%i4) lista[4]; $\tag{%o4} 3.178053830347946b0$ Let's check that the first number Lista[4] is the exponential of the second lista[4] (for this, we mu...
{ "domain": "uaslp.mx", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.972830769252026, "lm_q1q2_score": 0.8085615346754277, "lm_q2_score": 0.8311430520409023, "openwebmath_perplexity": 8210.193559783387, "openwebmath_score": 0.9115439653396606, "tags": null, ...
quantum-mechanics, quantum-spin, identical-particles Now exchanging the labels for particle 1 and 2, we have $$ \frac{1}{\sqrt{2}}\left(\left|\left.\uparrow\right>\right._2\otimes\left|\left.\downarrow\right>\right._1-\left|\left.\downarrow\right>\right._2\otimes\left|\left.\uparrow\right>\right._1 \right) = -\frac{1}...
{ "domain": "physics.stackexchange", "id": 56704, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, quantum-spin, identical-particles", "url": null }
Let $P(X_1, \ldots, X_n)$ a polynomial. Substitute $X_i\mapsto X_i + a_i$ and get $$P(X_1+ a_1, \ldots, X_n + a_n) = \sum c_{\alpha} X_1^{\alpha_1} \ldots X_n^{\alpha_n}$$ and so $$P(X_1, \ldots, X_n) = \sum c_{\alpha} (X_1-a_1)^{\alpha_1} \ldots (X_n-a_n)^{\alpha_n}$$ Note that $c_{(0,\ldots, 0)} = P(a_1, \ldots, a_...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9597620562254525, "lm_q1q2_score": 0.8499954800239738, "lm_q2_score": 0.8856314692902446, "openwebmath_perplexity": 210.0985121292155, "openwebmath_score": 0.8847081661224365, "tag...
Thus, the repeated eigenvalue is not defective. This handout shows, first, that eigenvectors associated with distinct eigenvalues of an abitrary square matrix are linearly indpenent, and sec-ond, thatalleigenvectorsofasymmet ricmatrixaremutuallyorthogonal. The relationship V−1AV = D gives AV = VD, and using matrix col...
{ "domain": "aobindia.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.990440598395557, "lm_q1q2_score": 0.812055652780913, "lm_q2_score": 0.8198933425148213, "openwebmath_perplexity": 606.9326889357603, "openwebmath_score": 0.8793156147003174, "tags": nul...
There can't really be any general rule for choosing $u$ and $v$ for integration by parts but there are hierarchies that make sense most of the time. The rule I like to use for choosing $u$ (this is not my rule; it is well documented if you google it) is LIATE (logarithm - inverse trig - algebraic - trig - exponential)....
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9799765628041175, "lm_q1q2_score": 0.824969406218381, "lm_q2_score": 0.8418256492357358, "openwebmath_perplexity": 636.8810321336057, "openwebmath_score": 0.9998966455459595, "tags...
modulation, qpsk Title: the relationship between bandwidth and the datarate One Question of my note is like this. Consider a communication channel with a bandwidth of 2400Hz. If QPSK technique is used, what is the possible transmission rate? (Assume that rectangular pulses are used in the baseband signals, and that 90...
{ "domain": "dsp.stackexchange", "id": 9421, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "modulation, qpsk", "url": null }
newtonian-mechanics, computational-physics, projectile, drag Title: How to solve the trajectory equation using quadratic drag formula? I am doing a project on ballistics and projectiles and I was reading this link here and it states that the ballistics equation cannot be integrated analytically, and has to be integrat...
{ "domain": "physics.stackexchange", "id": 92801, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "newtonian-mechanics, computational-physics, projectile, drag", "url": null }
java, strings, heap for(int i=0;i<k;i++) { minHeap.add(keySet.get(i)); } for(int i=k;i<keySet.size();i++) { String key = keySet.get(i); count = wordMap.get(key); if(count>wordMap.get(minHeap.peek())) ...
{ "domain": "codereview.stackexchange", "id": 12278, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, strings, heap", "url": null }
newtonian-mechanics, forces, vectors, free-body-diagram Title: When a person pulls or pushes a cart, why is it advantageous for their body be tilted forward? This is not a homework question. I attempted to draw a free body diagram for a person pulling or pushing a cart. Based on Newton's third law, the following force...
{ "domain": "physics.stackexchange", "id": 82163, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "newtonian-mechanics, forces, vectors, free-body-diagram", "url": null }
java, object-oriented, file, file-system, caesar-cipher public class EncryptionAndDecryption { private final String CIPHER_CHAR_SET; protected EncryptionAndDecryption(final String cipherCharSet) { this.CIPHER_CHAR_SET = cipherCharSet; } protected final String encryptOrDecryptText(final Strin...
{ "domain": "codereview.stackexchange", "id": 35986, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, object-oriented, file, file-system, caesar-cipher", "url": null }
python, object-oriented, python-3.x, mysql, database return operations To be clear, this class is responsible for mapping out the operations required to bring one database up-to-spec with another (or to generate a database from scratch). Otherwise, it doesn't do anything itself. It's primary output is from its erro...
{ "domain": "codereview.stackexchange", "id": 27786, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, object-oriented, python-3.x, mysql, database", "url": null }
ros-melodic void DoPickAndPlace(geometry_msgs::PoseStamped::ConstPtr const& msg) { // Add the newly-detected object //AddBoxToScene(msg); // Do the pick-and-place if (DoPick(msg)) { } // Remove the object now that we don't care about it any more //RemoveBoxFromScene(); } bool DoPick...
{ "domain": "robotics.stackexchange", "id": 37359, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros-melodic", "url": null }
non-linear-systems, chaos-theory, complex-systems Title: How to calculate the parameter values for which the Lorenz system is chaotic? I was recently going via a book (Strogatz), that mentions Lorenz's attractor, and that it was found out that for values such as $a=10$, $b=\tfrac{8}{3}$, $c=21$, the system behavior is...
{ "domain": "physics.stackexchange", "id": 61986, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "non-linear-systems, chaos-theory, complex-systems", "url": null }
machine-learning, markov-process Note each sum here is over the two possible $(s', r)$ results from each action. Pass 1 in detail, iterating though states $[S_0, S_1]$: Set max delta ($\Delta = 0$) to track our accuracy $v(S_0) = \sum_{s',r} p(s',r|S_0,B)(r + \gamma v(s')) = 0.5(-5 + 0.1 v(S_1)) + 0.5 (-2 + 0.1 v(S_0...
{ "domain": "datascience.stackexchange", "id": 3232, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "machine-learning, markov-process", "url": null }
experimental-realization, noise, superconducting-quantum-computing Title: Why attenuator and not filters for QC driving line In all the cold quantum computer designs (superconducting qubits, spin qubits) attenuators are put on the driving lines. Their role is to kill the noise spectral density that comes from higher t...
{ "domain": "quantumcomputing.stackexchange", "id": 2490, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "experimental-realization, noise, superconducting-quantum-computing", "ur...
c, unit-testing, queue ret = QUEUE_dequeue(queue, &dummy, sizeof(dummy)); ASSERT_EQ(QUEUE_RET_Success, ret); ret = QUEUE_dequeue(queue, &dummy, sizeof(dummy)); ASSERT_EQ(QUEUE_RET_Success, ret); actual = QUEUE_size(queue); ASSERT_EQ(0, actual); QUEUE_free(queue); PASS(); } TEST firs...
{ "domain": "codereview.stackexchange", "id": 34497, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c, unit-testing, queue", "url": null }
and equation. Detexify lets you draw a symbol on a web page and then lists the TEX symbols that seem to resemble it. The Markdown parser included in the Jupyter Notebook is MathJax-aware. F = symsum(f,k) returns the indefinite sum (antidifference) of the series f with respect to the summation index k. The size of some ...
{ "domain": "puntoopera.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9504109728022221, "lm_q1q2_score": 0.8402006294041525, "lm_q2_score": 0.8840392771633078, "openwebmath_perplexity": 1388.7920082618878, "openwebmath_score": 0.952876627445221, "tag...
diffusion, models, half-life Title: How to model mass diffusion with half life I am in the process of writing a model for the diffusion of a chemical in an aqueous medium. Typically, to do this, one would use the diffusion equation $$\frac{\partial}{\partial t}U=\gamma \nabla ^2 U$$ where $U(\mathbf{x},t)$ is the conc...
{ "domain": "physics.stackexchange", "id": 58348, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "diffusion, models, half-life", "url": null }
navigation, pose, rviz, amcl, 2d-pose-estimate time_increment: 0.0 scan_time: 0.0329999998212 range_min: 0.449999988079 range_max: 10.0 Comment by kuka_kuka on 2018-07-16: ranges: [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, 3.259399652481079, 3.256758689880...
{ "domain": "robotics.stackexchange", "id": 31264, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "navigation, pose, rviz, amcl, 2d-pose-estimate", "url": null }
newtonian-mechanics, rotational-dynamics, torque Title: Paradox in applying Newton's second law Suppose I apply two vertical but opposite forces with the same magnitude in a body like is shown in the picture: According to newton's second law, the center of mass shouldn't accelerate, since the sum of the forces in the...
{ "domain": "physics.stackexchange", "id": 21435, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "newtonian-mechanics, rotational-dynamics, torque", "url": null }
quantum-mechanics, homework-and-exercises, hilbert-space, operators, harmonic-oscillator Title: Uncertainty in eigenstate of $Q=\mu a+\nu a^\dagger$ Consider a particle in simple harmonic oscillator potential. Suppose the eigenstate of the operator $$Q=\mu a+\nu a^\dagger$$ with eigenvalue $\alpha$ where $\mu,\nu $ an...
{ "domain": "physics.stackexchange", "id": 83144, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, homework-and-exercises, hilbert-space, operators, harmonic-osci...
quantum-gate, ibm-quantum-devices Title: CNOT error rate of 1 in IBM backends I have noticed that some CNOT gates (for instance, between qubits 1 and 2 in ibmq_casablanca) display an error rate of 1 while typical error rates are of course much smaller. How is that even possible? What does it mean? Great observation! T...
{ "domain": "quantumcomputing.stackexchange", "id": 2731, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-gate, ibm-quantum-devices", "url": null }
To test our question in a statistical way, we use hypothesis testing. Our null hypothesis is \displaystyle \begin{aligned} H_0:\quad \theta_1=\theta_2=\cdots = \theta_n, \end{aligned} \ \ \ \ \ (1) and our alternative hypothesis is \displaystyle \begin{aligned} H_1:\quad \theta_i\not= \theta_j \quad \text{for some}\...
{ "domain": "threesquirrelsdotblog.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.992422758508031, "lm_q1q2_score": 0.8204475928070726, "lm_q2_score": 0.8267117876664789, "openwebmath_perplexity": 11766.24440627605, "openwebmath_score": 1.0000014305114746,...
assembly 111 E81C00 call GetMap Unlike the original version of DEBUG that came bundled with DOS 6.22, I use a version that is 32 bit capable, but if one displays and debugs on same page, it just becomes a big mess, so output is directed to page 1 @ B9???. To see the results, I switch to that page, wai...
{ "domain": "codereview.stackexchange", "id": 26498, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "assembly", "url": null }
quantum-field-theory, special-relativity, antimatter, duality the virtual particle can move faster than light, which would make it possible for the electron and photon to... Suppose two real particles exert a force on each other by exchanging a virtual one. If this worked like one person throwing a ball at another on...
{ "domain": "physics.stackexchange", "id": 81283, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, special-relativity, antimatter, duality", "url": null }
javascript, html, html5, canvas Title: Basic HTML5 Canvas/Javascript testing I've written this bit of JavaScript to just learn basics of drawing on/interacting with the HTML5 canvas element. Just want to make sure I'm doing things "correctly" in case I have any glaring code gaffs or there's a more efficient way. func...
{ "domain": "codereview.stackexchange", "id": 621, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript, html, html5, canvas", "url": null }
virus Title: Why is herpes virus neurotropic? A neurotropic virus is a virus which capable of infecting nerve cells. Herpes simplex virus (HSV) has low neuroinvasivesess and high neurovirulence. HSV is transmitted in vesicle fluid, saliva and vaginal secretions. So the site of infection determines the disease - "mixi...
{ "domain": "biology.stackexchange", "id": 7463, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "virus", "url": null }
special-relativity &=B\left(\frac{\sqrt{7}}{4},\left(-\frac{2}{\sqrt{7}},-\frac{\sqrt{3}}{\sqrt{7}},0\right)\right)\\ &= \left( \begin{array}{cccc} \frac{4}{3} & \frac{2}{3} & \frac{1}{\sqrt{3}} & 0 \\ \frac{2}{3} & \frac{25}{21} & \frac{2}{7 \sqrt{3}} & 0 \\ \frac{1}{\sqrt{3}} & \frac{2}{7 \sqrt{3}} & \frac{8}{7} ...
{ "domain": "physics.stackexchange", "id": 62711, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "special-relativity", "url": null }
general-relativity, black-holes, mass Title: Is the minimum mass of a black hole the planck mass? Leonard Susskind said "It's thought to be the mass of the smallest black hole that can form" (or something like that when referring to the planck mass in his string theory lectures) and I've always been told that the plan...
{ "domain": "physics.stackexchange", "id": 35525, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "general-relativity, black-holes, mass", "url": null }
electrochemistry, redox, nomenclature, electrons "*Negative is cathode", it says, and we are back to my question in the top: why do the electrons (black spheres) move towards the negative cathode in that schematic? Many more diagrams agreeing with this latter one are found from a simple google search. There is no comp...
{ "domain": "chemistry.stackexchange", "id": 11786, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrochemistry, redox, nomenclature, electrons", "url": null }
# Sum of non-real roots of equation? What is the sum of all non-real, complex roots of this equation - $$x^5 = 1024$$ Also, please provide explanation about how to find sum all of non real, complex roots of any $n$ degree polynomial. Is there any way to determine number of real and non-real roots of an equation? • ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9399133464597458, "lm_q1q2_score": 0.8199309386495194, "lm_q2_score": 0.8723473730188542, "openwebmath_perplexity": 286.33564735976296, "openwebmath_score": 0.9998109936714172, "ta...
quantum-mechanics, hamiltonian, open-quantum-systems $$ \frac{d\rho(t)}{dt} \simeq - i [H_A,\rho(t)] - g^2 \int_0^t ds\ e^{-i H_A t} \mathrm{Tr}_{R}\left( \big[ V(t), [ V(s) , e^{+i H_A s}\rho(s)e^{-i H_A s} \otimes \varrho_{R} ] \big] \right)e^{+i H_A t} \ , $$ and then it would seem reasonable to replace $\rho(s) \t...
{ "domain": "physics.stackexchange", "id": 58227, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, hamiltonian, open-quantum-systems", "url": null }