1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
|
# pgfmath package
# muzimuzhi 7 Jul 2020, tikz-pgf 3.1.5b
#include:pgfrcs
#include:pgfkeys
# Dependency Tree:
# pgfmath.sty
# ├── pgfrcs.sty
# ├── pgfkeys.sty
# └── pgfmath.code.tex
# ├── pgfkeys.code.tex (already loaded by pgfkeys.sty)
# ├── pgfmathcalc.code.tex
# │ ├── pgfmathutil.code.tex
# │ ├── pgfmathparser.code.tex
# │ └── pgfmathfunctions.code.tex
# │ ├── pgfmathfunctions.basic.code.tex
# │ ├── pgfmathfunctions.trigonometric.code.tex
# │ ├── pgfmathfunctions.random.code.tex
# │ ├── pgfmathfunctions.comparison.code.tex
# │ ├── pgfmathfunctions.base.code.tex
# │ ├── pgfmathfunctions.round.code.tex
# │ ├── pgfmathfunctions.misc.code.tex
# │ └── pgfmathfunctions.integerarithmetics.code.tex
# └── pgfmathfloat.code.tex
\pgfmathloaded#S
# from pgfmathcalc.code.tex
\pgfmathsetlength{length register}{math expression}#*
\pgfmathaddtolength{length register}{math expression}#*
\pgfmathsetcount{count register}{math expression}#*
\pgfmathaddtocount{count register}{math expression}#*
\pgfmathsetcounter{counter}{math expression}#*
\pgfmathaddtocounter{counter}{math expression}#*
\pgfmathsetmacro{cmd}{math expression}#*d
\pgfmathsetlengthmacro{cmd}{math expression}#*d
\pgfmathtruncatemacro{cmd}{math expression}#*d
\pgfmathnewcounter{counter}#*
\pgfmathmakecounterglobal{counter}#*
\pgfmathanglebetweenpoints{point 1}{point 2}#*
\pgfmathanglebetweenlines{line 1 start}{line 1 end}{line 2 start}{line 2 end}#*
\pgfmathrotatepointaround{point}{rotate center}{degree}#*
\pgfmathreflectpointalongaxis{point}{point on axis}{axis angle}#*
\pgfmathpointintersectionoflineandarc{point 1}{point 2}{arc center}{start angle}{end angle}{radii}#*
\pgfmathangleonellipse{point on ellipse}{radii}#*
# from pgfmathutil.code.tex
\pgfmathincluded#*
\ifpgfmathcontinueloop#*
\pgfmathcontinuelooptrue#*
\pgfmathcontinueloopfalse#*
\pgfmathloop %<loop body%>\repeatpgfmathloop#*
\repeatpgfmathloop#*
\pgfmathbreakloop#*
\pgfmathreturn#*
\pgfmathcounter#*
\pgfmathsmuggle%<macro%>\endgroup#*
# from pgfmathparser.code.tex
\ifpgfmathfloat#*
\pgfmathfloattrue#*
\pgfmathfloatfalse#*
\ifpgfmathunitsdeclared#*
\pgfmathunitsdeclaredtrue#*
\pgfmathunitsdeclaredfalse#*
\ifpgfmathmathunitsdeclared#*
\pgfmathmathunitsdeclaredtrue#*
\pgfmathmathunitsdeclaredfalse#*
\ifpgfmathignoreunitscale#*
\pgfmathignoreunitscaletrue#*
\pgfmathignoreunitscalefalse#*
\pgfmathprint{real number}
\pgfmathparse{math expression}
\pgfmathqparse{math expression}#*
\pgfmathpostparse#*
\pgfmathscaleresult#*
\pgfmathsetresultunitscale{scale value}#*
\pgfmathresultunitscale#*
\pgfmathifexpression{math expression}{true}{false}#*
\pgfmathdeclareoperator{op}{op name}{arity}{type}{precedence}#*
# from pgfmathfunctions.code.tex
\pgfmathdeclarefunction{name}{num of args}{code}#*
\pgfmathdeclarefunction*{name}{num of args}{code}#*
\pgfmathredeclarefunction{name}{code}#*
\pgfmathnotifynewdeclarefunction{name}{num of args}{code}#*
\pgfmathdeclarepseudoconstant{name}{code}#*
\pgfmathredeclarepseudoconstant{name}{code}#*
# from pgfmathfunctions.basic.code.tex
\pgfmathadd{x}{y}#*
\pgfmathsubtract{x}{y}#*
\pgfmathneg{x}#*
\pgfmathmultiply{x}{y}#*
\pgfmathdivide{x}{y}#*
\pgfmathreciprocal{x}#*
\pgfmathdiv{x}#*
\pgfmathmod{x}{y}#*
\pgfmathMod{x}{y}#*
\pgfmathabs{x}#*
\pgfmathsign{x}#*
\pgfmathe#*
\pgfmathln{x}#*
\pgfmathlogten{x}#*
\pgfmathlogtwo{x}#*
\pgfmathexp{x}#*
\pgfmathsqrt{x}#*
\pgfmathpow{x}{power}#*
\pgfmathfactorial{x}#*
# from pgfmathfunctions.trigonometric.code.tex
\pgfmathpi#*
\pgfmathiftrigonometricusesdeg{true}{false}#*
\pgfmathradians{x in radians} # for compatibility with pgf 1.18 beta#*
\pgfmathdeg{x in radians}#*
\pgfmathrad{x in degrees}#*
\pgfmathsin{x in degrees}#*
\pgfmathcos{x in degrees}#*
\pgfmathsincos{num in degress}#*
\pgfmathtan{x in degrees}#*
\pgfmathcosec{x in degrees}#*
\pgfmathsec{x in degrees}#*
\pgfmathcot{x in degrees}#*
\pgfmathasin{x in degrees}#*
\pgfmathacos{x in degrees}#*
\pgfmathatan{x in degrees}#*
\pgfmathatantwo{y in degrees}{x in degrees}#*
# from pgfmathfunctions.random.code.tex
\pgfmathsetseed{integer}#*
\pgfmathgeneratepseudorandomnumber#*
\pgfmathrnd#*
\pgfmathrand#*
\pgfmathrandom{maximum int}#*
\pgfmathrandom{minimum int}{maximum int}#*
\pgfmathrandominteger{cmd}{minimum}{maximum}#*d
\pgfmathdeclarerandomlist{list name}{list of items}#*
\pgfmathrandomitem{cmd}{list name}#*d
# from pgfmathfunctions.comparison.code.tex
\pgfmathgreater{x}{y}#*
\pgfmathgreaterthan{x}{y}#*
\pgfmathless{x}{y}#*
\pgfmathlessthan{x}{y}#*
\pgfmathequal{x}{y}#*
\pgfmathequalto{x}{y}#*
\ifpgfmathcomparison#*
\pgfmathcomparisontrue#*
\pgfmathcomparisonfalse#*
\pgfmathapproxequalto{x}{y}#*
\pgfmathifthenelse{x}{true}{false}#*
\pgfmathnotequal{x}{y}#*
\pgfmathnotless{x}{y}#*
\pgfmathnotgreater{x}{y}#*
\pgfmathand{x}{y}#*
\pgfmathor{x}{y}#*
\pgfmathnot{x}#*
\pgfmathtrue#*
\pgfmathfalse#*
# from pgfmathfunctions.base.code.tex
\pgfmathbin{x in base 10}#*
\pgfmathhex{x in base 10}#*
\pgfmathHex{x in base 10}#*
\pgfmathoct{x in base 10}#*
\pgfmathbasetodec{cmd}{number}{base}#*d
\pgfmathdectobase{cmd}{number}{base}#*d
\pgfmathdectoBase{cmd}{number}{base}#*d
\pgfmathbasetobase{cmd}{number}{base1}{base2}#*d
\pgfmathbasetoBase{cmd}{number}{base1}{base2}#*d
\pgfmathsetbasenumberlength{integer}#*
\pgfmathtodigitlist{cmd}{number}#*d
# from pgfmathfunctions.round.code.tex
\pgfmathround{x}#*
\pgfmathfloor{x}#*
\pgfmathceil{x}#*
\pgfmathint{x}#*
\pgfmathfrac{x}#*
\pgfmathreal{x}#*
# from pgfmathfunctions.misc.code.tex
\pgfmathveclen{x coordinate}{y coordinate}#*
\pgfmathcosh{x in degree}#*
\pgfmathsinh{x in degree}#*
\pgfmathtanh{x in degree}#*
\pgfmathscientific{mantissa}{exponent}#*
\pgfmathwidth{"text"}#*
\pgfmathheight{"text"}#*
\pgfmathdepth{"text"}#*
\pgfmatharray{array}{index}#*
\pgfmathdim{array}#*
\pgfmathmax{num list}{num list}#*
\pgfmathmin{num list}{num list}#*
\pgfmathscalar{value}#*
# from pgfmathfunctions.integerarithmetics.code.tex
\pgfmathgcd{x}{y}#*
\pgfmathisprime{x}#*
\pgfmathisodd{x}#*
\pgfmathiseven{x}#*
# from pgfmathfloat.code.tex
\ifpgfmathfloatcomparison#*
\pgfmathfloatcomparisontrue#*
\pgfmathfloatcomparisonfalse#*
\ifpgfmathfloatroundhasperiod#*
\pgfmathfloatroundhasperiodtrue#*
\pgfmathfloatroundhasperiodfalse#*
\ifpgfmathprintnumberskipzeroperiod#*
\pgfmathprintnumberskipzeroperiodtrue#*
\pgfmathprintnumberskipzeroperiodfalse#*
\ifpgfmathfloatroundmayneedrenormalize#*
\pgfmathfloatroundmayneedrenormalizetrue#*
\pgfmathfloatroundmayneedrenormalizefalse#*
\pgfmathfloatparsenumber{number}#*
\pgfmathfloatqparsenumber{number}#*
\pgfmathfloattomacro{number}{flags macro%cmd}{mantissa macro%cmd}{exponent macro%cmd}#*d
\pgfmathfloattoregisters{number}{flags count}{mantissa dimen}{exponent count}#*
\pgfmathfloattoregisterstok{number}{flags count}{mantissa toks}{exponent count}#*
\pgfmathfloatgetflags{number}{flags count}#*
\pgfmathfloatgetflagstomacro{number}{flags macro%cmd}#*d
\pgfmathfloatgetmantissa{number}{mantissa dimen}#*
\pgfmathfloatgetmantisse{number}{mantissa dimen}#*
\pgfmathfloatgetmantissatok{number}{mantissa toks}#*
\pgfmathfloatgetmantissetok{number}{mantissa toks}#*
\pgfmathfloatgetexponent{number}{exponent count}#*
\pgfmathfloatcreate{flags}{mantissa}{exponent}#*
\pgfmathfloattofixed{float}#*
\pgfmathfloattoint{float}#*
\pgfmathfloattosci{float}#*
\pgfmathfloatvalueof{float}#*
\pgfmathroundto{fixed point number}#*
\pgfmathroundtozerofill{fixed point number}#*
\pgfmathfloatround{float}#*
\pgfmathfloatroundzerofill{float}#*
\pgfmathfloatrounddisplaystyle{flags}{mantissa}{exponent}#*
\pgfmathfloatgetfrac{number}#*
\pgfmathgreatestcommondivisor{int 1}{int 2}#*
\pgfmathifisint{number constant}{true}{false}#*
\pgfmathprintnumber{number}#*
\pgfmathprintnumberto{number}{cmd}#*d
\ifpgfmathfloatparsenumberpendingperiod#*
\pgfmathfloatparsenumberpendingperiodtrue#*
\pgfmathfloatparsenumberpendingperiodfalse#*
# variables
\pgfretval#*
\pgfmathresult
\pgfmathresulty#*
\pgfmathresultx#*
\pgfmathresultdenom#S
\pgfmathresultfractional#S
\pgfmathresultnumerator#S
\pgfmathresultX#S
|