similar to: Plotting compound functions--help with defining x-axis as f(x)

Displaying 20 results from an estimated 7000 matches similar to: "Plotting compound functions--help with defining x-axis as f(x)"

2011 Jun 15
2
Trouble with compound functions---differential equations
Hi all, My apologies if this message is incredibly inept but I am very new to both computer programming and to R. I am working with the odesolve add-on and have the following function defined RVF_Single <- function(t, x, p) within the script I also have the following functions defined: T1<-function(t) {T1<-27.5-12.5*cos(2*pi*t/365)} and B1<-function(T1,t)
2012 Mar 26
2
y needing more than 2 functions
Dear all, I'm aware if y has two separate functions (depending on the conditions of x) you can use the ifelse function to separate y into two separate functions depending on input. How do you do this if there a multiple different conditions for x? for example, y fits the following between t>0 & t<15----->function(t) t^2, y fits the following between t>15 &
2011 Nov 10
2
How does once import a function from an imported script?
Hi all, I am trying to import some functions into a script and am having difficulty in doing so. I am able to import a series of functions from a .tex file into my script, and call on each function by column name, however R reads them as data rather than as functions and I am struggling with the syntax to make R read them as a function instead. Below is a small set of the things I have tried:
2013 Feb 19
1
latin hypercube sampling
Hi all, I am attempting to use latin hypercube sampling to sample different variable functions in a series of simultaneous differential equations. There is very little code online about lhs or clhs, so from different other help threads I have seen, it seems I need to create a probability density function for each variable function, and then use latin hypercube sampling on this pdf. So far, I
2003 May 23
1
library(MASS) in .First() (PR#3085)
Full_Name: Aimee Teo Broman Version: 1.7.0 OS: Windows XP vers5.1 Submission from: (NULL) (162.129.145.77) My .First() function contains the command library(MASS) -- when I open R 1.7.0, I get this error: Error in get(x, envir, mode, inherits) : variable "biplot" was not found Error in library(MASS) : package/namespace load failed If I run library(MASS) outside of the .First()
2014 Aug 18
8
[LLVMdev] C Backend Ressurected
Hi All, 2 of my summer interns (Aimee Dipietro and Greg Simpson) used their time over the summer to resurrect the LLVM C Backend: https://github.com/draperlaboratory/llvm-cbe Improvements include recovery of simple for/while loops (instead of goto), better variable naming, inline asm support, and making it work on a more recent version of llvm. I believe they used the repository here as a
2012 Nov 06
1
Filling matrix elements with a function
Hi all, I have a matrix simulating migration in a spatial model. I want to be able to define movement (the values of m1, m2 and m3) as only != 0 between adjacent patches and contingent on certain conditions as defined in the function. Here is the code: WET<-function(t) {everglades$precipitation[t]} #simply reads precipitation data from a csv, value is numeric AB<-function(WET,t)
2013 Mar 13
1
saving vector output as numeric
Hi everybody, I'm trying to create a numerical data frame on which to perform PRCC. So far I have created a data frame that consists of function/vector output that displays in numerical form, but when I try and run PRCC (from epiR package) I get the following error message: "Error in solve.default(C) : Lapack routine dgesv: system is exactly singular" It appears this is because
2004 May 07
1
Uniden UIP200 Review
Hello Everyone, My company is about to deploy * as replacement for our existing commercial Altigen PBX. Meanwhile, I've been trying to find the best cost effective SIP VoIP phone which we can use in office for 20-30 employees, as well as a few remote staff. Normally I wouldn't post about a VoIP phone, however, this phone was released less than a week so I thought I'd give some
2014 Aug 19
3
[LLVMdev] C Backend Ressurected
I don't know how good it is, but the applications seem obvious. e.g. compiling programs in any of a number of original formats to run natively on CPUs that have a working simple C compiler (maybe only K&R or C89) but don't have an LLVM back end. The source program could be in modern C, C++, or any other high level language or assembly language with a translator to LLVM. On Tue, Aug
2014 Aug 19
2
[LLVMdev] C Backend Ressurected
It provides a useful starting point, but I agree with Jim that it is not a complete solution and requires rework of the results in a lot cases. I think we could improve it further to address these issues but that work is nontrivial. If you are deciding between a quick and dirty implementation of a custom backend vs. the C backend, then the C backend is sometimes preferable in my experience
2014 Sep 03
2
[LLVMdev] C Backend Ressurected
I can't see why you'd want to do this, no. -eric On Tue, Aug 19, 2014 at 8:02 PM, Isaac Dupree < ml at isaac.cedarswampstudios.org> wrote: > Is the C backend at all suitable to be adapted to emit OpenCL code? Or > do the target-dependence, and/or things that C can do but OpenCL can't, > make that hopeless? > -Isaac > > On 08/19/2014 03:08 PM, Carback,
2011 Mar 25
1
FTS Compound Search
Hi I use roundcube as the webmail fronted to a dovecot server. It currently has squat enabled. When round cube performs a search, it does a compound search even if only one field is selected. >From another thread i read, dovecot in the v1 period did not support compound searches for squat. Does the latest version of V2 support compound searches with fts squat? If not, does fts with solr
2018 Mar 05
1
[Gluster-devel] Removal of use-compound-fops option in afr
On Mon, Mar 5, 2018 at 9:19 AM, Amar Tumballi <atumball at redhat.com> wrote: > Pranith, > > > >> We found that compound fops is not giving better performance in >> replicate and I am thinking of removing that code. Sent the patch at >> https://review.gluster.org/19655 >> >> > If I understand it right, as of now AFR is the only component
2011 Feb 22
1
collapsing by a key in a compound database
Hello all. I have a problem with collapsing by a key in a compound database. I have 2 databases (e.g. clients and client branches), both of them have the same attribute (with the same valueno), `client_id'. What I need is to search in both these databases and collapse results by `client_id' to get client IDs (set_collapse_key is used with collapse_max=1). The problem is that I receive 2
2001 Jun 30
0
Resend:[PATCH] cleanup of gcc-3.0 depreciated label in end of compound statement
resend to ext3-users@redhat.com Albert Cranford wrote: > > Hi Andrew, > > Could we please apply this patch to shut up gcc-3.0 warnings ? > BTW, EXT3 & 2.4.6-pre6 works well with: > MACH 1-gcc-3.0 & ext3 on /usr/src filesystem (production workstation) > MACH 2-gcc-2.95-3 & ext3 on / filesystem (network server) > > Keep up the good work. > Thanks,
2020 Jun 22
0
[PATCH 09/16] mm/hmm: add output flag for compound page mapping
On 6/22/20 10:25 AM, Jason Gunthorpe wrote: > On Fri, Jun 19, 2020 at 02:56:42PM -0700, Ralph Campbell wrote: >> hmm_range_fault() returns an array of page frame numbers and flags for >> how the pages are mapped in the requested process' page tables. The PFN >> can be used to get the struct page with hmm_pfn_to_page() and the page size >> order can be determined with
2023 Mar 28
1
[nbdkit PATCH 1/2] common/utils: document empty_vector compound literal assignment
We usually zero-initialize vectors like string_vector names = empty_vector; Allocating and zeroing separately is frequently useful however. Document the pattern string_vector names; names = (string_vector)empty_vector; where "(string_vector)empty_vector" is a compound literal. Link: http://mid.mail-archive.com/20230221183810.vjilfbmj3woqivlj at redhat.com Suggested-by: Eric
2011 Sep 29
1
FTS and compound searches
>> New subscriber here. I noticed that the FTS index is not used in compound searches. >> Is this expected? Tested in 2.0.0 and 2.0.8: > >Yep. It's been in TODO for a while. I know this thread is quite old, but we have the same issue with v2.0.14 and squat. Would this issue also affect the Solr FTS backend? Thanks, Nikolai.
2020 May 08
0
[PATCH 4/6] mm/hmm: add output flag for compound page mapping
hmm_range_fault() returns an array of page frame numbers and flags for how the pages are mapped in the requested process' page tables. The PFN can be used to get the struct page with hmm_pfn_to_page() and the page size order can be determined with compound_order(page) but if the page is larger than order 0 (PAGE_SIZE), there is no indication that the page is mapped using a larger page size. To