Displaying 16 results from an estimated 16 matches for "4x3".
Did you mean:
43
2013 Feb 01
3
Transforming 4x3 data frame into 2 column df in R
I have the following data frame:
> foo
w x y z
n 1.51550092 1.4337572 1.2791624 1.1771230
q 0.09977303 0.8173761 1.6123402 0.1510737
r 1.17083866 1.2469347 0.8712135 0.8488029
What I want to do is to change it into :
> newdf
1 n w 1.51550092
2 q w 0.09977303
3 r w 1.17083866
4 n x 1.43375725
5 q x 0.81737606
6 r x
2007 May 15
2
QR Decompositon and qr.qty
...ebra but currently I need
to understand what the function qr.qty is actually doing. The
documentation states that it calculates t(Q) %*% y via a previously
performed QR matrix decomposition.
In order to do that, I tried following basic example:
m<-matrix(c(1,0,0,0,1,0,0,0,1,0,0,1),ncol=3) # 4x3 matrix
qr.qty(qr(m),matrix(c(1,2,3,4,2,3,4,5,1,1,1,1,2,2,2,2),nrow=4))
[,1] [,2] [,3] [,4]
[1,] -1 -2 -1 -2
[2,] -4 -5 -1 -2
[3,] 3 4 1 2
[4,] -2 -3 -1 -2
As far as I understood the documentation a call such as
t(qr.Q(qr(m)))%*%matrix(c(1,2,3,4,2,3,4,5,1...
2013 Nov 05
1
[LLVMdev] Multimedia IO instructions & partial backend implementations for simple CPUs
...Ref.html ,
and understand the expressivity of aggregate types. What I do not yet
have a good feeling for is when to use them. To give a concrete
example, I'd like to parse a greyscale image in to an LLVM data
structure. At each {x,y} point, there is an Int8 value between 0 and
255. Take a small 4x3 image. I could feed my pixels in to a flat Int8
vector of length 12. I could also feed it in to an array of length 4,
of Int8 arrays of length 3.
Now take 2 simple functions: one does greyscale brightening, the other
does a sobel filter. The first needs only to know the value of 1 pixel
at a time,...
2005 May 18
2
applying a function over an array
Is there a way to apply a function with several arguements over an
array? For instance if you had a function d<-function(a,b,c) {a+b+c} and
a 4,3 array, could you apply the function over each line of the array?
tapply seems to only allow one argument, and I just can't think of a way
to explicitly tell R that I am passing it 3 distinct objects instead of
1 complex one. Thank you as
2013 Jan 29
0
On the calulation of crossed differences
...2,3), sum)
db3 <- t(apply(db2, 1, function(poff) 100-(100*abs(poff/sum(poff)-(1/3))) )
)
My request now is about the function at the end of the calculation in db3.
IF instead of the difference from a number, here 1/3, I need to calculate
the following difference: consider that db3 is a matrix 4x3,
I need to calculate
(db3[1,1] -db3[1,2])+(db3[1,1] -db3[1,3])*0.5 and store it to a cell,
then
(db3[1,2] -db3[1,1])+(db3[1,2] -db3[1,3])*0.5 and store it to a cell,
then
(db3[1,3] -db3[1,2])+(db3[1,3] -db3[1,2])*0.5 and store it to a cell,
then
repeat this for each of the four row...
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
...into using the reprex package to check your example next time.
I don't do this kind of analysis... I really don't know what to expect
from the functions. The final step in your sequence produces a vector of
sixteen values, not 1 value, nor 4 values, so I don't know how to obtain
the 4x3 result you said you expected... I got 16x3.
myframe <- data.frame( ID = c( "Ernie",
"Ernie","Ernie","Ernie","Ernie","Ernie")
, Timestamp = c( "24.09.2012 08:00", "24.09.2012 09:00"...
2015 Jun 29
2
Using a CentOS 6 Machine as a gateway/router/home server
...as my
firewall, and a separate home server on a HP Microserver [2]. IMHO,
keeping the firewall function completely separate simplifies security.
that router board can handle 300 Mbit/sec of NAT firewall rules, since I
only have 30Mbit internet, thats plenty of headroom. the Microserver
has 4x3 TB SATA drives in a raidZ (ZFS) for 7.5 TiB usable.
I can muck about with the server at my leisure, and reboot it, and not
affect internet routing to my wife. the firewall doesn't need mucking
about with and has uptimes measured in months (time between pfSense
upgrades). pfSense provid...
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
Dear all,
I have a data similar to this:
myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"),
Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00",
"25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"),
2013 Nov 03
0
[LLVMdev] Multimedia IO instructions & partial backend implementations for simple CPUs
On Sat, Nov 2, 2013 at 2:48 PM, Rob Stewart <robstewart57 at gmail.com> wrote:
> Hi, I'm getting started with LLVM, with the intention of writing a DSL
> that compiles to LLVM IR, to target a new CPU instruction set. I have
> two questions:
>
> 1. Multimedia IO in LLVM
>
> In the paper "The LLVM Instruction Set and Compilation Strategy" [1],
> there is
2008 Oct 02
6
Video driver questions
My OQO has a VIA chipset. From the hwconf:
class: VIDEO
bus: PCI
detached: 0
desc: "VIA Technologies, Inc. CX700M2 UniChrome PRO II Graphics"
vendorId: 1106
deviceId: 3157
subVendorId: 1106
subDeviceId: 3157
pciType: 1
pcidom: 0
pcibus: 1
pcidev: 0
pcifn: 0
When I install Centos, I default to the vesa driver, and it operates at
the monitor's native 800x480. Of course I
2015 Jun 28
8
Using a CentOS 6 Machine as a gateway/router/home server
Greetings,
I'm rebuilding a machine to function as a gateway/router to Verizon DSL.
It has two NICs eth0 and eth1 (static set to 192.168.1.1).
eth0 connects to the DSL modem.
I've setup Verizon DSL usine pppoe-setup, and it works.
I can connect from home machines to the server (192.168.1.1); while logged
in to the server, I can connect to both the internet, and the home
machines.
2013 Nov 02
3
[LLVMdev] Multimedia IO instructions & partial backend implementations for simple CPUs
Hi, I'm getting started with LLVM, with the intention of writing a DSL
that compiles to LLVM IR, to target a new CPU instruction set. I have
two questions:
1. Multimedia IO in LLVM
In the paper "The LLVM Instruction Set and Compilation Strategy" [1],
there is talk about a possible multimedia instruction set in a future
LLVM release:
"Note that LLVM is a virtual instruction
2000 Sep 07
9
Video codec
Hi,
I guess this is a good time to start putting together a wish list for a
video codec.
I see that for audio the compression is around 10X for reasonable quality.
I am sure this will start its own thread of conversation.
For video you can do 40X fairly easily and the big task is to go to 80X or
100X with reasonable picture quality, say, a peak luma SNR of more than 30
dB. Uncompressed
2019 Feb 01
3
[RFC] Vector Predication
On Fri, Feb 1, 2019 at 1:19 AM Bruce Hoult <brucehoult at sifive.com> wrote:
> On Thu, Jan 31, 2019 at 11:53 PM Luke Kenneth Casson Leighton via
> llvm-dev <llvm-dev at lists.llvm.org> wrote:
> >
> > ---
> > crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
> >
> > On Thu, Jan 31, 2019 at 10:22 PM Jacob Lifshay
2019 Oct 01
2
Adding support for vscale
On Tue, Oct 1, 2019 at 11:08 AM Graham Hunter <Graham.Hunter at arm.com> wrote:
> Hi Luke,
hi graham, thanks for responding in such an informative fashion.
> > On 1 Oct 2019, at 09:21, Luke Kenneth Casson Leighton via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> > typedef vec4 float[4]; // SEW=32,LMUL=4 probably
> > static vec4 globalvec[1024]; // vscale ==
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