Why does Arg'[1. + I] return -0.5? Announcing the arrival of Valued Associate #679: Cesar...
My admission is revoked after accepting the admission offer
Is accepting an invalid credit card number a security issue?
How to pronounce the unstressed е in прише́дшие?
Drawing a german abacus as in the books of Adam Ries
Is Bran literally the world's memory?
How to avoid introduction cliches
Why do games have consumables?
How would this chord from "Rocket Man" be analyzed?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Why WordPress uses 4 tables to manage terms
Raising a bilingual kid. When should we introduce the majority language?
Do I need to protect SFP ports and optics from dust/contaminants? If so, how?
My bank got bought out, am I now going to have to start filing tax returns in a different state?
How to open locks without disable device?
What does a straight horizontal line above a few notes, after a changed tempo mean?
Does Feeblemind produce an ongoing magical effect that can be dispelled?
A faster way to compute the largest prime factor
Why does Arg'[1. + I] return -0.5?
Can we hide a text first in a picture and then hide that image again in one more image?
What *exactly* is electrical current, voltage, and resistance?
Which big number is bigger?
Is Electric Central Heating worth it if using Solar Panels?
Are these square matrices always diagonalisable?
What to do with someone that cheated their way through university and a PhD program?
Why does Arg'[1. + I] return -0.5?
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?NDSolve with Piecewise gives the incorrect answer randomlyWhy is NHoldFirst not propagated to symbolic derivatives?Numerical errors/inaccuracies in ProductLogWhy does this integral have a complex component?Why is (-1.)^2. a complex numberWhy does FindMinimum return 'The function value Null is not a real number'?Funny behavior when integratingWhy am I getting RootSearch::numb:Magnitude is returning a complex number if I precede it with Complex Expand?How to take derivative of the argument of an interpolating function
$begingroup$
From the document we know that
Arg[z]gives the gives the argument of the complex numberz.
Then how about Arg'[z]? This seems to be meaningless, but Mathematica returns something if z is a non-exact number, for example
Arg'[1. + I]
(* -0.5 *)
So my question is:
How is the numeric value of
Arg'[z]defined?Why does
Arg'behave like this? What's the potential usage of this behavior?
calculus-and-analysis numerics complex implementation-details
$endgroup$
add a comment |
$begingroup$
From the document we know that
Arg[z]gives the gives the argument of the complex numberz.
Then how about Arg'[z]? This seems to be meaningless, but Mathematica returns something if z is a non-exact number, for example
Arg'[1. + I]
(* -0.5 *)
So my question is:
How is the numeric value of
Arg'[z]defined?Why does
Arg'behave like this? What's the potential usage of this behavior?
calculus-and-analysis numerics complex implementation-details
$endgroup$
$begingroup$
This can shed some light:Trace[ Arg'[1. + I], TraceInternal -> True ]
$endgroup$
– Kuba♦
3 hours ago
$begingroup$
It is impossible to understand what the output fromTrace[ Arg'[1. + I], TraceInternal -> True ]mean. May be numerics gone mad or something :) so just change1.0to1in the example given and thenArgwill no longer do what you show.
$endgroup$
– Nasser
3 hours ago
$begingroup$
@Kuba Oh blinding light…
$endgroup$
– xzczd
3 hours ago
$begingroup$
@Nasser and xzczd it looks like it calculates derivative value from set of points f orArg, but I wasn't paying too much attention.
$endgroup$
– Kuba♦
3 hours ago
add a comment |
$begingroup$
From the document we know that
Arg[z]gives the gives the argument of the complex numberz.
Then how about Arg'[z]? This seems to be meaningless, but Mathematica returns something if z is a non-exact number, for example
Arg'[1. + I]
(* -0.5 *)
So my question is:
How is the numeric value of
Arg'[z]defined?Why does
Arg'behave like this? What's the potential usage of this behavior?
calculus-and-analysis numerics complex implementation-details
$endgroup$
From the document we know that
Arg[z]gives the gives the argument of the complex numberz.
Then how about Arg'[z]? This seems to be meaningless, but Mathematica returns something if z is a non-exact number, for example
Arg'[1. + I]
(* -0.5 *)
So my question is:
How is the numeric value of
Arg'[z]defined?Why does
Arg'behave like this? What's the potential usage of this behavior?
calculus-and-analysis numerics complex implementation-details
calculus-and-analysis numerics complex implementation-details
edited 3 hours ago
xzczd
asked 3 hours ago
xzczdxzczd
27.9k576258
27.9k576258
$begingroup$
This can shed some light:Trace[ Arg'[1. + I], TraceInternal -> True ]
$endgroup$
– Kuba♦
3 hours ago
$begingroup$
It is impossible to understand what the output fromTrace[ Arg'[1. + I], TraceInternal -> True ]mean. May be numerics gone mad or something :) so just change1.0to1in the example given and thenArgwill no longer do what you show.
$endgroup$
– Nasser
3 hours ago
$begingroup$
@Kuba Oh blinding light…
$endgroup$
– xzczd
3 hours ago
$begingroup$
@Nasser and xzczd it looks like it calculates derivative value from set of points f orArg, but I wasn't paying too much attention.
$endgroup$
– Kuba♦
3 hours ago
add a comment |
$begingroup$
This can shed some light:Trace[ Arg'[1. + I], TraceInternal -> True ]
$endgroup$
– Kuba♦
3 hours ago
$begingroup$
It is impossible to understand what the output fromTrace[ Arg'[1. + I], TraceInternal -> True ]mean. May be numerics gone mad or something :) so just change1.0to1in the example given and thenArgwill no longer do what you show.
$endgroup$
– Nasser
3 hours ago
$begingroup$
@Kuba Oh blinding light…
$endgroup$
– xzczd
3 hours ago
$begingroup$
@Nasser and xzczd it looks like it calculates derivative value from set of points f orArg, but I wasn't paying too much attention.
$endgroup$
– Kuba♦
3 hours ago
$begingroup$
This can shed some light:
Trace[ Arg'[1. + I], TraceInternal -> True ]$endgroup$
– Kuba♦
3 hours ago
$begingroup$
This can shed some light:
Trace[ Arg'[1. + I], TraceInternal -> True ]$endgroup$
– Kuba♦
3 hours ago
$begingroup$
It is impossible to understand what the output from
Trace[ Arg'[1. + I], TraceInternal -> True ] mean. May be numerics gone mad or something :) so just change 1.0 to 1 in the example given and then Arg will no longer do what you show.$endgroup$
– Nasser
3 hours ago
$begingroup$
It is impossible to understand what the output from
Trace[ Arg'[1. + I], TraceInternal -> True ] mean. May be numerics gone mad or something :) so just change 1.0 to 1 in the example given and then Arg will no longer do what you show.$endgroup$
– Nasser
3 hours ago
$begingroup$
@Kuba Oh blinding light…
$endgroup$
– xzczd
3 hours ago
$begingroup$
@Kuba Oh blinding light…
$endgroup$
– xzczd
3 hours ago
$begingroup$
@Nasser and xzczd it looks like it calculates derivative value from set of points f or
Arg, but I wasn't paying too much attention.$endgroup$
– Kuba♦
3 hours ago
$begingroup$
@Nasser and xzczd it looks like it calculates derivative value from set of points f or
Arg, but I wasn't paying too much attention.$endgroup$
– Kuba♦
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The internal Trace[] Kuba advises shows calculations consistent with the numeric approximation of the partial derivative with respect to the real part:
D[ComplexExpand[Arg[x + I y], TargetFunctions -> {Re, Im}], x] /.
x -> 1 /. y -> 1
(* -(1/2) *)
This is what Mathematica does with the derivative of a numeric function with approximate input.
Other examples:
ClearAll[f, g];
f[x_?NumericQ] := Re[x]^2;
g[x_?NumericQ] := Im[x]^2;
f'[1. + I]
g'[1. + I]
(*
1.999999999999995`
-2.7506672371246275`*^-15
*)
It seems like the wrong way to evalutate Derivative.
$endgroup$
$begingroup$
Funny,Abs'[2. + I]returns the input.
$endgroup$
– xzczd
10 mins ago
add a comment |
$begingroup$
The definition of the argument is $arg(z)=text{Im}(ln(z))$. Its partial derivative with respect to $z$ would then be
$$
frac{partial arg(z)}{partial z}=
frac{partial}{partial z}frac{ln(z)-ln(z^*)}{2i}
= -frac{i}{2z}.
$$
What you see looks like twice the real part of this expression:
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)]}]
(* {-0.172414, -0.172414} *)
I don't know in which sense this is the "correct" answer. It could be that what is actually calculated is not the partial derivative with respect to $z$, but rather the sum of partial derivatives
$$
frac{partial arg(z)}{partial z}
+frac{partial arg(z)}{partial z^*}
= -frac{i}{2z}+frac{i}{2z^*}
= -frac{text{Im}(z)}{|z|^2}
$$
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)], -Im[z]/Abs[z]^2}]
(* {-0.172414, -0.172414, -0.172414} *)
$endgroup$
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Any idea why thenWith[{z = 1.0 + I}, Arg'[z]]not same asWith[{z = 1 + I}, Arg'[z]]? Should not these give same result?
$endgroup$
– Nasser
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you applyN:Arg'[1 + I] // Nalso gives-0.5.
$endgroup$
– Roman
2 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "387"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f196998%2fwhy-does-arg1-i-return-0-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The internal Trace[] Kuba advises shows calculations consistent with the numeric approximation of the partial derivative with respect to the real part:
D[ComplexExpand[Arg[x + I y], TargetFunctions -> {Re, Im}], x] /.
x -> 1 /. y -> 1
(* -(1/2) *)
This is what Mathematica does with the derivative of a numeric function with approximate input.
Other examples:
ClearAll[f, g];
f[x_?NumericQ] := Re[x]^2;
g[x_?NumericQ] := Im[x]^2;
f'[1. + I]
g'[1. + I]
(*
1.999999999999995`
-2.7506672371246275`*^-15
*)
It seems like the wrong way to evalutate Derivative.
$endgroup$
$begingroup$
Funny,Abs'[2. + I]returns the input.
$endgroup$
– xzczd
10 mins ago
add a comment |
$begingroup$
The internal Trace[] Kuba advises shows calculations consistent with the numeric approximation of the partial derivative with respect to the real part:
D[ComplexExpand[Arg[x + I y], TargetFunctions -> {Re, Im}], x] /.
x -> 1 /. y -> 1
(* -(1/2) *)
This is what Mathematica does with the derivative of a numeric function with approximate input.
Other examples:
ClearAll[f, g];
f[x_?NumericQ] := Re[x]^2;
g[x_?NumericQ] := Im[x]^2;
f'[1. + I]
g'[1. + I]
(*
1.999999999999995`
-2.7506672371246275`*^-15
*)
It seems like the wrong way to evalutate Derivative.
$endgroup$
$begingroup$
Funny,Abs'[2. + I]returns the input.
$endgroup$
– xzczd
10 mins ago
add a comment |
$begingroup$
The internal Trace[] Kuba advises shows calculations consistent with the numeric approximation of the partial derivative with respect to the real part:
D[ComplexExpand[Arg[x + I y], TargetFunctions -> {Re, Im}], x] /.
x -> 1 /. y -> 1
(* -(1/2) *)
This is what Mathematica does with the derivative of a numeric function with approximate input.
Other examples:
ClearAll[f, g];
f[x_?NumericQ] := Re[x]^2;
g[x_?NumericQ] := Im[x]^2;
f'[1. + I]
g'[1. + I]
(*
1.999999999999995`
-2.7506672371246275`*^-15
*)
It seems like the wrong way to evalutate Derivative.
$endgroup$
The internal Trace[] Kuba advises shows calculations consistent with the numeric approximation of the partial derivative with respect to the real part:
D[ComplexExpand[Arg[x + I y], TargetFunctions -> {Re, Im}], x] /.
x -> 1 /. y -> 1
(* -(1/2) *)
This is what Mathematica does with the derivative of a numeric function with approximate input.
Other examples:
ClearAll[f, g];
f[x_?NumericQ] := Re[x]^2;
g[x_?NumericQ] := Im[x]^2;
f'[1. + I]
g'[1. + I]
(*
1.999999999999995`
-2.7506672371246275`*^-15
*)
It seems like the wrong way to evalutate Derivative.
answered 27 mins ago
Michael E2Michael E2
151k12203483
151k12203483
$begingroup$
Funny,Abs'[2. + I]returns the input.
$endgroup$
– xzczd
10 mins ago
add a comment |
$begingroup$
Funny,Abs'[2. + I]returns the input.
$endgroup$
– xzczd
10 mins ago
$begingroup$
Funny,
Abs'[2. + I] returns the input.$endgroup$
– xzczd
10 mins ago
$begingroup$
Funny,
Abs'[2. + I] returns the input.$endgroup$
– xzczd
10 mins ago
add a comment |
$begingroup$
The definition of the argument is $arg(z)=text{Im}(ln(z))$. Its partial derivative with respect to $z$ would then be
$$
frac{partial arg(z)}{partial z}=
frac{partial}{partial z}frac{ln(z)-ln(z^*)}{2i}
= -frac{i}{2z}.
$$
What you see looks like twice the real part of this expression:
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)]}]
(* {-0.172414, -0.172414} *)
I don't know in which sense this is the "correct" answer. It could be that what is actually calculated is not the partial derivative with respect to $z$, but rather the sum of partial derivatives
$$
frac{partial arg(z)}{partial z}
+frac{partial arg(z)}{partial z^*}
= -frac{i}{2z}+frac{i}{2z^*}
= -frac{text{Im}(z)}{|z|^2}
$$
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)], -Im[z]/Abs[z]^2}]
(* {-0.172414, -0.172414, -0.172414} *)
$endgroup$
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Any idea why thenWith[{z = 1.0 + I}, Arg'[z]]not same asWith[{z = 1 + I}, Arg'[z]]? Should not these give same result?
$endgroup$
– Nasser
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you applyN:Arg'[1 + I] // Nalso gives-0.5.
$endgroup$
– Roman
2 hours ago
add a comment |
$begingroup$
The definition of the argument is $arg(z)=text{Im}(ln(z))$. Its partial derivative with respect to $z$ would then be
$$
frac{partial arg(z)}{partial z}=
frac{partial}{partial z}frac{ln(z)-ln(z^*)}{2i}
= -frac{i}{2z}.
$$
What you see looks like twice the real part of this expression:
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)]}]
(* {-0.172414, -0.172414} *)
I don't know in which sense this is the "correct" answer. It could be that what is actually calculated is not the partial derivative with respect to $z$, but rather the sum of partial derivatives
$$
frac{partial arg(z)}{partial z}
+frac{partial arg(z)}{partial z^*}
= -frac{i}{2z}+frac{i}{2z^*}
= -frac{text{Im}(z)}{|z|^2}
$$
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)], -Im[z]/Abs[z]^2}]
(* {-0.172414, -0.172414, -0.172414} *)
$endgroup$
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Any idea why thenWith[{z = 1.0 + I}, Arg'[z]]not same asWith[{z = 1 + I}, Arg'[z]]? Should not these give same result?
$endgroup$
– Nasser
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you applyN:Arg'[1 + I] // Nalso gives-0.5.
$endgroup$
– Roman
2 hours ago
add a comment |
$begingroup$
The definition of the argument is $arg(z)=text{Im}(ln(z))$. Its partial derivative with respect to $z$ would then be
$$
frac{partial arg(z)}{partial z}=
frac{partial}{partial z}frac{ln(z)-ln(z^*)}{2i}
= -frac{i}{2z}.
$$
What you see looks like twice the real part of this expression:
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)]}]
(* {-0.172414, -0.172414} *)
I don't know in which sense this is the "correct" answer. It could be that what is actually calculated is not the partial derivative with respect to $z$, but rather the sum of partial derivatives
$$
frac{partial arg(z)}{partial z}
+frac{partial arg(z)}{partial z^*}
= -frac{i}{2z}+frac{i}{2z^*}
= -frac{text{Im}(z)}{|z|^2}
$$
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)], -Im[z]/Abs[z]^2}]
(* {-0.172414, -0.172414, -0.172414} *)
$endgroup$
The definition of the argument is $arg(z)=text{Im}(ln(z))$. Its partial derivative with respect to $z$ would then be
$$
frac{partial arg(z)}{partial z}=
frac{partial}{partial z}frac{ln(z)-ln(z^*)}{2i}
= -frac{i}{2z}.
$$
What you see looks like twice the real part of this expression:
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)]}]
(* {-0.172414, -0.172414} *)
I don't know in which sense this is the "correct" answer. It could be that what is actually calculated is not the partial derivative with respect to $z$, but rather the sum of partial derivatives
$$
frac{partial arg(z)}{partial z}
+frac{partial arg(z)}{partial z^*}
= -frac{i}{2z}+frac{i}{2z^*}
= -frac{text{Im}(z)}{|z|^2}
$$
With[{z = 2. + 5 I},
{Arg'[z], 2Re[-I/(2z)], -Im[z]/Abs[z]^2}]
(* {-0.172414, -0.172414, -0.172414} *)
edited 2 hours ago
answered 3 hours ago
RomanRoman
6,06511132
6,06511132
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Any idea why thenWith[{z = 1.0 + I}, Arg'[z]]not same asWith[{z = 1 + I}, Arg'[z]]? Should not these give same result?
$endgroup$
– Nasser
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you applyN:Arg'[1 + I] // Nalso gives-0.5.
$endgroup$
– Roman
2 hours ago
add a comment |
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Any idea why thenWith[{z = 1.0 + I}, Arg'[z]]not same asWith[{z = 1 + I}, Arg'[z]]? Should not these give same result?
$endgroup$
– Nasser
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you applyN:Arg'[1 + I] // Nalso gives-0.5.
$endgroup$
– Roman
2 hours ago
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Er… how is derivative of $ln(z^*)$ defined here?
$endgroup$
– xzczd
2 hours ago
$begingroup$
Any idea why then
With[{z = 1.0 + I}, Arg'[z]] not same as With[{z = 1 + I}, Arg'[z]]? Should not these give same result?$endgroup$
– Nasser
2 hours ago
$begingroup$
Any idea why then
With[{z = 1.0 + I}, Arg'[z]] not same as With[{z = 1 + I}, Arg'[z]]? Should not these give same result?$endgroup$
– Nasser
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@xzczd $z$ and $z^*$ are independent variables in complex analysis, so $partial z^*/partial z=0$ etc.
$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you apply
N: Arg'[1 + I] // N also gives -0.5.$endgroup$
– Roman
2 hours ago
$begingroup$
@Nasser they do give the same result when you apply
N: Arg'[1 + I] // N also gives -0.5.$endgroup$
– Roman
2 hours ago
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f196998%2fwhy-does-arg1-i-return-0-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
This can shed some light:
Trace[ Arg'[1. + I], TraceInternal -> True ]$endgroup$
– Kuba♦
3 hours ago
$begingroup$
It is impossible to understand what the output from
Trace[ Arg'[1. + I], TraceInternal -> True ]mean. May be numerics gone mad or something :) so just change1.0to1in the example given and thenArgwill no longer do what you show.$endgroup$
– Nasser
3 hours ago
$begingroup$
@Kuba Oh blinding light…
$endgroup$
– xzczd
3 hours ago
$begingroup$
@Nasser and xzczd it looks like it calculates derivative value from set of points f or
Arg, but I wasn't paying too much attention.$endgroup$
– Kuba♦
3 hours ago