# Posts Tagged ‘ optimisation ’

## Lambert’s W function and the generalised logarithm

November 16, 2011
By
$Lambert’s W function and the generalised logarithm$

Yesterday I ran into an equation that was a sum of an exponential and a linear term: It doesn’t take long to figure out that there is no analytical solution, and so I set out to write some crappy numerical code. After wasting some time with a fixed point iteration that did not really work,

## Bridge and Torch problem in R

November 8, 2011
By

A couple months ago I came across the bridge and torch problem at a careers fair in Oxford. A young tech company called QuBit used it as a brain teaser challenge for would be software engineers to solve before submitting … Continue reading →

## Code Optimization: One R Problem, Ten Solutions – Now Eleven!

November 2, 2011
By

Earlier this year I came across a rather interesting page about optimisation in R from rwiki. The goal was to find the most efficient code to produce strings which follow the pattern below given a single integer input n: From this we can see that the general pattern for n is: It is rather heart

## Code Optimization: One R Problem, Ten Solutions – Now Eleven!

November 1, 2011
By

Earlier this year I came across a rather interesting page about optimisation in R from rwiki. The goal was to find the most efficient code to produce strings which follow the pattern below given a single integer input n: From this we can see that the general pattern for n is: It is rather heart

## nlm [unused argument(s) (iter = 1)]

December 28, 2010
By

Ashley put the following comment on Chapter 5 of Introducing Monte Carlo Methods with R”: I am reading chapter 5. I try to reproduced the result on page 128. The R codes don’t work on my laptop. When I try to run the following codes on page 128 > for (i in 1:(nlm(like,sta)\$it)){ + mmu=rbind(mmu,nlm(like,sta,iter=i)\$est)}