Displaying 10 results from an estimated 10 matches for "multipols".
Did you mean:
multipol
2011 Jan 26
0
Bivariate polynomials in R
Have you ever worked in R with bivariate polynomials? How did you implement simple operators like addition/multiplication?
I found a package called multipol that seems to support these kinds of operators but I do keep receiving error.
Check for example the following snippet of code (you can copy & paste)
require('orthopolynom')
require('polynom')
require('multipol')
2008 Jan 07
2
S3 vs S4 for a simple package
...methods for "[" and "[<-"
and I also need a print (or show) method and methods for arithmetic +-
*/^.
In S4, an object of class "multipol" has one slot that holds an array.
Objects of class "multipol" require specific arithmetic operations;
a,b being
multipols means that a+b and a*b are defined in peculiar ways
that make sense in the context of the package. I can also add and
multiply
by scalars (vectors of length one).
My impression is that S3 is perfectly adequate for this task, although
I've not yet finalized the coding.
S4 seems to be "o...
2008 Apr 23
0
new package multipol
Hello List
please find a new package, multipol, recently uploaded to CRAN.
This package generalizes the polynom package (which handles univariate
polynomials) to the multivariate case. A short article discussing the
package will appear in the next issue of Rnews, Insha'Allah
enjoy
--
Robin Hankin
Uncertainty Analyst and Neutral Theorist,
National Oceanography Centre, Southampton
2008 Feb 04
2
a != a*1 != a+0 != +a
hits=1.0 tests=MANY_EXCLAMATIONS
X-USF-Spam-Flag: NO
Hi
I am writing a package for multivariate polynomials ('multipols')
using S3 methods.
The package includes a Ops.multipol() function for the
arithmetic methods; I would like
to define some sort of user-specified Boolean option which, if
set, would force results to be simplified as they are produced.
Call this option "trim". Trimming a multipol...
2008 May 17
0
fast multipole methods(FMM)/fast Gauss transfrorm(FGT)/improved fast gauss transform (IGFT)
I'm just curious, but wondering if there has been any work in making
these algorithms available in R. They are aimed at accelerating
matrix-vector products using approximation ideas, and might be useful in
applications such as kernel machines, Gaussian processes/kriging.
Thanks
Mark Palmer
Landscape Monitoring and Modelling
CSIRO Mathematical and
2011 Jan 25
0
Multivariate polynomials Howto
Good Evening,
I would like to work with multivariate polynomials (x and y variables).
I know that there is a package called multipol but I am not sure that supports my needs.
I use a function (in reality legendre.polynomials) which creates me the polynomials I want.
For example the following returns
> legendre.polynomials(2)[[2]]
x (first order polynomial)
I would like to calculate the
2010 Sep 21
1
Prime Factorization
Hi everyone, I have a very quick question:
Is there a ready-made function in R or any R packages to find the prime
factorization of an integer?
--
View this message in context: http://r.789695.n4.nabble.com/Prime-Factorization-tp2548877p2548877.html
Sent from the R help mailing list archive at Nabble.com.
2024 Dec 02
0
Identify first row of each ID within a data frame, create a variable first =1 for the first row and first=0 of all other rows
John,
Thanks for enlightening us so we better understand.
I won't argue with your wish to learn to do things in base R first. I started that way, myself, and found lots of the commands not particularly easy to fit into a single worldview. Many functions I read about were promptly forgotten, especially those without great documentation and not enough examples of real world usage.
This is why
2009 Sep 27
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* bdoc (1.0)
Michael Anderson
http://crantastic.org/packages/bdoc
This package contains a function that will classify DNA barcodes as
well as a few test and reference data sets.
* bdsmatrix (1.0)
Terry Therneau
http://crantastic.org/packages/bdsmatrix
This is a special case of sparse matrices, used by coxme and
2024 Dec 01
2
Identify first row of each ID within a data frame, create a variable first =1 for the first row and first=0 of all other rows
Rui:
"f these two, diff is faster. But of all the solutions posted so far,
Ben Bolker's is the fastest."
But the explicit version of diff is still considerably faster:
> D <- c(rep(1,10),rep(2,6),rep(3,2))
> microbenchmark(c(1L,diff(D)), times = 1000L)
Unit: microseconds
expr min lq mean median uq max neval
c(1L, diff(D)) 3.075 3.198 3.34396