Step two from Mike Bostock's excellent tutorial with interactive way to find the correct translation and scale, which makes it easy to display the desired part of the map. Click and move to position map, scroll to scale. The parameters are show in the console.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: First Derivative of the Multivariate Normal Densities with RcppArmadillo | |
author: Joscha Legewie | |
license: GPL (>= 2) | |
tags: armadillo | |
summary: Fast implementation of the first derivative of the Multivariate Normal density using RcppArmadillo. | |
--- | |
There is a great RcppArmadillo [implementation](http://gallery.rcpp.org/articles/dmvnorm_arma/) of multivariate normal densities. But I was looking for the first derivative of the multivariate normal densities. Good implementations are surprisingly hard to come by. I wasn't able to find any online and my first R implementations were pretty slow. RcppArmadillo might be a great alternative particularly because I am not aware of any c or Fortran implementations in R. In these areas, we can expect the largest performance gains. Indeed, the RcppArmadillo version is over 400-times faster than the R implementation! |
A test of d3.interpolateZoom plugin with text elements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime | |
import sublime_plugin | |
#import os | |
import subprocess | |
import string | |
import re | |
## send selection to iTerm | |
class SendSelectionIterm(sublime_plugin.TextCommand): | |
@staticmethod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"scope": "source.r", | |
"completions": | |
[ | |
"abline", | |
"abs", | |
"anova", | |
"anova.glm", | |
"anova.lm", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Title</title> | |
<meta name="viewport" content="width=1024, user-scalable=no"> | |
<!-- Core and extension CSS files --> | |
<link rel="stylesheet" href="/libs/deck/core/deck.core.css"> |