search for: trigonometric

Displaying 20 results from an estimated 31 matches for "trigonometric".

2016 Nov 07
2
About trigonometric Instructions
HI developers, I want to add trigonometric instructions in my instrinfo.td files how can i directly map these instructions in .td files. Please help me Guys.For Sin, Cos, Tan and Cot Instructions. If I used llvm.sin.* as SDNode Then it is error as llvm variable is not defined SO please Help me. Thanks and Regards Varun -------------- ne...
2010 Jun 17
3
trigonometric regression
Suppose I do a trigonometric regression fit<-lm(y~ cf + sf) where cf and sf are the cos and sine components. b<-coef(fit) I have the fitted sine component b[2] and the cos component b[3]. Doing summary(fit) gives me the p-values and SEs for b[2] and b[3]. But I want the amplitude of the fitted waveform amp<-sqrt(b[2...
2018 Jan 02
1
https://reviews.llvm.org/D41659 Needs review.
https://reviews.llvm.org/D41659 Implemented missing trigonometric optimization in llvm. Here we have implemented the following missing trigonometric optimizations. 1. tan(x)*cos(x)=sin(x) 2. sin(x)*cos(x) = sin(2*x)/2 3. sin(x)/tan(x)=cos(x); 4. tan(x)/sin(x)=1/cos(x); -------------- next part -------------- An HTML attachment was scrubbed... URL: &...
2005 Jul 12
3
using its to import time series data with uneven dates
...9 18 30 373.60 <NA> 2000 3 14 18 30 373.34 <NA> 2000 3 23 18 0 373.01 I have tried every format option on the help page. How can I read in my decimal dates (e.g., 2000.18790)? Note that these data (CO2) are irregularly spaced in time (Time). Ultimately I would like to fit a trigonometric polynomial (first harmonic) to these data in order to smooth them and obtain values between measurements. Any suggestions you can provide on how to do this would be much appreciated. Thank you for your help. Sheri Sheri L. Conner Gausepohl Graduate Research Assistant Department of Atmospheri...
2003 Jan 30
2
mgcv, gam
...nice igf gam would accept an na.action argument, but that not the main point. I want to have a smooth term for time over a year, the same pattern repeating in succesive years. It would be natural then to impose the condition s(0)=s(12). Is this possible within mgcv? I tried to obtain this with trigonometric terms, aca: > Rot.gam2 <- gam(cbind(Rotavirus,Total)~ s( I(sin((MesN/12)*2*pi)), bs="cr" )+ + s( I(cos((MesN/12)*2*pi)), bs="cr" ), data=na.omit(Rot), + family=binomial) Warning messages: 1: Termwise estimate degrees of freedom ar...
2005 Sep 26
1
Precomputing the remaining floating point operations.
I see there are still some floating point operations left in the codec init(ialization) code. Changing that code to fixed point is not only difficult (due to the trigonometric functions etc) but may also degrade the precision. Here is an idea whereby we can easily precompute (record) all those values on a powerful processor and then use (replay) them on an embedded processor / DSP. The only requirement is that 'xxx_init_xxx' should be called in exactly the s...
2012 Apr 12
4
Simple Problem: Plotting mathematical functions
...en do not really understand how to plot just one graph... I found this code in the Internet, which plots a cos-function: >x <- seq( -10, 10, length = 1000) >plot(x, *sin(x)*, xlab="x-values", ylab="f(x)", type="l") >lines(x, cos(x), lty=3) >title( "Trigonometric functions", "sin(x) and cos(x)") If I replace the sin(x) thing (bold) with one of my functions, it doesn't work and reports an unwanted character. Can somebody help me with that? -- View this message in context: http://r.789695.n4.nabble.com/Simple-Problem-Plotting-mathematica...
2010 Jun 17
5
Optimization problem
...e is not the final percentage, it can be 90%... or 50%. The service is ok with both numbers. Although I've solved the problem calculating the slope and making an axis change, I'd like to make something "statistically" stronger, because in the end what I'm doing is making some trigonometrics. If you think on other solutions i'd appreciate your help. Thanks, J. Lozano Other examples: Example 2: ---------- devices<-1:45 percentages<-c(19.6,38.3,53.2,65,72.9,78.5,82.8,87,89,90.1,91.7,92.6,93.7,94 .6,95.4,96,96.5,96.9,97.2,97.7,97.9,98.3,98.6,98.8,99,99.3,99.6,99.8,100,100 ,...
2010 May 14
1
point.in.polygon() in sp package: accuracy problems?
...the limits of my diagram (by point.in.polygon). The example below shows a simple example with one polygon with a right angle (easy to plot). I suspect this is a problem of accuracy (as I already got similar problems with a code I made, that proved to be due to accuracy problems arising from from trigonometric calculations), but I would like to know if I am right or if this is another problem (maybe in my own code)... I must say that with 'real & uncertain soil data', I don't really care to know if a point is right on the border of a polygon, but it is good to know what cause the problem!...
2006 Oct 05
4
glm with nesting
I just had a manuscript returned with the biggest problem being the analysis. Instead of using principal components in a regression I've been asked to analyze a few variables separately. So that's what I'm doing. I pulled a feather from young birds and we quantified certain aspects of the color of those feathers. Since I often have more than one sample from a nest, I thought I
2016 Jul 13
7
RFC: SIMD math-function library
...or non-finite inputs and outputs, the library should return the same results as libm. The library is tested if the evaluation error is within the designed limit. The library is tested against high-precision evaluation using the libmpfr library. Especially, we rigorously checked the error of the trigonometric functions when the arguments are close to an integral multiple of PI/2. The size of the functions is very small. Implementation of the library: Basically, each function consists of reduction and kernel. For the kernel, a polynomial approximation is used. The coefficients are carefully set to...
2006 Dec 06
0
mFilter package
...ral time series filters useful for smoothing and extracting trend and cyclical components of a time series. The routines are commonly used in economics and finance, however they should also be interest to other areas. Currently, Christiano-Fitzgerald, Baxter-King, Hodrick-Prescott, Butterworth, and trigonometric regression filters are included in the package. Cheers, -- Mehmet Balcilar, PhD Associate Professor of Econometrics Cukurova University College of Economics & Administrative Sciences Department of Econometrics Balcali, Adana 01330 Turkey Tel: +90 (322) 338-7255 (6 lines) Ext. 170 Mo...
2004 Feb 06
0
PractiCalc - A New CALCULATOR
...ed into your equations - Menu selectable conversion functions that can be inserted into your equations - Menu selectable user-defined formula that can be inserted into your equations - Dynamic real-time updating of user-defined formula - Save and restore user-defined named sets of formula - Trigonometric functions can be defined as taking arguments in radians, degrees or gradients - Equation history preservation and recall - Skinable screens - Optional translucent (ghost) screens for see-thru effect - and many other features and calculatin aids.... -----------------------------------------...
2008 Nov 17
2
How to calculate the linear distance between 2 points
Deemed colleagues I would appreciate your help with a sentence to calculate the linear distance between 2 geographical points (coordinates in UTM). In advance thnks for your attention, -- Ricardo Bandin Llanos rbandin@udec.cl Estudiante - Magíster Cs. m. Pesquerías Universidad de Concepción, Región del Bio-Bio, Chile Celular: (0056-41) 97949957 [[alternative HTML version deleted]]
2013 Apr 17
0
[LLVMdev] Request for compilers
Hi Ganesh, Please have a look at: These core parts of LLVM: http://llvm.org/docs/doxygen/html/classllvm_1_1Loop.html#a72bbf45d2e00971f56bf8cfe4e1df01c http://llvm.org/docs/Vectorizers.html These research projects based on LLVM: http://polly.llvm.org http://aesop.ece.umd.edu I'm not sure what you mean by "identify intrinsic functions". If you really mean LLVM intrinsics,
2013 Apr 17
2
[LLVMdev] Request for compilers
Hi, For one of our research projects, we are planning to use LLVM. We need the following features: 1. We need to aggressively fuse loops that have inter-loop dependencies. 2. We need to identify intrinsic functions and induction variables. 3. We need to detect few memory access patterns like copy, transpose-copy, stride-copy etc. 4. Lastly, auto-vectorization and
2010 Dec 20
2
Sine Regression in R
Hi everyone, I am trying to fit a sine function on one year of wind data. I have two questions below. Looking around on the net I managed to get the following: Sine Equation: y = a + b * sin( c + d*x ) b is the amplitude, c is the phase shift, d is something deal with periodicty of data*.* This can be linearised by sin( c+dx ) = cos(c) * sin(dx) + sin(c) * cos(dx). If one calls dx = x1 y
2011 Oct 06
0
Revolutions Blog: September Roundup
...jobs (http://bit.ly/r73Ijs), the fastest method for boarding airplanes (http://bit.ly/pKqxGB), conversations between chatbots (http://bit.ly/r29KRX), the strange images created by photographing propellers with iPhones (http://bit.ly/ovCF4D), an audible illusion (http://bit.ly/p0GR6X), and a visual trigonometric pun (http://bit.ly/qQLbB4). There are new R user groups (http://bit.ly/eC5YQe) in Tokyo, Shanghai, Stamford, Medford and Barcelona: http://bit.ly/ovwoYb . Meeting times for these groups can be found on the updated R Community Calendar at: http://bit.ly/bb3naW If you're looking for more articl...
2018 Nov 30
3
(Question regarding the) incomplete "builtins library" of "Compiler-RT"
...s://msdn.microsoft.com/en-us/library/mt703294.aspx> * signed 64-bit integer operations: _alldiv(), _alldvrm(), _allrem(), _allshl(), _allshr(), _allmul()? See <https://msdn.microsoft.com/en-us/library/ms648425.aspx> For the following I'm not sure whether LLVM/clang calls them: * trigonometric and transcendental floating-point operations: _CIacos(), _CIasin(), _CIatan(), _CIatan2(), _CIcos(), _CIcosh(), _CIexp(), _CIfmod(), _CIlog(), _CIlog10(), _CIpow(), _CIsin(), _CIsinh(), _CIsqrt(), _CItan(), _CItanh()? See <https://msdn.microsoft.com/en-us/library/ff770582.aspx>, &lt...
2006 May 17
3
Off topic --- help in locating a source.
Apologies for the off-topic question; as usual I'm trying to draw upon the unparalleled knowledge and sagacity of the r-help list. Please reply off-list if you can help me out. A collaborator of mine found a formula we need, on sheets which he had photocopied out of a book, some years ago. He cannot remember which book (he's getting to be as senile and forgetful as I am, poor bloke!).