I have a list t1Funcsv0={0.10000000000, 1.00000*10^-7}
and I have a function
Maximum[functions_, min_, max_, type_] := (
Which[
Flatten[Position[functions, Max[functions]]],
Max[functions] == nt,
Flatten[Position[functions, nt]],
RankedMax[functions, 2] == nt,
Flatten[{Position[functions, Max[functions]],Position[functions,nt]}],
True,
Print["Error Maximum"]])
to which I pass t1Funcsv0 as well as other arguments. I would like to get the name of the symbol "t1Funcsv0" inside the function Maximum.
I tried to use SymbolName[Unevaluated@functions]
as I found in Obtaining the name of a variable as a string and Get the name of a symbol passed to a function but it doesn't work because "functions" is already evaluated
HoldFirst
. Have you tried that? $\endgroup$Trace
I get{t1Funcsv0,{0.10000000000, 1.00000*10^-7}}
$\endgroup$