print(*cmath.polar(cnum), sep ='\n')   I just came across this line while solving a complex number problem. What is the use of * before cmath?
866
In the following method definitions, what does the * and ** do for param2?  def foo(param1, *param2): def bar(param1, **param2):
30392
Is there an isnan() function?  PS.: I'm in  (if that makes a difference).  I had this solved by using isnan() from &lt;math.h&gt;, which doesn't exist in &lt;cmath&gt;, which I was #includeing at first.
43330
In python, if I say  print 'h'   I get the letter h and a newline.  If I say   print 'h',   I get the letter h and no newline.  If I say  print 'h', print 'm',   I get the letter h, a space, and the letter m.  How can I prevent Python from printing the space?  The print statements are different iterations of the same loop so I can't just use the + operator.
116712
When writing an integral, it seems like something should be done to separate the "d", as in \int f(x) dx, so as not to confuse it with a variable. I've seen it left as-is, bolded, and straightened. Even among those options there are several ways to accomplish each task; e.g., I could do a \mathrm or a \operatorname. What is the preferred method of dealing with the "d"?
40189
In one of my papers I found a notation where 2 letters one under other are placed in brackets without any additional operation symbol - attached image (N m). What does this mean, is this a shortcut of summation?
123843
Why is a parameter in the POSIX find command added with a single hyphen for multi-character parameter names, while most other programs use single hyphen to indicate multiple single-character flags, and double-hyphens to indicate single parameter names with multiple characters?  This seems inconsistent, and I'm curious as to  A. why it's really not inconsistent, or  B. the history of that decision.
51174
This appears to be an easy concept, but I'm having difficulty finding out what is going on via Google:  I have a binary file generated by a C program, example_binary.   After using cat example_binary, the output looks like a typical output after running cat on a compressed file.   However, after cat has finished, letters and numbers remain on the command line. In this case, I see 1;2c.   $ cat example_binary ... $ 1;2c   Why would there be leftover numbers and letters remaining on the command line? What does 1;2c mean?
19967
I make frequent use of |- and -| with computed points in diagrams, like so:  \coordinate (a) at (0,0); \foreach \x in (1,...,10) {     \coordinate (b) at ({whateverFunction(\x)},{whateverOtherFunction(\x)});     \draw (a) |- (b); %Straight line segment     \draw (b) -| (a); %Another straight line segment     \coordinate (a) at (b); }   To get plots like:   I would like to be able to label the midpoint of each line segment, but doing something like node[midway,above] {a} does not act like expected:    I want something like:    Why does midway not work, and what is a good workaround here?
21218
I've been in a lengthy discussion today about how to interpret the division symbol. There seem to be two views on what it means.  • Everything on the left hand symbol is divided by everything on the right hand of the symbol. or  • The operator only deals with the term to its immediate left and right.  Which is correct? I tried to find a specific definition for the usage of the division operator but I couldn't find it.
9683
Hey all I asked this over  =) and I got a good answer but I still have no idea whats going on. I want to know how the expression got to the answer and maybe the math behind how it was reasoned.. the steps if you would be so kind. The likelihood is I don't understand the equation.   I'm not a big maths person please be gentle :p     For all those playing along at home I'm reading Absolute Java 5th   Edition by Walter Savitch (Chapter 2 Page 66).      The Expression  double d = 12345.123456789; System.out.printf("START%12.5e END %n", d);       The Answer  START 1.23451e+04END       I understand the basic principles of this printf method's arguments   for example I know the '%' represents the start of the parameters.   '12' is the number of spacing, '.5' is the times the decimal point   will move.... I see the decimal point has moved 4 places towards the   left... can someone explain the principles of e-notation. Also how   this expression came to this answer =).      As far as e-notation go's its meant to be scientific notation;      So like 5.89e-4 would mean 0.000589 (move the decimal place if minus   left if not move the decimal place right).
21492
Using the following command, could someone please explain what exactly is the purpose for the ending curly braces ({}) and plus sign (+)?  And how would the command operate differently if they were excluded from the command?  find . -type d -exec chmod 775 {} +
29407
How do I combine the !.5! operator with the -| operator?  I want a node that has x-coordinate equal to the average of x coordinates of nodes A and B, and a y-coordinate equal to the average the y coordinates of nodes C and D.
32816
I have seen many files which have this line as the first line in them. What exactly is this?  #!/usr/bin/env python   What does it mean? Why is it necessary?
107622
I want to use a slanted \sum symbol denoting a different meaning from summation. How do I get a slanted \sum symbol?
32266
What I am thinking was I need two formulas, AX.p(X) => something AX.p(X) => ~ something   I guess something maybe is the p(x) and the other is ~p(x) since we was given EX.~p(x)..But actually it can't work for me. And I guess maybe is EX.~p(x) and ~EX.~p(x)..But if I am doing that then the it will go to deadend..so I give up..;(  Wish someone can help me.   For note about EE: 1: EX.p(X) 2: AX.(p(X) => something) 3: something EE1,2 But something cann't have the free variable from p..in this sample, then soemthing cannot including X..so if something is p(X) it cannot use EE, but if p(Y) then can use EE.
91288
As stated in the subject, this is just a curiosity about the nomenclature that is used in some Complex Analysis textbooks (particularly in problem statements).  I would think that writing "f(z)" would be the most general method of indicating f is a function in the complex plane.  Does simply writing "f" mean the same thing as "f(z)" or am I missing out on something serious here?  Thanks!
75348
I am looking for suggestions on how to typeset complex numbers in the modulo-argument form, sometimes called phasor notation. Have already checked  but nobody mentions this in particular. I am explicitly excluding exponential and sine-cosine notations. My MWE is as follows  \documentclass{article} \begin{document}     $z = r \angle \phi$ \end{document}   I think it looks ugly, specially if the angle has many digits, ie  $z = 1.19 \angle -78.2039^{\circ}$   I was thinking of an \angle replacement which maybe would extend the lower segment up to the last digit. What do you think?  EDIT: It looks like the steinmetz package doesn't do a good job with the vertical space if the \phasor{} argument has a \fraction{}{} with parenthesis, see:  \documentclass{article} \usepackage{steinmetz}  \begin{document}     Something.     \[I = I \phase{\left(\frac{A_0}{B_0}\right)}\]     This line is too close to the upper equation, don't you think?      \[I = I \phase{\left(\frac{A_0}{B_0}\right)}\]     Whereas this line is NOT so close to the upper equation. \end{document}   Strangely, commenting the first line (% Something.) fixes the problem. Is there any way to fix this?