Displaying 20 results from an estimated 40 matches for "mandelbrot".
2003 Sep 17
3
Fractals in R and having fun! (and more persp and color)
Well, I started playing with fractals in R, and wrote a function to
generate de Mandelbrot set, which might
be of interest to some people
###########################################################################
# Mandelbrot set
###########################################################################
mandelbrot <- function(x = c(-3.0, 1.0), # x coordinates...
2005 Oct 04
6
Animation of Mandelbrot Set
Hi,
I was playing with Mandelbrot sets and come up with the following code, I
thought I would share:
library(fields) # for tim.colors
library(caTools) # for write.gif
m = 400 # grid size
C = complex( real=rep(seq(-1.8,0.6, length.out=m), each=m ),
imag=rep(seq(-1.2,1.2, length.out=m), m ) )
C = matrix...
2003 Oct 02
0
R] Re: Mandelbrot set and C code --
...ed to build packages from source. You can
read about it in Q3.1 of R for Windows FAQ.
Andy
> -----Original Message-----
> From: Rex Bryan Dell1700 [mailto:rexbryan1 at comcast.net]
> Sent: Thursday, October 02, 2003 12:15 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] R] Re: Mandelbrot set and C code --
>
>
> Wizards...
>
> With regards to Mario's Mandelbrot.c programming -- would
> some kind wizard show how to compile and run his code on
> a Win installation. I'm looking for a simple "cookbook"
> example in the same manner that Mari...
2003 Oct 02
0
R] Re: Mandelbrot set and C code --
Wizards...
With regards to Mario's Mandelbrot.c programming -- would
some kind wizard show how to compile and run his code on
a Win installation. I'm looking for a simple "cookbook" example in
the same manner that Mario show for Linux.
I have Win2000 on this machine.
REX
--------------- Original Message ---------------------
D...
2010 Sep 24
2
why I could not reproduce the Mandelbrot plot demonstrated on R wiki
I am trying to reproduce the nice looking of Mandelbrot demonstrated by R
wiki page by the following code:
library(caTools) # external package providing write.gif function
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan",
"#7FFF7F",
"yello...
2010 Oct 11
1
plotting Zipf and Zipf-Mandelbrot curves in R
Using R, I plotted a log-log plot of the frequencies in the Brown Corpus
using
plot(sort(file.tfl$f, decreasing=TRUE), xlab="rank", ylab="frequency",
log="x,y")
However, I would also like to add lines showing the curves for a Zipfian
distribution and for Zipf-Mandelbrot.
I have seen these in many articles that used R in creating graphs.
Thank you!
[[alternative HTML version deleted]]
2017 Nov 03
2
fractales
Mira el conjunto de mandelbrot en r cómo mola
https://www.google.es/amp/s/www.r-bloggers.com/the-mandelbrot-set-in-r/amp/
El 3 nov. 2017 4:20 PM, "eric" <ericconchamunoz en gmail.com> escribió:
> hola luis, podrias explicarte un poco mas ? que quieres decir con "obtener
> fractales de una imagen&qu...
2011 Feb 04
2
vegan and sweave using xtable
...par2 par3 Deviance AIC BIC
Null 39.5261 315.4362 315.4362
Preemption 0.042797 21.8939 299.8041 302.3367
Lognormal 1.0687 1.0186 25.1528 305.0629 310.1281
Zipf 0.11033 -0.74705 61.0465 340.9567 346.0219
Mandelbrot 100.52 -2.312 24.084 4.2271 286.1372 293.7350
I want to include the table shown above into the latex document
(using xtable).
library(xtable)
xtable(mod)
Error in UseMethod("xtable") :
no applicable method for 'xtable' applied to an object of class
"radfit&...
2017 Sep 29
2
Trouble when suppressing a portion of fast-math-transformations
...rs would see a performance hit (so we have a different
private change to address that).
As a final point here, to give more weight to this, I took a random bit of code
I found on github that that has floating-point fast-math opportunities in it,
and experimented with it. (I just searched for 'mandelbrot', and took the
first thing I found.) Specifically:
https://gist.github.com/andrejbauer/7919569
This test-case has a few divisions in it, but it doesn't contain any
reciprocal-transformation opportunities (so '-f[no-]reciprocal-math' should
essentially be a no-op).
The old Clan...
2009 Jun 24
0
[LLVMdev] New HLVM examples
...The first article
describes a compiler written in only 228 lines of code that can execute
interesting programs:
http://ocamlnews.blogspot.com/2009/06/compiler-development-part-1.html
For example, the compiler described in the article can execute the following
OCaml-like program to print the Mandelbrot set:
# let rec pixel((n, zr, zi, cr, ci) : int * float * float * float * float) :
unit =
if n = 65536 then print_char ' ' else
if zr * zr + zi * zi >= 4.0 then print_char '.' else
pixel(n+1, zr * zr - zi * zi + cr, 2.0 * zr * zi + ci, cr, ci);;
# let rec row((i...
2017 Nov 03
3
fractales
Hola
Quisiera saber si podrían informar como puedo hacer para obtener fractales de una imagen con R. Hay algún paquete? o tutorial que me guíe?
Desde ya muchas gracias.
Atentamente, Luis
2002 Aug 10
2
fractals
Dear R People:
Does anyone have any code for Fractals, chaos,
or anything like that, please?
This is strictly for demo purposes...decorative only.
This is R version 1.5.1 for Windows.
Thank you in advance!
Have a great weekend!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
1 Main Street
Houston, TX 77002
2012 Apr 23
2
zipfR help
Hi,
I have a question on generating random variables based on zipf-mandelbrot
distribution.
So when I execute the following lines:
ZM = lnre ("zm", alpha = 2/3, B=0.1)
zmsample = rlnre (ZM, n =100)
zmsample
It generates 100 random values based on a zipf-mandelbrot distribution as
below. But how do I make sure the generated random number is within the
range of 1...
2017 Sep 29
0
Trouble when suppressing a portion of fast-math-transformations
...ent
>
> private change to address that).
>
> As a final point here, to give more weight to this, I took a random
> bit of code
>
> I found on github that that has floating-point fast-math opportunities
> in it,
>
> and experimented with it. (I just searched for 'mandelbrot', and took the
>
> first thing I found.) Specifically:
>
> https://gist.github.com/andrejbauer/7919569
>
> This test-case has a few divisions in it, but it doesn't contain any
>
> reciprocal-transformation opportunities (so '-f[no-]reciprocal-math'
> sho...
2009 Feb 26
2
[LLVMdev] Impressive performance result for LLVM: complex arithmetic
Following a discussion about numerical performance on comp.lang.functional
recently I just tried running a simple C mandelbrot benchmark that uses C99's
complex arithmetic using gcc and llvm-gcc on a 2.1GHz Opteron 2352 running
Debian:
gcc: 5.727s
llvm-gcc: 1.393s
There is still 20% room for improvement but LLVM is >4x faster than gcc here.
Sweet.
Here's the code:
#include <stdio.h>
#include &l...
2003 Oct 28
1
stacking histograms
...lt;http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
"A fractal is by definition a set for which the Hausdorff Besicovitch
dimension strictly exceeds the topological dimension."
-- Mandelbrot, "The Fractal Geometry of Nature"
2009 Dec 02
1
[LLVMdev] LLVM 2.6 -> SVN breaks this
...scovered that
it works with LLVM 2.6 and with LLVM SVN when run through lli or llc
without -tailcallopt but when I use:
$ llvm-as -f aout.ll
$ llc -tailcallopt -f aout.bc -o aout.s
$ gcc -lm aout.s -o aout
and the latest LLVM SVN it starts to print incorrect output (it is supposed to
print the Mandelbrot set in ASCII). Perhaps this is a repro for the new
TCO-related bug?
; ModuleID = 'aout.bc'
%0 = type { i32, %1 }
%1 = type { i8*, i32, i8*, i8* }
%2 = type { i32 (%1)*, i32 (%1)* }
%3 = type { i32, %1, %0, %1 }
%4 = type { i32, double, double, double, double }
%5 = type {...
2011 Oct 19
6
[LLVMdev] ANN: libclc (OpenCL C library implementation)
...re
published at CGO'11:
http://dx.doi.org/10.1109/CGO.2011.5764682
In contrast to Clover and pocl, we aimed at maximum performance before
full support of the API (which simply requires more manpower than one
PhD student).
The driver was evaluated using benchmarks from the AMD APP SDK, e.g.
Mandelbrot, NBody, FastWalshTransform, Histogram, BlackScholes, DCT, ...
Our measurements show that our driver outperforms both Intel's and AMD's
CPU driver for almost all of the benchmarks.
We plan to release both the vectorization library as well as the OpenCL
driver under a BSD-style license, bu...
2011 Oct 19
0
[LLVMdev] ANN: libclc (OpenCL C library implementation)
...; http://dx.doi.org/10.1109/CGO.2011.5764682
>
> In contrast to Clover and pocl, we aimed at maximum performance before
> full support of the API (which simply requires more manpower than one
> PhD student).
> The driver was evaluated using benchmarks from the AMD APP SDK, e.g.
> Mandelbrot, NBody, FastWalshTransform, Histogram, BlackScholes, DCT,
> ...
> Our measurements show that our driver outperforms both Intel's and
> AMD's
> CPU driver for almost all of the benchmarks.
>
> We plan to release both the vectorization library as well as the OpenCL
> dri...
2013 Mar 01
4
[LLVMdev] NVPTX CUDA_ERROR_NO_BINARY_FOR_GPU
...;m not sure the intrinsics are getting compiled
> > correctly.
> >
> > In addition, when I try load the module using CUDA, I get an
> > error: CUDA_ERROR_NO_BINARY_FOR_GPU. I'm running this on a 2012 MBP
> > with a 640M GPU.
> >
> > PTX Code (for a mandelbrot calculation):
> >
> > //
> > // Generated by LLVM NVPTX Back-End
> > //
> >
> > .version 3.1
> > .target sm_10, texmode_independent
> > .address_size 64
> >
> > .func (.reg .b32 func_retval0) INT_PTX_SREG_CTAID_X
> > (
> >
&g...