This file contains 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
#include <cstdlib> | |
#include <random> | |
#include <iostream> | |
namespace barrierpricer { | |
static std::random_device rd; | |
static std::mt19937_64 rand_generator(rd()); | |
static std::normal_distribution<> dis; | |
double box_muller_rand() { |
This file contains 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
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' | |
steps: | |
- task: NodeTool@0 | |
inputs: | |
versionSpec: '10.x' |
This file contains 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
module.exports = { | |
env: { | |
browser: true, | |
es6: true, | |
"jest/globals": true | |
}, | |
extends: [ | |
'plugin:react/recommended', | |
'standard' | |
], |
This file contains 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
<!-- ref: https://d3js.org/d3.v5.min.js //--> | |
<!-- Input Expected: SpatialObj //--> | |
<div id="ChartHtml"> | |
<div id="chart1" style="background-color: white;"> | |
<svg id="chartSVG" style="width:1400px; height:700px;background-color: white;"></svg> | |
</div> | |
<script> | |
const getSpatial = r => r['SpatialObj'] | |
const baseProjection = d3.geoAzimuthalEquidistant() |
This file contains 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
<!-- ref: https://d3js.org/d3.v5.min.js //--> | |
<!-- Input Expected: Name, Value //--> | |
<div id="ChartHtml"> | |
<div id="chart1" style="background-color: white;"> | |
<svg id="chartSVG" style="width:800px; height:600px;background-color: white;"></svg> | |
</div> | |
<script> | |
const svg = d3.select("#chartSVG") | |
const width = +svg.style("width").replace("px","") | |
const height = +svg.style("height").replace("px","") |
This file contains 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
<!-- ref: https://d3js.org/d3.v5.min.js --> | |
<!-- Input Expected: Group, Set, Value --> | |
<div id="ChartHtml"> | |
<div id="chart1" style="background-color: white;"> | |
<svg id="chartSVG" style="width:800px; height:600px;background-color: white;"></svg> | |
</div> | |
<script> | |
const svg = d3.select("#chartSVG") | |
const width = +svg.style("width").replace(/px/,"") | |
const height = +svg.style("height").replace(/px/,"") |
This file contains 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
<!-- ref: https://d3js.org/d3.v5.min.js //--> | |
<!-- Input Expected: Name, Value, Set //--> | |
<style> | |
</style> | |
<div id="ChartHtml"> | |
<div id="chart1" style="background-color: white;"> | |
<svg id="chartSVG" style="width:800px; height:600px;background-color: white;"></svg> | |
</div> | |
<script> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>GroupedRecordID</title> | |
<script type="text/javascript"> | |
document.write(`<link rel="import" href="${window.Alteryx.LibDir}2/lib/includes.html">`) | |
</script> | |
</head> | |
<body> |
This file contains 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 math | |
import statistics | |
import copy | |
from pyspark import SparkConf, SparkContext | |
indexPostcode = 3 | |
indexPrice = 1 | |
indexDate = 2 |
NewerOlder