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
{ lib, stdenv, fetchurl, bzip2, gfortran, libX11, libXmu, libXt, libjpeg, libpng | |
, libtiff, ncurses, pango, pcre2, perl, readline, tcl, texLive, tk, xz, zlib | |
, less, texinfo, graphviz, icu, pkg-config, bison, imake, which, jdk, blas, lapack | |
, curl, Cocoa, Foundation, libobjc, libcxx, tzdata, fetchpatch | |
, withRecommendedPackages ? true | |
, enableStrictBarrier ? false | |
# R as of writing does not support outputting both .so and .a files; it outputs: | |
# --enable-R-static-lib conflicts with --enable-R-shlib and will be ignored | |
, static ? false | |
}: |
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
{ stdenv | |
, fetchurl | |
, llvmPackages | |
, overrideCC | |
, gcc }: | |
let | |
openmp = llvmPackages.openmp; |
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
Debugger entered--Lisp error: (wrong-type-argument sequencep all) | |
cl-intersection((all magit) all) | |
byte-code("\301\302!\210\301\303!\210\301\304!\210\301\305!\210\301\306\307\310#\203/\0\311\312\313\300!\205!\0\010\"\203/\0\314\315!\203/\0\315\316!\210\317\320\307\321\322\323\324\325&\007\210\317\326\307\327\324\320%\210\330\331\332\333\334DD\335\336\337\324\320\340\341&\011\210\330\342\332\333\343DD\344\324\320\340\345&\007\210\330\346\332\333\347DD\350\324\320\340\351&\007\210\330\352\332\333\353DD\354\336\355\324\320\340\351&\011\210\330\356\332\333\357DD\360\324\320\340\361&\007\210\362\363\364\365\324\326%\210\362\366\367\370\324\326%\210\362\371\372\373\324\326%\210\362\374\375\376\324\326%\210\362\377\201@\0\201A\0\324\326%\207" [async-bytecomp-allowed-packages require button cl-lib dash format-spec async-bytecomp nil t cl-intersection (all magit) boundp fboundp async-bytecomp-package-mode 1 custom-declare-group magit-popup "Infix arguments with a popup as feedback." :link (info-link "(magit-popup) |
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
{ mkDerivation, base, doctest, doctest-prop, mtl, process, python, random | |
, safe, stdenv, strict, syb, vector | |
}: | |
mkDerivation { | |
pname = "cmaes"; | |
version = "0.2.2"; | |
src = ./.; | |
enableSeparateDataOutput = true; | |
libraryHaskellDepends = [ base mtl process safe strict syb ]; | |
testHaskellDepends = [ |
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
#get ctsem | |
install.packages("devtools") | |
library(devtools) | |
install_github("cdriveraus/ctsem") | |
#load lorenz data | |
ldat=read.csv(file='ldat.csv') | |
ldat=ldat[seq(1,nrow(ldat),5),] #subsample | |
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
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE OverloadedLists #-} | |
{-# LANGUAGE NumDecimals #-} | |
{-# LANGUAGE TypeApplications #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE DataKinds #-} | |
{-# OPTIONS_GHC -Wall #-} | |
module Main (main) where |
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
{ stdenv | |
, fetchurl | |
, llvmPackages | |
, overrideCC | |
, gcc }: | |
let | |
openmp = llvmPackages.openmp; |
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
{ stdenv | |
, fetchurl | |
, llvmPackages | |
, gfortran | |
, openmpi }: | |
let | |
openmp = llvmPackages.openmp; |
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 qualified Data.Vector.Unboxed as V | |
import Data.Random.Source.PureMT | |
import Data.Random | |
import Control.Monad.State | |
import Data.Histogram ( asList ) | |
import Data.Histogram.Fill | |
import Data.Histogram.Generic ( Histogram ) | |
import Debug.Trace |
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
let | |
pkgs = { | |
ihaskell = builtins.fetchTarball { | |
url = "https://github.com/gibiansky/IHaskell/tarball/cc427517a59bfc8e1014c7e02fe5cfe0ce7e5eef"; | |
sha256 = "0lpy70zagc1h3i1ihq83fm3af9ypfkwsi0b21hjiz5lkrplp9cna"; | |
}; | |
nixpkgs = builtins.fetchTarball { | |
url = "https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz"; | |
sha256 = "0mhqhq21y5vrr1f30qd2bvydv4bbbslvyzclhw0kdxmkgg3z4c92"; | |
}; |