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 <time.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#ifdef OPENLIBM | |
#include "openlibm.h" | |
#else | |
#include <math.h> | |
#endif |
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
{ | |
"metadata": { | |
"language": "Julia", | |
"name": "Voter data analysis with Julia's DataFrames" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
*(r1::RemoteRef,r2::RemoteRef)=@spawnat r2.where fetch(r1)*fetch(r2) | |
function prefix8(y,*) | |
if length(y)!=8; error("length 8 only"); end | |
for i in [2,4,6,8]; y[i]=y[i-1]*y[i]; end | |
for i in [ 4, 8]; y[i]=y[i-2]*y[i]; end | |
for i in [ 8]; y[i]=y[i-4]*y[i]; end | |
for i in [ 6 ]; y[i]=y[i-2]*y[i]; end | |
for i in [ 3,5,7 ]; y[i]=y[i-1]*y[i]; end | |
y |
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 LSF | |
immutable LSFManager <: ClusterManager | |
machines::Dict | |
function LSFManager(; machines=[]) | |
mhist = Dict() | |
for m in machines | |
cnt = get(mhist, m, 0) | |
mhist[m] = cnt + 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#ifndef LAPACK_STUB_H | |
#define LAPACK_STUB_H | |
#include <stdlib.h> | |
#define min(a,b) (((a) < (b)) ? (a) : (b)) | |
/** LAPACK Fortran subroutine DGETRF. */ |
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
0 | |
4gh | |
AStupidBear | |
AbhinavPraveen | |
AlexS12 | |
Alexander-Barth | |
Algocircle | |
AnderGray | |
AndreyKolev | |
AntonioLoureiro |
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
0 | |
2HgO | |
4gh | |
ANL-CEEESA | |
AP6YC | |
AStupidBear | |
ATISLabs | |
AbhinavPraveen | |
AdarshKumar712 |
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
_ | |
_ _ _(_)_ | Documentation: https://docs.julialang.org | |
(_) | (_) (_) | | |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 1.6.0-rc3 (2021-03-16) | |
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release | |
|__/ | | |
(@v1.6) pkg> add Plots |
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
%%MatrixMarket matrix coordinate complex general | |
484 484 1884 | |
1 1 -0.5000000000000002 0.0 | |
4 1 0.0 -1.0 | |
24 1 0.5000000000000002 0.0 | |
67 1 0.0 1.0 | |
2 2 -0.2500000000000001 0.9 | |
68 2 0.0 1.0 | |
3 3 -1.0500000000000003 -1.2 | |
6 3 0.0 -1.4142135623730951 |