Skip to content

Instantly share code, notes, and snippets.

Avatar

Viral B. Shah ViralBShah

View GitHub Profile
View gist:786a40fd393c755e1b4758ffe198a27f
_
_ _ _(_)_ | 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
View JuliaOrgOrUserNames
0
2HgO
4gh
ANL-CEEESA
AP6YC
AStupidBear
ATISLabs
AbhinavPraveen
AdarshKumar712
View All Github orgs and accounts in General
0
4gh
AStupidBear
AbhinavPraveen
AlexS12
Alexander-Barth
Algocircle
AnderGray
AndreyKolev
AntonioLoureiro
View blas-stub.c
#ifndef LAPACK_STUB_H
#define LAPACK_STUB_H
#include <stdlib.h>
#define min(a,b) (((a) < (b)) ? (a) : (b))
/** LAPACK Fortran subroutine DGETRF. */
View JulisaString_logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ViralBShah
ViralBShah / LSF.jl
Created Nov 7, 2016 — forked from kourzanov/LSF.jl
LSF module for Julia
View LSF.jl
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
View test.jl
*(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
View Voter file analysis with Julia's DataFrames
{
"metadata": {
"language": "Julia",
"name": "Voter data analysis with Julia's DataFrames"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View powperf.c
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef OPENLIBM
#include "openlibm.h"
#else
#include <math.h>
#endif