search for: 2pi

Displaying 20 results from an estimated 733 matches for "2pi".

Did you mean: 2p
2013 Dec 17
3
In-string variable/symbol substitution: What formats/syntax is out there?
.../packages available in R for doing in-string variable/symbol substitution, e.g. someFcn("pi=${pi}"), anotherFcn("pi=@pi@") and so on becomes "pi=3.141593". I am aware of the following: ** gsubfn() in the 'gsubfn' package, e.g. > gsubfn( , , "pi = $pi, 2pi = `2*pi`") [1] "pi = 3.14159265358979, 2pi = 6.28318530717959" ** gstring() in the 'R.utils' package, e.g. > gstring("pi = ${pi}, 2pi = ${`2*pi`}") [1] "pi = 3.14159265358979, 2pi = 6.28318530717959" I'm sure there are other approaches - do you...
2007 Oct 16
0
doubts about Silhouette
...before attempting any clustering at all, or I have chosen the wrong variables in the data set. I'm somehow trying to cluster signal amplitudes that are not referred to the same phase values. For instance, if I have two sinusoids sampled at different phase values like: {sin(0), sin(1/4PI), sin(3/2PI)} and {cos(1/8PI), cos(1/2PI), cos(5/2PI)} is it meaningful to cluster the two set of values above or shall I first refer both signals to the same phase in advance of clustering, like: {sin(0), sin(1/4PI), sin(3/2PI)} and {cos(0I), cos(1/4PI), cos(3/2PI)} or: {sin(1/8PI), sin(1/2PI), sin(5/2...
2018 Dec 21
3
smbclient (Samba 4.9.4) "Unable to initialize messaging context"?
Sambadevs, I don't know if this is a bug or just a spurious error message when using smbclient (on a standalone config), but checking smbclient, I get: 02:47 2pi:~> smbclient -U% -Llocalhost Unable to initialize messaging context Sharename Type Comment --------- ---- ------- samba Disk 2pi - Law IPC$ IPC IPC Service (2pi Samba 4.9.4) Reconnecting with SMB1 for workgrou...
2019 May 13
1
Update to user-manual.html#Configuration_notes
...expected no problems with the configuration or starting the upsd service. I set ups.conf as: /etc/ups/ups.conf [stp_ups] driver = usbhid-ups port = auto desc = "stp CP825 UPS" However, no matter what I tried, I ended up with a failed start: May 12 22:16:41 2pi systemd[1]: Starting Network UPS Tools - power device driver controller... May 12 22:16:41 2pi upsdrvctl[541]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 12 22:16:41 2pi upsdrvctl[541]: USB communication driver 0.33 May 12 22:16:41 2pi upsdrvctl[541]: No matching HID UPS found May 12 2...
2010 Jul 28
1
kde on Torus
Hello, I have 2D-data on a torus, i.e. they are scattered within [0:2pi) and are supposed to be periodic with period 2pi. Is there a way in R for a kernel density estimation for such data? I found this article http://www.dmqte.unich.it/personal/dimarzio/density46.pdf but a) I don't fully understand the article (my knowledge in statistics is poor) b) I did not un...
2003 Aug 30
1
3D plot of a bivariate normal distribution
...,-1,1}, Axes->True, AxesLabel->{x,y}]; 3d graph rotation Do[ Plot3D[NB[x,y],{x,-1.5,1.5},{y,-1.5,1.5}, PlotPoints->20, Mesh ->False, SphericalRegion ->True, Axes ->None, Boxed ->False, ViewPoint->{2 Cos[t], 2 Sin[t], 1.3}, BoxRatios->{1,1,1} ],{t, 0, 2Pi-2Pi/36, 2Pi/36}] Thanks, Rafael -- bertola at fastmail.fm -- love email again
2012 Sep 19
3
[LLVMdev] InlineSpiller Questions
Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > On Sep 19, 2012, at 10:49 AM, <dag at cray.com> wrote: > >> Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: >> >> So if there are multiple values between r2 and r3 (r2.1, r2.2, etc.) I >> would just follow the chains implied by the Sib...
2011 Feb 21
1
plot numerous functions in one figure with different values of x per function
...ore experienced R users, I am not a professional programmer so please excuse me if my questions seem naive. I have only begun using R to solve some problems and I'm already regretting it 1. I am trying to plot different functions in the same figure. The first function f(x)= sin(x)+(pi/4) , -2pi<=x<=2pi the second function g(x) = {sin(x), 0 <= x <= pi or ?2pi <= x <= -pi {-pi/4, elsewhere my code is: > x<-seq(from=-2*pi,to=2*pi,length=1000) > fx<- (sin(x)+(pi/4)) > plot(x,fx,type="l",lty=1) > x2<- seq(from=0,to=pi) > x3<- se...
2023 Apr 01
1
Standalone - Multiple (2) responses received for a query on subnet ...
...es in other standalone machines about multiple responses from the WINS server. There is only a single WINS server on the network (as it has been since samba 2.02 or earlier). The WINS server is 192.168.6.14. The log message that is received for example in other wins clients is: Mar 31 16:54:30 2pi nmbd[38711]: [2023/03/31 16:54:30.530875, 0] ../../source3/nmbd/nmbd_namequery.c:109(query_name_response) Mar 31 16:54:30 2pi nmbd[38711]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.6.111 for name RLFPLLC<1d>. Mar 31 16:54:30 2pi nmbd[38711]: Thi...
2012 Aug 14
0
[LLVMdev] [RFC] Hexagon insn table refactoring
...mp in via the mailing-list. TIA -- Evandro Menezes Austin, TX emenezes at codeaurora.org Qualcomm Innovation Center, Inc is a member of the Code Aurora Forum -------------- next part -------------- An embedded message was scrubbed... From: Jakob Stoklund Olesen <stoklund at 2pi.dk> Subject: Re: [LLVMdev] [RFC] Hexagon insn table refactoring Date: Mon, 13 Aug 2012 11:47:47 -0700 Size: 3124 URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120814/95e73c2b/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Ev...
2007 Sep 17
1
How can I write routines and scripts in the R environment ?
*I would like to plot some semi-periodic signals as a function of the phase expressed as a value in [0,2PI]* *The problem is that the phase data is reported as the residual of the division by 2PI.* *For instance if the phase is 10.359 rd then:* *15.359 / 6.283185 = 2*6.283185 + 2.79263* *then only the residual 2.79263 is stored. * *In order to plot a number of consecutive cycles I have to add the corr...
2012 Sep 19
0
[LLVMdev] InlineSpiller Questions
On Sep 19, 2012, at 4:02 PM, dag at cray.com wrote: > Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > >> On Sep 19, 2012, at 10:49 AM, <dag at cray.com> wrote: >> >>> Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: >>> >>> So if there are multiple values between r2 and r3 (r2.1, r2.2, etc.) I >>> would just follow...
2012 Sep 19
2
[LLVMdev] InlineSpiller Questions
Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: >> If we decide to spill r3, we call traceSiblingValue to find the original >> def (the load). After traceSiblingValue we have the load instruction to >> define r1 and the value number information for r3. We don't have the >> value information from r2 a...
2013 Jun 12
3
[LLVMdev] RFC - Profile Guided Optimization in LLVM
On Wed, Jun 12, 2013 at 3:10 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote: > It predates the block frequency interface. It just needs to be hooked up, > patches welcome. It would also be nice to remove the floating point > computations from the spill placement code. Cool, if Diego doesn't beat me to it, I may send you a patch as that seems eas...
2011 Oct 11
2
[LLVMdev] Enhancing TableGen
On Oct 11, 2011, at 1:33 PM, David A. Greene wrote: > Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > >> How about: > > foreach x = [...] > > I could do > > foreach x in [...] > > but that requires another keyword. Do we care? The syntax should be consistent with let expressions, even if the meaning is completely different. That is: "f...
2011 Nov 16
2
[LLVMdev] Possible Remat Bug
Jakob Stoklund Olesen <stoklund at 2pi.dk> writes: > On Nov 16, 2011, at 9:15 AM, David Greene wrote: > >> I'm working on some enhancements to rematerialization that I hope to >> contribute. > > What do you have in mind? Rematting more types of loads. >> /// getReMatImplicitUse - If the remat defi...
2013 Apr 25
1
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 25.04.2013 18:58:05: > On Apr 25, 2013, at 4:44 AM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote: > > > Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54: > > > >> I would like to add one more case here: Fixed regi...
2013 Apr 25
2
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54: > I would like to add one more case here: Fixed register operands. > > Some instructions, like x86's MUL and DIV, take operands in fixed > registers. Currently, we handle that with COPY instructions to and > from the fixed registers, but that...
2016 Dec 01
2
Different results for cos,sin,tan and cospi,sinpi,tanpi
...place '1.23' by '1' in the above examples, the result of the unchnaged *pi() functions is 100% accurate, whereas R> sapply(c(cos,sin,tan), function(Fn) Fn(1e45*pi)) [1] -0.8847035 -0.4661541 0.5269043 is "garbage". After all, 1e45 is an even integer and so, the (2pi)-periodic functions should give the same as for 0 which *is* (1, 0, 0). For such very large arguments, the results of all of sin() , cos() and tan() are in some sense "random garbage" by necessity: Such large numbers have zero information about the resolution modulo [0, 2pi) or (-pi,...
2010 Feb 19
3
plot circular histogram
In conducting studies of animal orientation and displacement, I need to produce circular histograms of angles (bearings in radians 0-2pi) where the centre of the circle indicates very few observations for a given bin of angles and outwardly concentric circles indicate greater frequencies of observations for a given bin of angles. I'd like not to have to write the function myself but I haven't found exactly what I am looking...