similar to: building random matrices from vectors of random parameters

Displaying 20 results from an estimated 300 matches similar to: "building random matrices from vectors of random parameters"

2017 Sep 28
0
building random matrices from vectors of random parameters
On 27/09/2017 8:47 PM, Evan Cooch wrote: > Suppose I have interest in a matrix with the following symbolic > structure (specified by 3 parameters: sa, so, m): > > matrix(c(0,sa*m,so,sa),2,2,byrow=T) > > What I can't figure out is how to construct a series of matrices, where > the elements/parameters are rnorm values. I'd like to construct separate > matrices, with
2017 Sep 28
3
building random matrices from vectors of random parameters
Thanks for both the mapply and array approaches! However, although intended to generate the same result, they don't: # mapply approach n = 3 sa <- rnorm(n,0.8,0.1) so <- rnorm(n,0.5,0.1) m <- rnorm(n,1.2,0.1) mats = mapply(function(sa1, so1, m1) matrix(c(0,sa1*m1,so1,sa1),2,2,byrow=T), sa, so, m, SIMPLIFY = FALSE) print(mats) [[1]] ????????? [,1]????? [,2] [1,] 0.0000000
2017 Sep 28
0
building random matrices from vectors of random parameters
On 28/09/2017 9:10 AM, Evan Cooch wrote: > Thanks for both the mapply and array approaches! However, although > intended to generate the same result, they don't: > > # mapply approach > > n = 3 > sa <- rnorm(n,0.8,0.1) > so <- rnorm(n,0.5,0.1) > m <- rnorm(n,1.2,0.1) > mats = mapply(function(sa1, so1, m1) > matrix(c(0,sa1*m1,so1,sa1),2,2,byrow=T),
2017 Sep 28
2
building random matrices from vectors of random parameters
Sure -- thanks -- only took me 3-4 attempts to get aperm to work (as opposed to really thinking hard about how it works ;-) On 9/28/2017 11:55 AM, Duncan Murdoch wrote: > On 28/09/2017 9:10 AM, Evan Cooch wrote: >> Thanks for both the mapply and array approaches! However, although >> intended to generate the same result, they don't: >> >> # mapply approach
2017 Sep 28
0
building random matrices from vectors of random parameters
The use of aperm is unnecessary if you call array() properly. ms <- array(c(rep(0, 5),so,sa*m,sa), c(5, 2, 2)) -- Sent from my phone. Please excuse my brevity. On September 28, 2017 9:10:26 AM PDT, Evan Cooch <evan.cooch at gmail.com> wrote: >Sure -- thanks -- only took me 3-4 attempts to get aperm to work (as >opposed to really thinking hard about how it works ;-) > >On
2000 Sep 06
2
reusing external functions across libs
Hi, I am searching for a way to solve the following problem: I want to use an external function, defined in a dyn.load()ed shared object, in another dyn.load()ed shared object. Currently I have to take the sources (Fortran) from one libraries src/ directory and copy them into the src/ dir of the other library, resulting in two copies of this function. This is bad for maintanance and maybe also
2005 Jun 01
2
mplot :how to deal with missing data
Hello all, I have data: Genes time rep vart dye y trt 130911 sa1-d07 030min 1 col g 9.636244 o 145771 sa1-d07 030min 1 col r 8.107577 c 93335 sa1-d07 030min 1 ler g 7.409566 o 94821 sa1-d07 030min 1 ler r 5.107160 c 10119101 sa1-d07 030min 2 col g 8.336862 o 11605101 sa1-d07 030min 2 col r 7.824530 c 725313 sa1-d07
2016 Oct 24
2
SSH fail to login due to hang over after authenticated.
I don't think it will be easy to identify the problem remotely. You can try logging in with password (if not disabled), or sshing with some other key, or logging into some other user. If you are able to get access to the machine, post the server's error log here. On Mon, Oct 24, 2016 at 9:55 PM, Jin Li <lijin.abc at gmail.com> wrote: > Hi Tanmay, > > The server is not
2019 May 16
3
ALTREP: Bug reports
Hello Luke and Gabriel, Thank you very much for your quick responses. The explanation of STDVEC is very helpful and I appreciate it! For the wrapper, I have a few new questions. 1. Like Luke said a mutable object is not possible. However, I noticed that there is one extra argument *deep* in the function duplicate. I've googled all the available documentation for ALTREP but I did not find
2019 May 16
3
ALTREP: Bug reports
Hello, I have encountered two bugs when using ALTREP APIs. 1. STDVEC_DATAPTR >From RInternal.h file it has a comment: /* ALTREP support */ > void *(STDVEC_DATAPTR)(SEXP x); However, this comment might not be true, the easiest way to verify it is to define a C++ function: void C_testFunc(SEXP a) > { > STDVEC_DATAPTR(a); > } and call it in R via > a=1:10 > >
2011 Apr 24
1
problem with qemu
Hi All, I use Ubuntu server 10.04 LTS as virtualization platform. Actually running kernel 2.6.32-31-server #61-Ubuntu S root at jupiter:~# uname -a Linux jupiter 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 x86_64 GNU/Linux We have on running virtual root at jupiter:~# virsh list --all Id Name State ---------------------------------- 1 kvmtik.4safety.cz
2013 Jun 07
1
It seams that fast99 function (sensitivity package) does not work out for norm distribution.
Dear all mailing listers, Does Anyone have the same problem as mine when using the fast99 (extended-FAST method) to perform SA of model with norm distribution inputs? See the simple example given following. Any suggestion will be greatly appreciated. Thank you! Marino # Simple example # 1. uniform version (It works well) library(sensitivity) Myfun<-function(x){return(rowSums(x))} SA1
2017 Sep 22
0
vfs_fruit and extended attributes
On Thu, 2017-09-21 at 10:35 -0600, Terry McGuire wrote: > Hello list. I?m attempting to improve how Samba shares directories on our Gluster volume to Mac > users by using the vfs_fruit module. What versions of GlusterFS and Samba have you installed? And which platform/distro are you using as Samba server? Please paste the output of `gluster volume info <VOLNAME>`. > This module
2003 Jul 17
3
Asterisk -> AS5300 SIP Interoperability
Greetings, I am attempting to configure an AS5300 to provide a SIP based gateway to the PSTN from Asterisk. I have been unable to identify through the docs how specifically this should be configured in Asterisk and have not been able to get things working through trial and error. I am sure I am missing something fairly obvious here but any guidance (or example cfgs) would be much appreciated.
2018 May 24
2
Winbindd (tdb_chainlock_with_timeout_internal: alarm (40) timed out for key)
Hi! I have 3 server: S.O. -  Debina 8 Winbind Version : 2:4.2.10+dfsg-0+deb8u3 Member Domain Samba Server : Ubuntu 14.04 with Samba 4.7.7 , are 18 Dcs --------------------- In day 21/05 , the 3 server have same problema in same time, th problem resolved after 40 minutes.... Syslog server 1/2/3: May 21 08:14:12  winbindd[6718]: [2018/05/21 08:14:12.288624,  0]
2017 Sep 22
1
vfs_fruit and extended attributes
Hello Anoop. Thanks for helping with this! > On Sep 22, 2017, at 00:11, Anoop C S <anoopcs at autistici.org> wrote: > > On Thu, 2017-09-21 at 10:35 -0600, Terry McGuire wrote: >> Hello list. I?m attempting to improve how Samba shares directories on our Gluster volume to Mac >> users by using the vfs_fruit module. > > What versions of GlusterFS and Samba have
2017 Sep 21
2
vfs_fruit and extended attributes
Hello list. I?m attempting to improve how Samba shares directories on our Gluster volume to Mac users by using the vfs_fruit module. This module does wonders for speeding listings and downloads of directories with large numbers of files in the Finder, but it kills uploads dead. Finder gives an error: The Finder can?t complete the operation because some data in ?[filename]? can?t be read or
2009 Jul 20
2
assign question
Dear R People: I have several vectors, sa1, sa2,...sa27 of varying lengths. I want to produce one vector xener[1:27] which has the minimum of each sa[i]. I'm trying to set up a loop and use the assign statement, but here are my results: > for(i in 1:27) { + xener[i] <- min(assign(paste("sa",i,sep=""))) + } Error in assign(paste("sa", i, sep =
2020 Sep 17
2
dovecot: lmtp: Error: fatal error: failed to reserve page summary memory
Sorry for offtopic, don't know where to ask it after updating from `ubuntu` 18 to 20 started getting this on running golang binary from sieve rules file ``` Sep 17 08:54:00 lonjemail spamd[3231]: spamd: connection from ::1 [::1]:57844 to port 783, fd 5 Sep 17 08:54:00 lonjemail spamd[3231]: spamd: setuid to Debian-exim succeeded Sep 17 08:54:00 lonjemail spamd[3231]: spamd: processing message
2018 May 24
3
Winbindd (tdb_chainlock_with_timeout_internal: alarm (40) timed out for key)
Hi! Thanks  for answer! In future my plan is update, but this momento is no possible.. :-| But, same error, in same time, in 3 server, is very strange.... Regards; On 24-05-2018 15:38, Rowland Penny via samba wrote: > On Thu, 24 May 2018 09:32:56 -0300 > Carlos via samba <samba at lists.samba.org> wrote: > >> Hi! >> >> I have 3 server: >> >> S.O.