Displaying 18 results from an estimated 18 matches for "l31".
Did you mean:
31
2012 May 18
1
Help for numericDeriv function
...ll be also an element of another
matrix.
l <- matrix(nrow=nrow(load),ncol=ncol(load))
for(i in 1:nrow(load)) {
for(j in 1:ncol(load)) { l[i,j]=paste("l",i,j,sep="")}}
> l
[,1] [,2]
[1,] "l11" "l12"
[2,] "l21" "l22"
[3,] "l31" "l32"
> l11
[1] 3
> l12
[1] 0
> l21
[1] 1
> l22
[1] 4
> l31
[1] 1
> l32
[1] 3
Let's say, I need to take the derivative of (l11*l21+l12*l22) with respect
to l11,l12,l21,l22,l31,l32.
> numericDeriv(quote(l11*l21+l12*l22), c(t(l),recursive=TRUE))
[1] 3
attr...
2006 Aug 16
1
Specifying Path Model in SEM for CFA
...ckage. I can't figure out how to
represent the residual errors for the observed variables for a CFA
model. (Once I get this working I need to add some further constraints.)
Here is what I've tried:
model.sa <- specify.model()
F1 -> X1,l11, NA
F1 -> X2,l21, NA
F1 -> X3,l31, NA
F1 -> X4,l41, NA
F1 -> X5, NA, 0.20
F2 -> X1,l12, NA
F2 -> X2,l22, NA
F2 -> X3,l32, NA
F2 -> X4,l42, NA
F2 -> X6, NA, 0.25
F1 <-> F2,g12, 1
F1 <-> F1,g11, 1
F2 <-> F2,g22, 1
X1 <-> X1, NA, 1
X2 <-> X2, NA, 1...
2016 Jul 04
2
cat() in proc.time?
Does anyone know if there's a reason that proc.time() uses cat()
rather than message() to print the output when there has been an error
in the process of timing?
line 31 of time.R,
https://github.com/wch/r-source/blob/e5b21d0397c607883ff25cca379687b86933d730/src/library/base/R/time.R#L31
on.exit(cat("Timing stopped at:", ppt(proc.time() - time), "\n"))
This means that as far as I can tell the general way to make sure
there is no output from a timed statement is ...
tt1 <- capture.output(tt0 <- suppressMessages(suppressWarnings(
tr...
2016 Sep 24
4
A new code coverage bot
The bot hiccupped earlier but looks stable now. The average turnaround seems to
be 3.5 hours.
clang:
http://lab.llvm.org:8080/coverage/coverage-reports/clang/index.html
lld:
http://lab.llvm.org:8080/coverage/coverage-reports/lld/index.html
polly:
http://lab.llvm.org:8080/coverage/coverage-reports/polly/index.html
> On Sep 23, 2016, at 11:58 PM, Tobias Grosser via llvm-dev
2016 Jul 17
1
cat() in system.time() ?
...gt;
> This is really not about proc.time(), but about system.time()
> [ and I have corrected the 'Subject' accordingly ] ..
>
> > line 31 of time.R,
>
> > https://github.com/wch/r-source/blob/e5b21d0397c607883ff25cca379687b86933d730/src/library/base/R/time.R#L31
>
> > on.exit(cat("Timing stopped at:", ppt(proc.time() - time), "\n"))
>
> > This means that as far as I can tell the general way to make sure
> > there is no output from a timed statement is ...
>
> > tt1 <- capture.output(tt0 &l...
2019 Jul 17
2
Custom calling convention & ARM target
...test-s
LLVM is really good at tail call elimination so it replaced all calls
between handlers to just branches.
Now getting back to the problem, note that the handlers call to 'puts' so LR
register gets changed.
See https://gist.github.com/amitin/7df4fbb806c0b48eb5bcaf614e5d93cd#file-test-s-L31
Thus, when the execution flow reaches 'terminatorFunc' it will branch
to an unknown location.
See https://gist.github.com/amitin/7df4fbb806c0b48eb5bcaf614e5d93cd#file-test-s-L73
The same IR code works fine for x86_64. You can verify it by changing
the triple to x86_64 (uncomment the test.l...
2015 Sep 01
0
lazy loading in SparkR
...e.path(SPARK_HOME, "R/lib/SparkR/R/SparkR"),
envir = parent.frame(), filter = function(x) TRUE)
}
# parallelize() works now
Please help me understand what goes wrong.
Here is the whole repro:
https://gist.github.com/zoltanctoth/971ae374dace93de12f0#file-sparkr-rstudio-parallelize-r-L21-L31
And the relevant files from the Spark installation:
https://www.dropbox.com/sh/0xp2wgkbrl7ov64/AAAHRWdMecGMkVdo0GUs6fmYa?dl=0
Thanks,
Best,
Zoltan
--
https://www.linkedin.com/in/zoltanctoth
[[alternative HTML version deleted]]
2016 Jul 15
0
cat() in system.time() ?
...t; in the process of timing?
This is really not about proc.time(), but about system.time()
[ and I have corrected the 'Subject' accordingly ] ..
> line 31 of time.R,
> https://github.com/wch/r-source/blob/e5b21d0397c607883ff25cca379687b86933d730/src/library/base/R/time.R#L31
> on.exit(cat("Timing stopped at:", ppt(proc.time() - time), "\n"))
> This means that as far as I can tell the general way to make sure
> there is no output from a timed statement is ...
> tt1 <- capture.output(tt0 <- suppressMessages(suppres...
2018 May 16
1
LLVM JIT 3.9 vs 6.0: How to emitAndFinalize multiple modules correctly?
Hi all,
I am having hard time figuring out how I should use the API for JIT in LLVM 6.
In LLVM 3.9 I am used to adding all objects at once and
emitAndFinalizing them all:
handle = objectLayer.addObjectSet(objectFiles, memoryManager, resolver);
objectLayer.emitAndFinalize(handle);
In LLVM 6.0 the objects are added one by one:
auto handle = objectLayer.addObject(objectFile, resolver).get();
2017 Nov 07
1
Re: [PATCH v2 1/4] common/mlstdutils: Extend the List module.
On Sunday, 8 October 2017 23:26:53 CET Richard W.M. Jones wrote:
> We defined a number of functions on lists which are not provided by
> the standard library. As with Char and String, let's extend List to
> add these new functions to a List pseudo-module (really
> Std_utils.List, but called List when you ‘open Std_utils’).
>
> The initial exported functions are all List
2011 Sep 01
3
guestfish zerofree on LVM ?
Hi-
Is it safe to use the zerofree utility on an ext4 partition inside an LVM
with guestfish? I know zerofree works on ext4, but I am unsure about LVM.
The info page uses the syntax "zerofree <device>", so using the info page
example, could I (safely) do something like the following?
$ guestfish
Welcome to guestfish, the libguestfs filesystem interactive shell for
2017 Aug 03
1
Use case for HDF5 dataspace interface
1. This relates to the package *rhdf5* and its implementation of the HDF5
dataspace interface. I am asking for an example of how other people who use
this package make use of the HDF5 data space interface exposed by the
library.
Longer answer:
As per my understanding, the dataspace interface exposes data locations
within a dataspace, but even while retrieving data from an hdf5 file using
methods
2019 Jul 16
2
Custom calling convention & ARM target
Hello.
For our project needs we implemented a custom calling convention. The
main goals are to pass function arguments in registers and always use
tailcall optimization for calls to functions with our CC when
applicable.
Function arguments are always pointers and the maximum number of
arguments is 5. No frame pointer register is in use for this CC. No varargs.
Finally, there are not any
2020 Feb 11
1
Re: [PATCH nbdkit 3/3] server: Remove explicit connection parameter, use TLS instead.
On 2/11/20 11:15 AM, Richard W.M. Jones wrote:
> Since commit 86fdb48c6a5362d66865493d9d2172166f99722e we have stored
> the connection object in thread-local storage.
>
> In this very large, but mostly mechanical change we stop passing the
> connection pointer around everywhere, and instead use the value stored
> in thread-local storage.
>
> This assumes a 1-1 mapping
2020 Sep 17
2
Re: [libnbd PATCH v2 4/5] api: Add STRICT_FLAGS to set_strict_mode
On Fri, Sep 11, 2020 at 04:49:55PM -0500, Eric Blake wrote:
> The next strict knob: allow the user to pass unknown flags across the
> wire (this is different than passing a known flag at the wrong time).
>
> It is interesting to note that NBD only permits 16 bits of flags, but
> we have a signature that takes uint32_t; if we wanted, we could pack
> libnbd-specific flags in the
2010 Mar 02
3
2.6.33 high cpu usage
With the ATI bug I was hitting earlier fixed, only my btrfs partition
continues to show high cpu usage for some operations.
Rsync, git pull, git checkout and svn up are typicall operations which
trigger the high cpu usage.
As an example, this perf report is from using git checkout to change to
a new branch; the change needed to checkout 208 files out of about 1600
total files. du(1) reports
2017 Mar 14
3
llvm-stress crash
...alizer, i16 %Sl22, i32 0
%B28 = udiv i16 %Sl11, -1
%ZE = zext i1 true to i32
%Sl29 = select i1 true, i8 -99, i8 33
%Cmp30 = fcmp ord double 0xC275146F92573C4, 0x16FB351AF5F9C998
br i1 %Cmp30, label %CF256, label %CF271
CF271: ; preds = %CF256
%L31 = load i8, i8* %0
store i64 %L5, i64* %Sl
%E32 = extractelement <4 x i16> zeroinitializer, i32 2
%Shuff33 = shufflevector <1 x i32> zeroinitializer, <1 x i32> zeroinitializer, <1 x i32> <i32 1>
%I34 = insertelement <4 x i16> zeroinitializer, i16 %Sl11, i3...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking