logarithm
Find logarithm in cuda
How do I开发者_运维百科 find logarithm in cuda? I\'m looking for a device function. ThanksYou can use:[详细]
2023-02-18 12:57 分类:问答Manually specifying tick marks on a logarithmic axis in JFreeChart
Using JFreeChart I have a plot with a LogAxis with tick marks on the domain axis of an XYPlot that are determined automatically based on the width of the graph. My domain values are 0.01, 0.05, 0.1, 0[详细]
2023-02-16 13:58 分类:问答O(n log log n) time complexity
I have a short program here: Given any n: i = 0; while (i < n) { k = 2; while (k < n) { sum += a[j] * b[k][详细]
2023-02-15 10:27 分类:问答Calculating Base-n logarithm in Ruby
This one seems like an easy开发者_如何学运维 one, but I\'m having trouble calculating log (Base 5) in Ruby.[详细]
2023-02-06 20:43 分类:问答How can I add random “fuzz” to this formula, so that the randomness diminishes as values increase?
I\'m developing an open-ended strategy game.I am using the following formula to calculate damage: $rand = rand($a, $b) + $c;[详细]
2023-02-01 15:07 分类:问答I'm in need for a floating point expert
Can anyone explain to me in detail how this log2 function works: inline float fast_log2 (float val) { int * constexp_ptr = reinterpret_cast <int *> (&a开发者_JAVA百科mp;val);[详细]
2023-01-31 10:36 分类:问答Plotting errorbars in the logarithmic domain with negative values (Matlab)
I have a vector, call it x, which contains very small numbers that I calculated from a mean.开发者_如何学CI\'d like to plot the logarithmic transform of x, say y=10*log10(x), along with errorbars equa[详细]
2023-01-30 04:05 分类:问答Logarithmic distribution
First of all, math is not my area. Imagine a problem like this: I have a number of money to spend, say 500, and i need to spend them on a fixed number of days, say 20. I have a fixed maximum of mone[详细]
2023-01-28 05:33 分类:问答axis equal in a Matlab loglog plot
In Matlab the command \'axis equal\': sets the aspect ratio so that equal tick mark increments on the x-,y- and z-axis are equal in size. This[详细]
2023-01-24 17:48 分类:问答Use UISider to generate a logarithmic scale of values
Is there a way to got the values outputted by a UISlider in an iPhone app to increase exponentially? For example the first third generate 1 -10开发者_运维技巧, the second third generate 11 to 100, and[详细]
2023-01-23 21:22 分类:问答