Displaying 19 results from an estimated 19 matches for "unelegant".
Did you mean:
inelegant
2010 Mar 29
1
Suggestion: Adding quick rowMin and rowMax functions to base package
...for matrices with a very large number of rows. A quick
functionality seems to be already there in the functions pmax and pmin,
but it is rather cumbersume to apply them to all columns of a matrix (if
one does not know how many columns the matrix has). Below, I have some
code that shows a very unelegant implementation that illustrates
possible speed gains if apply could be avoided:
rowMin = function(x) {
# Construct a call pmin(x[,1],x[,2],...x[,NCOL(x)])
code = paste("x[,",1:(NCOL(x)),"]",sep="",collapse=",")
code = paste("pmin(",c...
2009 Apr 01
2
Plotting multiple ablines
I really want to do this:
abline(
a=tan(-kT*pi/180),
b=kY-tan(-kT*pi/180)*kX
)
where kX,kY and kT are vectors of equal length. But I can't do that
with abline unless I use a loop, and I haven't figured out the least
unelegant way of writing the loop yet. So is there a way to do this
without a loop?
Or if I am to resort to the loop, what's the best way of doing it
considering that I have some missing data? Here's the mess that I
wrote.
converge <- na.omit(data.frame(kX,kY,kT))
for (z in (length(converge$kT))...
2013 Apr 26
2
[LLVMdev] CallGraph
Thanks for the response.
I looked and I cannot see what exactly I need. I saw getCalledFunction() so
I need CallSite CS(cast<Value>(II)) where II is a basic block iterator, so
an instruction. It seems not easier than the "unelegant" version....if I am
still at the Instruction level...
I need a method that takes from a "leaf" basic block from a function (Maybe
there is the possibility not to have only one "end" basic block) the
connection with an entry basic block of another function.
Thank you !...
2006 Jan 20
1
Update HTML Element with Ajax
...---------------
<% if some_merker %>
<li id="<%= item.id %>" >
<% end %>
<%= item.name %>
<%= item.body %>
<% if some_merker %>
</li>
<% end %>
and then set this merker=true for list-action and false for others, but
it''s unelegant.
Some Ideas?
Sorry for my english.
--
Posted via http://www.ruby-forum.com/.
2013 Apr 26
0
[LLVMdev] CallGraph
...04/13 13:17, Alexandru Ionut Diaconescu wrote:
> Thanks for the response.
> I looked and I cannot see what exactly I need. I saw getCalledFunction() so I
> need CallSite CS(cast<Value>(II)) where II is a basic block iterator, so an
> instruction. It seems not easier than the "unelegant" version....if I am still
> at the Instruction level...
the call graph gives you a graph where the nodes are functions, and there is an
edge from function F to function G if function F calls function G.
>
> I need a method that takes from a "leaf" basic block from a functi...
2005 Apr 27
1
ncdf with opendap/dods support
..., the user must install the opendap/dods netcdf
libraries on the system and then run
R CMD INSTALL --configure-args="-with-dods=$DODS_INSTALL_DIR"
ncdf_1.3-dods.tar.gz
where $DODS_INSTALL_DIR is wherever the opendap lib and include
directories are found.
My modifications are small and unelegant, but it works, providing that
the user can successfully install the opendap libraries. I am neither a
compile guru nor do I have very much experience using and developing for
R. Therefore, I would like to see if anyone would be willing to help me
make this modification into a more official pa...
2012 Sep 19
4
correlating matrices
...dological objections against doing this?
2. After having done the regression I now want to make a prediction. Thus
given the coefficients of my regression mod and matrix2 and matrix3 I want
to predict a new matrix. This is where the matrix approach becomes
difficult. I made it work, but it is very unelegant:
*pred<-rep(coef(mod)[1],2)+coef(mod)[2]*matrix2+coef(mod)[3]*matrix3
PRED<-matrix(pred, nrow=length(matrix1[,1]), ncol=length(matrix1[1,]),
byrow=F)*
Is there a more elegant way of doing this? Because I dont have two but six
matrices as independent variables, so it becomes pretty lengthy....
2006 Mar 03
0
AR::Base.pluralize_table_names doesnt work with scaffold generator, right?
...it works fine. Then I have to edit model/Somthing.rb and inlcude
the set_table_name "Something" into the class definition, rename my
table back to something and also fix the test-classes because they got
generated with the somethings name. Seems to be a bit error prone to me
and very unelegant. pgAdmin makes the sql part easy, but it still feels
a bit strange to me.
Wouldnt it be nice if this automatism could be turned off for the
scaffold generator on request and we would be able to specify name of
the Model, name-as-is of the table, and maybe even name-as-is of the
primary key - a...
2005 May 10
0
Asterisk Upgrade Path
Hi
We have been experimenting with different versions of Asterisk, and
found that the path to switch from one version to onother (say 1.0.7
to CVS for example) is somewhat unelegant, at least what we did:
make
make install
and replace everything in your system.
When you have problems with one version and switch to another, you
start to wonder that maybe some leftover from a previous version of
Asterisk or/and zaptel libs is affecting the install.
How are you guys doing? W...
2006 Jun 14
1
analog call progress - can I use backgrounddetect
Hi,
There seems to be no solution for call progress on analog lines
and using outgoing spool call files . My wave file starts playing before
the person has answered the phone so the first part of the message is
missed.
Can the backgrounddetect app be used for this. I have tried but
the message still plays before I answer.
I generated 60 seconds wave file.
[callprogress]
exten =>
2013 Apr 26
0
[LLVMdev] CallGraph
Hi,
On 26/04/13 11:19, Alexandru Ionut Diaconescu wrote:
> Hello,
>
> I try to make a big CFG (control flow graph) by combining all the CFG-s from all
> the functions of a module. I still have one problem : I want to get the links
> between functions.
>
> For CFG-s, I used CallGraphNode->second->getFunction, then Function_iterators
> and succ_iterators, so I have all
2002 Oct 03
0
more questions Re: deleting (empty) directories
...ng a rsync daemon (run as a user
on a non-privileged port). Once the daemon is up, I see that I
can stop it by "kill `cat rsync.pid`".
But this logs in rsync.log a message like
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
It works, but the message is unelegant. Is there a proper way of
stopping a daemon ?
3) selective delete ?
I am now testing a way to keep in synch two nearly mirrored sites.
I planned to run with rsync -rlptzu --delete source destination
The source is a module defined in a configuration file. This contains
an exclude...
2013 Apr 26
2
[LLVMdev] CallGraph
Hello,
I try to make a big CFG (control flow graph) by combining all the CFG-s
from all the functions of a module. I still have one problem : I want to
get the links between functions.
For CFG-s, I used CallGraphNode->second->getFunction, then
Function_iterators and succ_iterators, so I have all the links between BBs.
Now, the questions is how do I link BBs from different functions?
I can
2007 Nov 07
1
A more elegant way of obtaining the major OS release number
...r{^LSB Version:\t(.*)$},
> ---
> > {
> > "LSBRelease" => %r{^LSB Version:\t(.*)$},
> 623a625
> > "LSBDistRelease_MajorVersion" =>
> %r{^Release:\t([0-9]+)},
> =======
>
> However, this seems like a rather unelegant, non-standard solution,
> and it''s Linux-specific!
>
> Can you think of any way in which one might distinguish between, say,
> ''Solaris 7'' and ''Solaris 8'', without caring if it''s 7.1 or 7.2 or 7.3
> within ''7''.....
2013 Mar 05
3
Simulate binary correlated data
Dear R experts,
I am trying to simulate correlated binary data and have stumbled upon the
following problem:
With the help of "binarySimCLF" or "mvpBinaryEp" I have been able to
simulate correlating binary vectors given certain mean values and a desired
correlation. My problem is that these procedures do not allow you to specify
the exact vector for which you want to generate
2004 Sep 10
2
terms weight access
Hi!
First I would like to thank people working on the xapian project.
I have been trying hard to find out how to access the indexed documents
weight vectors without success. I found the query weights and the total
weights of documents, but not the individual weights. Could somebody
give me a hint?
Georges Dupret
2004 Sep 10
2
terms weight access
Hi!
First I would like to thank people working on the xapian project.
I have been trying hard to find out how to access the indexed documents
weight vectors without success. I found the query weights and the total
weights of documents, but not the individual weights. Could somebody
give me a hint?
Georges Dupret
2010 May 14
3
SAS for R-users
There are loads of resources for users of any other
statistics package who are learning R. For example
http://www.google.com/search?q="r+for+sas-users"
The reverse isn't the case
http://www.google.com/search?q="sas+for+r-users"
Having heard rumors of how unelegant other statistics
packages are, I don't see why any R-user would
ever want to switch to anything else. That said,
users of other statistics packages will sometimes
make R-users switch to their statistics packages.
The only resources I've found for R-users learning
SAS are still intended for...
2018 Aug 23
0
Total Recall. The sea shall see, how all... Marshall.
...tanding of both reality and virtual reality
and again, not seeing that kind of darkness--that inability to publicly
"change directions" when we find out that there aren't 12 dimensions that
are curled up on themselves with no real length or width or purpose other
than to say "how unelegant is this anti-Razor of Mazer Rackham?"
So, I think it's obvious but also that I need to point out the connection
between "hiding knowledge of the Matrix" and the Holocaust; and refer you
to the mirrored shield of Perseus
<http://marchekay.gq/lists/lt.php?id=YUgDAQRWGAFXVB1QWlQ...