Displaying 20 results from an estimated 9878 matches for "simplifiable".
Did you mean:
unsimplifiable
2020 May 22
3
Compatibility issues caused by new simplify argument in apply function
Dear R Developers,
the new simplify argument in apply causes that my package (hsdar) does not
pass the
checks in R-devel.
The workaround, Kurt Hornik send me, is working for the R-code:
if("simplify" %in% names(formals(base::apply)))
do something
else
do something else
Unfortunately, I cannot conditionalize the man pages of the functions. I get
the message
that
2020 May 22
2
Compatibility issues caused by new simplify argument in apply function
Interesting problem. I'm very rusty on S4 but would one solution be
to, already now, add 'simplify = TRUE' to the S4 method and document
it;
setMethod("apply", signature(X = "Speclib"),
function(X,
FUN,
bySI = NULL,
...,
simplify = TRUE) {
?
Henrik
On Fri, May 22, 2020 at 6:26
2018 Mar 13
4
Possible Improvement to sapply
While working with sapply, the documentation states that the simplify argument will yield a vector, matrix etc "when possible". I was curious how the code actually defined "as possible" and see this within the function
if (!identical(simplify, FALSE) && length(answer))
This seems superfluous to me, in particular this part:
!identical(simplify, FALSE)
The preceding
2018 Mar 13
0
Possible Improvement to sapply
Wouldn't that change how simplify='array' is handled?
> str(sapply(1:3, function(x)diag(x,5,2), simplify="array"))
int [1:5, 1:2, 1:3] 1 0 0 0 0 0 1 0 0 0 ...
> str(sapply(1:3, function(x)diag(x,5,2), simplify=TRUE))
int [1:10, 1:3] 1 0 0 0 0 0 1 0 0 0 ...
> str(sapply(1:3, function(x)diag(x,5,2), simplify=FALSE))
List of 3
$ : int [1:5, 1:2] 1 0 0 0 0 0 1 0 0
2014 Dec 09
3
Request permission for editting Simplified Chinese Frontpage
My wiki username is HoLee .
Now, the simplified chinese frontpage is maintained by TimothyLee.
Because of his efforts ,the Traditional Chinese Frontpages and
Simplified Chinese Frontpages are created and maintained very well.
I know that TimothyLee is from Taiwan,so the Simplified Chinese
Frontpage is translated from Traditional Chinese Frontpage
directly.So,there are some sentences is
2018 Mar 13
1
Possible Improvement to sapply
You?re right, it sure does. My suggestion causes it to fail when simplify = ?array?
From: William Dunlap [mailto:wdunlap at tibco.com]
Sent: Tuesday, March 13, 2018 12:11 PM
To: Doran, Harold <HDoran at air.org>
Cc: r-help at r-project.org
Subject: Re: [R] Possible Improvement to sapply
Wouldn't that change how simplify='array' is handled?
> str(sapply(1:3,
2008 Oct 17
0
Wine release 1.0.1
The Wine maintenance release 1.0.1 is now available.
This is a maintenance release from the 1.0 stable branch. It contains
only translation updates and small bug fixes.
The source is available from the following locations:
http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.0.1.tar.bz2
http://prdownloads.sourceforge.net/wine/wine-1.0.1.tar.bz2
Binary packages for various
2020 May 22
0
Compatibility issues caused by new simplify argument in apply function
You didn't explained what the error is. This is what it looks like to
me, but I'm probably wrong in some details:
1. R-devel added an argument to the apply() function, so the header has
changed from
function (X, MARGIN, FUN, ...)
to
function(X, MARGIN, FUN, ..., simplify = TRUE)
2. Your package converted the function apply() to an S4 generic.
3. Now the signatures of your
2011 Jan 20
1
[LLVMdev] [llvm-commits] [llvm] r123754 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp test/Transforms/InstSimplify/2010-12-20-Distribute.ll
There's some interest in my "auto-simplifier", which is nice :), so let me
explain a bit about it.
On 19/01/11 19:35, Sandeep Patel wrote:
> You've mentioned your auto-simplifier a few times now and curiosity is
> getting the better of me. Can you explain it a bit more?
On 20/01/11 00:32, Nuno Lopes wrote:
> Just out of curiosity, what's this auto-simplifier?
2005 May 26
1
Simplify formula for heterogeneity
Dear R-ians,
I'm looking for a computational simplified formula to calculate a
measure for heterogeneity (let's say H ):
H = sqrt [ (Si (Sj (Xi - Xj)?? ) ) /n ]
where:
sqrt = square root
Si = summation over i (= 0 to n)
Sj = summation over j (= 0 to n)
Xi = element of X with index i
Xj = element of X with index j
I can simplify the formula to:
H = sqrt [ ( 2 * n * Si (Xi) - 2 Si (Sj
2018 Mar 13
0
Possible Improvement to sapply
On 03/13/2018 09:23 AM, Doran, Harold wrote:
> While working with sapply, the documentation states that the simplify argument will yield a vector, matrix etc "when possible". I was curious how the code actually defined "as possible" and see this within the function
>
> if (!identical(simplify, FALSE) && length(answer))
>
> This seems superfluous to me,
2014 Dec 10
3
Request permission for editting Simplified Chinese Frontpage
Dear Alan
On 12/10/2014 01:27 AM, Alan Bartlett wrote:
> On 9 December 2014 at 13:50, Ho Lee <huanying2000a at gmail.com> wrote:
>> My wiki username is HoLee .
>>
>> Could I gain access to these Simplified Chinese Frontpage?
> I like the idea of having more than one person looking after a
> particular language translation and your offer to assist with
2013 Aug 08
0
[LLVMdev] [global-isel] Simplifying the simplifier
----- Original Message -----
[snip]
>
> DAGCombine is supposed to clean up legalization products, but today
> it seems to be accumulating some transformations that probably
> belong in InstCombine. Since it is running so late in the pass
> pipeline, its canonicalizing approach is causing problems for
> targets that are trying to arrange the IR optimally. Optimal and
>
2018 Mar 13
2
Possible Improvement to sapply
Martin
In terms of context of the actual problem, sapply is called millions of times because the work involves scoring individual students who took a test. A score for student A is generated and then student B and such and there are millions of students. The psychometric process of scoring students is complex and our code makes use of sapply many times for each student.
The toy example used
2014 Jun 12
3
[LLVMdev] Passes calling
Hi,
I know when a pass needs other passes, it will use something like this: "AU.addRequired<LoopInfo>();". But this is usually used for the analysis passes.
When a pass needs another transform pass, can it call it automatically?
For example:
Some loop optimizations may need loop-simplify, I need add -loop-simplify before calling these passes manually, or they can call the pass
2019 May 17
5
Give update.formula() an option not to simplify or reorder the result -- request for comments
Dear All,
Martin Maechler has asked me to send this to R-devel for discussion
after I submitted it as an enhancement request (
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17563).
At this time, the update.formula() method always performs a number of
transformations on the results, eliminating redundant variables and
reordering interactions to be after the main effects. This is not
always
2010 Jul 07
2
About Simplified Chinese Translation
Hi,
Hello, everyone.
My Name is GaoHu, I'm living in Hangzhou, ZheJiang, China.
Last year, I graduate from college in ShanXi. Now, I'm working in a IT company that
using Delphi and Oracle, with Our Server RHEL.
I'm interest in Open Source and like CentOS as it is simple and stable. I like to use
CentOS as my server, with Fedora as my desktop. I like linux and I just think there
2011 Oct 22
5
[LLVMdev] How to make Polly ignore some non-affine memory accesses
I was trying the new feature you introduce about printing out the
graphs, so I updated my version of llvm/clang/polly synchronizing them
to the last version, but I get this error launching clang (also , I
recently switched to MacOS X for development):
$ clang not_so_simple_loop.c -O3 -Xclang -load -Xclang
${PATH_TO_POLLY_LIB}/LLVMPolly.dylib -mllvm -enable-polly-viewer
-mllvm -enable-iv-rewrite
2006 Apr 04
2
documenting s4 methods in package
Hi,
I have written a package that contains many s4 generic functions and
associated methods. I am having a lot of trouble getting R to build the help
pages for these generic functions without reporting, "missing link(s):
~~fun~~, which means that it cannot find the appropriate function when code
in the example section of the help is run. Right?
After some playing around I can get it to
2016 Aug 24
3
Request suggestions about how to remove redundencies caused by SCEV expansion fundementally
Hi Wei,
Wei Mi wrote:
> Sanjoy and Andy, thanks a lot for your suggestions.
>
> On Wed, Aug 24, 2016 at 8:53 AM, Andrew Trick<atrick at apple.com> wrote:
>>
>>> On Aug 23, 2016, at 11:30 PM, Sanjoy
Das<sanjoy at playingwithpointers.com> wrote:
>>>
>>> Hi Wei,
>>>
>>> I've not seen GCC's SCEV so I cannot