Displaying 20 results from an estimated 1000 matches similar to: "sum of variables in function"
2010 Nov 28
6
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 28, 2010, at 1:57 PM, Bill Wendling wrote:
> On Nov 28, 2010, at 2:59 AM, John McCall wrote:
>
>> On Nov 28, 2010, at 2:20 AM, Bill Wendling wrote:
>>
>>> On Nov 27, 2010, at 4:57 PM, John McCall wrote:
>>>
>>>> On Nov 25, 2010, at 3:03 AM, Duncan Sands wrote:
>>>>> I'm pointing out that if the invoke instruction
2010 Nov 29
0
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 28, 2010, at 3:47 PM, John McCall wrote:
> So mem2reg would have to split %try and make a phi in %lp, like so:
>
> try1: unwinds to %lp
> %count = load i32* @count
> br label %try2
> try2: unwinds to %lp
> call void foo()
> br label %return
> lp:
> %t = phi i32 [ i32 0, label %try1 ], [ i32 %count, label %try2 ]
> #etc.
>
> That's a lot of
2010 Nov 29
0
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 28, 2010, at 3:47 PM, John McCall wrote:
> This is well-formed SSA; the alloca instruction %x is in the entry block and thus dominates both the store in %try and the load in %catch. mem2reg wants to eliminate %x and replace the load in %catch with a fixed value. This involves looking at the value stored in %x at all predecessor points, which is a challenge because one of those
2005 Jun 03
2
Dirty Rotten Hack. (reversing tickmarks on axes?)
I feel dirty.
I have some graphs I'm building to communicate chargeback rates and service
usage for our backup system here at the University of Florida. These come
down to daily data points on a graph of number-of-bytes transferred and
stored.
Since we chargeback on the same basis (price per MB this, price per KB that)
the same chart with a different scale can be used to communicate bytes
2003 Aug 14
2
FW: CIFS mount problem on Linux
> -----Original Message-----
> From: Ramadurai, Sangeetha (MED)
> Sent: Thursday, August 14, 2003 2:02 PM
> To: 'samba@samba.org'
> Cc: Ramadurai, Sangeetha (MED)
> Subject: CIFS mount problem on Linux
>
> hi,
> I have a SUN machine running samba server. The vxfs shares on this machine is shared thru samba server
> SUN Machine -- SunOS 5.8
2004 Sep 15
7
Splitting vector into individual elements
Is there a means to split a vector into its individual
elements without going the brute-force route for arguments
to a predefined function call?
offred.rgb <- c(1, 0, 0) * 0.60;
## Brute force style
offred.col <- rgb(offred.rgb[1],
offred.rgb[2],
offred.rgb[3],
names = "offred")
## Desired style
2003 Oct 22
4
adjacency matrix
Dear R experts,
I am new to the list and R software. I need to convert arcview file to Winbugs having R has middle package. Got from friends that it is possible following the steps:
1. Converting arcview shapefile to "cgm clear text file"
2. Downloading "convert.r" to into R
2.1 use source("convert.r")
2.2 convert("filename_cgm") without the
2011 Jun 25
1
if you start fifa error message comes
I've installed new fifa and written in the code of the terminal had opened up to play EA Sports intro then comb a new error message in there Standt:
"In the program were difficult manager11.exe gent fault and it must be-beeendet We apologize for this unnanehmlichkeiten.
The cause may be a problem in the program or may fail to run in wine sein.sie www.appdb.winehq.org tips under the
2004 Sep 22
2
dot density maps
Dear All,
In the moment i'm using the map and maptools package to read shapefiles
and display the maps.
I'm looking for the possibility to draw points (randomly positioned or
positioned according to a grid) into the polygons instead of filling the
polygons with colors.
For example:
a map (shapefile) with 10 countries, 15 points in the polygon of country
A, 20 points in the
2007 Jun 21
1
Using the object of character data type as the name of the slot
Dear all,
I have a character string object:
> chara
[1] "The name of first slot"
and a list object:
> class( try1)
[1] "list"
what I want to do is to use the chara as a slot's name of "try1".
Of course I could do it like:
> try1$"The name of first slot" <- matrix("", 3, 4)
to create a slot of 3x4 matrix with the name
2008 Nov 13
0
sem and "simple variables"
salutations!
i am doing some longitudinal modeling with sem and thought calculating some
"simple variables" would make my model more readable. this is the smallest
subset of my model that illustrates the resulting problem.
i have 2 observed exogenous variables (c1, d2) and 4 observed endogenous
variables (dc1, dd1, dc2, dd2). c1 is the observed state at time 1, dc1 is
the change in c
2010 Nov 28
0
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 28, 2010, at 2:59 AM, John McCall wrote:
> On Nov 28, 2010, at 2:20 AM, Bill Wendling wrote:
>
>> On Nov 27, 2010, at 4:57 PM, John McCall wrote:
>>
>>> On Nov 25, 2010, at 3:03 AM, Duncan Sands wrote:
>>>> I'm pointing out that if the invoke instruction
>>>> is removed and catch information is attached to entire basic blocks, then
2024 Aug 09
1
If loop
Thanks. Hmm. The loop is doing what it is supposed to do.
> try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE,
+??????????????? cond12=FALSE,cond21=FALSE){
+ # ***************************************************
+ # Testing if loop
+ # ***************************************************
+ if(joint12){
+?? {print ("joint12"); cat(joint12,"\n")}
+?? {print
2024 Aug 09
2
If loop
OK. The fact it's in a function is making things clearer.
Are you trying to update the values of an object from within the function,
and have them available outside the function. I don't speak functional
programming articulately enough but basically
v <- 1
funA <- function() {
v <- v+1
}
funA()
cat (v)
# 1
You either return the v from the function so
funB <- function() {
2024 Aug 09
3
If loop
"Or use <<- assignment I think. (I usually return, but return can only
return one object and I think you want two or more"
You can return any number of objects by putting them in a list and
returning the list.
Use of "<<-" is rarely a good idea in R.
-- Bert
On Fri, Aug 9, 2024 at 1:53?AM CALUM POLWART <polc1410 at gmail.com> wrote:
>
> OK. The fact
2010 Nov 28
3
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 28, 2010, at 2:20 AM, Bill Wendling wrote:
> On Nov 27, 2010, at 4:57 PM, John McCall wrote:
>
>> On Nov 25, 2010, at 3:03 AM, Duncan Sands wrote:
>>> I'm pointing out that if the invoke instruction
>>> is removed and catch information is attached to entire basic blocks, then if no
>>> care is taken then it is perfectly possible to use %x before
2016 Jan 06
4
Cannot remove symlink with missing target
Hi,
I have started using symbolic links on an SMB share and find that
symbolic links whose target no longer exists cannot be removed on the
client side.
Example, on the SMB client side in an SMB-mounted directory:
1. Create a file and a relative symlink to it:
$ touch a
$ ln -s a b
$ ls -l
total 0
-rw-rw-r--. 1 andi andi 0 Jan 6 14:42 a
lrwxrwxrwx. 1 andi andi 1
2011 Apr 05
1
Value between which elements of a vector?
Dear R-useRs,
I am looking for a why to perform the following:
specialweeks<-c(0,2,5,12,18,19,20)
weeks<-c(1:30)
Now I would like that for every week it is even between which elements of
vector special weeks it is.
For weeks after 20, the value NA or 20, or even 20-30is fine.
Thus for
week 1: 0-2
week 2: 2-5
week 3: 2-5
week 4: 2-5
week 5: 5-12
ect....
It is not relevant if those
2009 Apr 12
1
looking for one-liner for strsplit and regex
Hi,
I have a line such as:
myline <- " 0.100000 1.5000 0.6000 538
0.369404"
and I would like to put the numbers into a vector. Some combination of
tabs and spaces occur between the numbers.
I tried:
try1 <- strsplit(myline,"[[:blank:]]+")
> try1
[[1]]
[1] "" "0.100000" "1.5000"
2007 Nov 30
3
How to setup redundant SIP peers
Hello list,
I try to setup an asterisk-server with different SIP-Peers to PSTN.
The Peer are working and configured in sip.conf:
[peer1]
type=peer
host=10.10.10.1
[peer2]
type=peer
host=10.10.10.2
Now dialout is no problem. Extensions.conf says:
exten => _0Z.,1,Dial(SIP/49${EXTEN:1}@peer1,30)
But how can I setup a failure-route if the SIP-Proxy "peer1" ist not