Displaying 6 results from an estimated 6 matches for "s02mjtj".
2004 Nov 03
3
fold right - recursive list (vector) operators
The programming language mosml comes with foldr that 'accumulates' a
function f over a list [x1,x2,...,xn] with initial value b as follows
foldr f b [x1,x2,...,xn] = f(x1,...,f(xn-1,f(xn,b))...)
Observe that "list" should have same elements so in R terminology it would
perhaps be appropriate to say that the accumulation takes place over a
'vector'.
I wonder if R
2010 Jan 05
4
solving cubic/quartic equations non-iteratively
To R-helpers,
R offers the polyroot function for solving mentioned equations
iteratively.
However, Dr Math and Mathworld (and other places) show in detail how to
solve mentioned equations non-iteratively.
Do implementations for R that are non-iterative and that solve mentioned
equations exists?
Regards, Mads Jeppe
2010 Jan 08
0
solving cubic/quartic equations non-iteratively -- comparisons
...---- #
Larry Hotchkiss
--------------------------------------------------------------------------------------
Message: 7
Date: Wed, 6 Jan 2010 13:03:14 +0100
From: "Kasper Kristensen" <kkr at aqua.dtu.dk>
Subject: Re: [R] solving cubic/quartic equations non-iteratively
To: <s02mjtj at math.ku.dk>
Cc: r-help at r-project.org
Message-ID:
<88431FCDD055A44BA5EEE1EC14E7E151143E05 at lu-mail-san.dfu.local>
Content-Type: text/plain; charset="iso-8859-1"
Try,
library(polynom)
p <- polynomial(c(-8,14,-7,1))
solve(p)
Kasper
2007 Jun 04
2
rq matrix decomposition
I specifically need rq matrix decomposition (and not qr).
Looking at netlib site for LAPACK it does provide rq whereas LINPACK not.
Looking at companion qr in R I see how in base it wraps with a .Call but I
do not have success in doing that for a similar .Call for rq.
Anyone done this or can provide matrix rewrites that allow me to do the rq
decomposition with existing R funcs?
Regards MJ
2010 Jan 13
0
reading fifo with read.table hangs
To R-helpers,
Running
R version 2.10.0 (2009-10-26)
Linux ... 2.6.25.20-0.5-default #1 SMP 2009-08-14 01:48:11 +0200 x86_64 x86_64 x86_64 GNU/Linux
openSUSE 11.0 (X86-64)
and having difficulties reading a fifo from within R.
A short example that I find simply haning is shown as 'SHORT SCRIPT'
below. I expected R to print a data set read from the fifo with the
numbers 0,1,...7
2011 Feb 09
1
rimage package fftw breaks when freeing memory on openSUSE 11.3
Upon fresh installation of R-patched and rimage on openSUSE 11.3 box,
simple fftw on renown lena image cause memory free failure.
Quick: Go to the end of this mail and read the error message from R
Thoruogh: Find detailed step-by-step how sopprt library fftw2 was
installed and how rimage was installed.
Regards Mads Jeppe
VERSIONS
========
openSUSE
--------
# cat /etc/SuSE-release