content stringlengths 6 1.03M | input_ids listlengths 4 535k | ratio_char_token float64 0.68 8.61 | token_count int64 4 535k |
|---|---|---|---|
params = BasisMatrices.ChebParams(7, 1e-4, 10.0)
nod = BasisMatrices.nodes(params)
nod_end = BasisMatrices.nodes(params,1) # extended nodes to endpoints
nod_l = BasisMatrices.nodes(params,3) # Lobatto nodes
function manualeval(x,a,b,n)
z = 2*(x-a)/(b-a)-1
m = length(x)
bas = Array(Float64,m,n)
bas[:... | [
37266,
796,
6455,
271,
19044,
45977,
13,
7376,
65,
10044,
4105,
7,
22,
11,
352,
68,
12,
19,
11,
838,
13,
15,
8,
198,
198,
77,
375,
796,
6455,
271,
19044,
45977,
13,
77,
4147,
7,
37266,
8,
198,
77,
375,
62,
437,
796,
6455,
271,... | 1.82316 | 1,114 |
using RobustLeastSquares
using BaseTestNext
Logging.configure(level=Logging.DEBUG) # Useful to check convergence
# Test solve()
@testset "RobustLeastSqures" begin
@testset "Solvers" begin
s1 = 20
s2 = 10
rng = srand(0)
A = rand(rng,s1,s2)
b = rand(rng,s1)
weights ... | [
3500,
3851,
436,
3123,
459,
22266,
3565,
198,
3500,
7308,
14402,
10019,
198,
198,
11187,
2667,
13,
11250,
495,
7,
5715,
28,
11187,
2667,
13,
30531,
8,
1303,
49511,
284,
2198,
40826,
198,
198,
2,
6208,
8494,
3419,
198,
31,
9288,
2617,
... | 1.917293 | 3,059 |
<filename>DojoEnvironments/src/DojoEnvironments.jl
module DojoEnvironments
using LinearAlgebra
using Random
using MeshCat
using StaticArrays
using Dojo
import Dojo: string_to_symbol, add_limits, RotX, RotY, RotZ, build_robot, initialize!, set_minimal_coordinates_velocities!, velocity_index, vector_rotate, Prototype,... | [
27,
34345,
29,
5211,
7639,
4834,
12103,
14,
10677,
14,
5211,
7639,
4834,
12103,
13,
20362,
198,
21412,
2141,
7639,
4834,
12103,
198,
198,
3500,
44800,
2348,
29230,
198,
3500,
14534,
198,
198,
3500,
47529,
21979,
198,
3500,
36125,
3163,
... | 2.714286 | 266 |
# Tests using TaylorModel1 and RTaylorModel1
using TaylorModels
using LinearAlgebra: norm
using Test
const _num_tests = 1000
setformat(:full)
function get_random_point(ib0::IntervalBox{N, T}) where {N, T}
xmid = mid(ib0)
return diam.(ib0) .* (rand(N) .- 0.5) .+ xmid
end
function check_containment(ftest, xx... | [
2,
30307,
1262,
8121,
17633,
16,
290,
11923,
7167,
17633,
16,
198,
198,
3500,
8121,
5841,
1424,
198,
3500,
44800,
2348,
29230,
25,
2593,
198,
3500,
6208,
198,
198,
9979,
4808,
22510,
62,
41989,
796,
8576,
198,
198,
2617,
18982,
7,
25,... | 1.68657 | 12,092 |
<reponame>BirdClef/birdclef
module Zip
using ZipFile
function unzip(callback,src)
r = ZipFile.Reader(src);
try
for f in r.files
callback(f);
end
return true
catch e
throw(e)
finally
close(r)
end
end
function newdir(path)
if isfile(path)
... | [
27,
7856,
261,
480,
29,
42562,
34349,
69,
14,
16944,
2375,
69,
198,
21412,
38636,
198,
198,
3500,
38636,
8979,
198,
198,
8818,
555,
13344,
7,
47423,
11,
10677,
8,
198,
220,
220,
220,
374,
796,
38636,
8979,
13,
33634,
7,
10677,
1776,... | 2.059809 | 418 |
<reponame>PallHaraldsson/XLSXasJSON.jl
JSON.json(jws::JSONWorksheet) = JSON.json(data(jws))
JSON.json(jws::JSONWorksheet, indent) = JSON.json(data(jws), indent)
function dropnull(s)
replace(s, r"(\"[\w]*\":null,)|(,?\"[\w]*\":null)" => "")
end
function write(file::Union{String, IO}, jws::JSONWorksheet; indent = 2... | [
27,
7856,
261,
480,
29,
47,
439,
13587,
1940,
16528,
14,
55,
6561,
55,
292,
40386,
13,
20362,
198,
40386,
13,
17752,
7,
73,
18504,
3712,
40386,
23044,
25473,
8,
796,
19449,
13,
17752,
7,
7890,
7,
73,
18504,
4008,
198,
40386,
13,
1... | 2.167164 | 335 |
<gh_stars>1-10
import ..CUBLAS: cublasfill, cublasop, cublasside, cublasFillMode_t, cublasOperation_t, cublasSideMode_t
#enum cusolverStatus_t
#error messages from CUSOLVER
const cusolverStatus_t = UInt32
const CUSOLVER_STATUS_SUCCESS = 0
const CUSOLVER_STATUS_NOT_INITIALIZED = 1
const CUS... | [
27,
456,
62,
30783,
29,
16,
12,
940,
198,
11748,
11485,
43633,
9148,
1921,
25,
13617,
21921,
20797,
11,
13617,
21921,
404,
11,
13617,
31172,
485,
11,
13617,
21921,
33762,
19076,
62,
83,
11,
13617,
21921,
32180,
62,
83,
11,
13617,
2192... | 2.055192 | 1,069 |
<gh_stars>0
function init_cfg()
cfg = Dict{String, String}()
cfg["resistance_file"] = "(browse to resistance file)"
cfg["resistance_file_is_conductance"] = "false"
cfg["source_file"] = "(browse to source file)"
cfg["project_name"] = "(filename prefix for project)"
cfg["parallelize"] = "true"
... | [
27,
456,
62,
30783,
29,
15,
198,
8818,
2315,
62,
37581,
3419,
198,
220,
220,
220,
30218,
70,
796,
360,
713,
90,
10100,
11,
10903,
92,
3419,
628,
220,
220,
220,
30218,
70,
14692,
411,
9311,
62,
7753,
8973,
796,
30629,
25367,
325,
2... | 2.244103 | 975 |
function pull_request_build(::NewPackage,
pr::GitHub.PullRequest,
current_pr_head_commit_sha::String,
registry::GitHub.Repo;
auth::GitHub.Authorization,
authorized_authors::Vector{... | [
8818,
2834,
62,
25927,
62,
11249,
7,
3712,
3791,
27813,
11,
198,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
220,
778,
3712,
38,
270,
16066,
1... | 1.606671 | 7,945 |
<reponame>JuliaCloud/AWSClusterManagers.jl
using Documenter, AWSClusterManagers
makedocs(;
modules = [AWSClusterManagers],
authors = "Invenia Technical Computing Corporation",
repo = "https://github.com/JuliaCloud/AWSClusterManagers.jl/blob/{commit}{path}#L{line}",
sitename = "AWSClusterManagers.jl",
... | [
27,
7856,
261,
480,
29,
16980,
544,
18839,
14,
12298,
50,
2601,
5819,
5124,
10321,
13,
20362,
198,
3500,
16854,
263,
11,
30865,
2601,
5819,
5124,
10321,
198,
198,
76,
4335,
420,
82,
7,
26,
198,
220,
220,
220,
13103,
796,
685,
12298,... | 2.217984 | 367 |
export UnitGroup, solvemod, gen_mod_pk,
disc_log_bs_gs, disc_log_ph, disc_log_mod
function order(x::GenRes{fmpz}, fp::Dict{fmpz, Int64})
error("missing")
end
@doc """
is_primitive_root(x::GenRes{fmpz}, M::fmpz, fM::Dict{fmpz, Int64}) -> Bool
> Given x in Z/MZ, the factorisation of M (in fM), decide if ... | [
39344,
11801,
13247,
11,
8494,
4666,
11,
2429,
62,
4666,
62,
79,
74,
11,
220,
198,
220,
220,
220,
220,
220,
220,
1221,
62,
6404,
62,
1443,
62,
14542,
11,
1221,
62,
6404,
62,
746,
11,
1221,
62,
6404,
62,
4666,
198,
198,
8818,
150... | 1.865866 | 4,913 |
using ForwardDiff
using DiffRules
import ForwardDiff: Dual, Partials, single_seed, partials, Chunk, Tag, seed!, value,
gradient, valtype, extract_gradient!, derivative,extract_derivative,
checktag, vector_mode_gradient, vector_mode_jacobian,
chunk_mode_gradient
const AMBIGUO... | [
198,
3500,
19530,
28813,
198,
3500,
10631,
37766,
198,
198,
11748,
19530,
28813,
25,
20446,
11,
2142,
8231,
11,
2060,
62,
28826,
11,
636,
8231,
11,
609,
2954,
11,
17467,
11,
9403,
28265,
1988,
11,
198,
220,
220,
220,
220,
220,
220,
... | 2.553648 | 233 |
"""
An external product using Einstein summation.
"""
extern_prod(x, y) = @tullio threads = false z[i, j] := x[i] * y[j]
"""
Pairwise multiplication when `x` and `a` both have two dimensions.
"""
pairwise_mul!(x, a) = @tullio threads = false x[i, j] *= a[i, j]
"""
Pairwise difference when `x` and `y` are ... | [
37811,
198,
220,
220,
220,
1052,
7097,
1720,
1262,
24572,
30114,
341,
13,
198,
37811,
198,
1069,
759,
62,
1676,
67,
7,
87,
11,
331,
8,
796,
2488,
83,
724,
952,
14390,
796,
3991,
1976,
58,
72,
11,
474,
60,
19039,
2124,
58,
72,
60... | 2.407407 | 324 |
#######################################
#
# BSA file
#
#######################################
"""
Read Besa's BSA (.bsa) file
#### Input
* `fname`: Name or path for the BSA file
#### Output
* `bsa`: Dipole object
"""
function read_bsa(fname::AbstractString)
@info("Reading BSA file = $fname")
... | [
29113,
4242,
21017,
201,
198,
2,
201,
198,
2,
347,
4090,
2393,
201,
198,
2,
201,
198,
29113,
4242,
21017,
201,
198,
201,
198,
37811,
201,
198,
5569,
30837,
64,
338,
347,
4090,
20262,
1443,
64,
8,
2393,
201,
198,
201,
198,
4242,
23... | 2.019347 | 827 |
<reponame>dourouc05/JuCP.jl
module JuCP
using JuMP
using ConstraintProgrammingExtensions
const CP = ConstraintProgrammingExtensions
include("sets.jl")
end
| [
27,
7856,
261,
480,
29,
67,
454,
280,
66,
2713,
14,
33018,
8697,
13,
20362,
198,
21412,
12585,
8697,
198,
198,
3500,
12585,
7378,
198,
3500,
1482,
2536,
2913,
15167,
2229,
11627,
5736,
198,
198,
9979,
16932,
796,
1482,
2536,
2913,
151... | 2.789474 | 57 |
<filename>src/models/neural.jl
# -------- Neural Model ------------------------------------------------------ #
"""
Trainable model that uses a neural network to generate the value and policy
for a game state. Optionally, the network can also predict features by
applying a dedicated dense layer on the representation ... | [
27,
34345,
29,
10677,
14,
27530,
14,
710,
1523,
13,
20362,
198,
198,
2,
24200,
47986,
9104,
20368,
19351,
438,
1303,
198,
198,
37811,
198,
44077,
540,
2746,
326,
3544,
257,
17019,
3127,
284,
7716,
262,
1988,
290,
2450,
198,
1640,
257,... | 2.336752 | 2,340 |
<gh_stars>1-10
const irregular = Dict("one" => "first", "two" => "second", "three" => "third", "five" => "fifth",
"eight" => "eighth", "nine" => "ninth", "twelve" => "twelfth")
const suffix = "th"
const ysuffix = "ieth"
| [
27,
456,
62,
30783,
29,
16,
12,
940,
198,
9979,
21388,
796,
360,
713,
7203,
505,
1,
5218,
366,
11085,
1600,
366,
11545,
1,
5218,
366,
12227,
1600,
366,
15542,
1,
5218,
366,
17089,
1600,
366,
13261,
1,
5218,
366,
43556,
1600,
198,
... | 2.172414 | 116 |
<filename>test/runtests.jl<gh_stars>0
using MaybeEither
using Test
@testset "MaybeEither" begin
@testset "Either" begin
@test left(3) isa Left{Int, Any}
@test left(3) isa Either{Int, Any}
@test right("Sdfds", Vector) isa Either{Vector,String}
@test right(right(0.3, String)) == Rig... | [
27,
34345,
29,
9288,
14,
81,
2797,
3558,
13,
20362,
27,
456,
62,
30783,
29,
15,
198,
3500,
6674,
32478,
198,
3500,
6208,
198,
198,
31,
9288,
2617,
366,
13300,
32478,
1,
2221,
198,
220,
220,
220,
2488,
9288,
2617,
366,
32478,
1,
22... | 2.027411 | 985 |
module Cbc
if haskey(ENV,"JULIA_CBC_LIBRARY_PATH") || VERSION < v"1.3"
deps_file = joinpath(dirname(@__DIR__), "deps", "deps.jl")
if isfile(deps_file)
using Libdl
include(deps_file)
else
error("Cbc not properly installed. Please run import `Pkg; Pkg.build(\"Cbc\")`.")
end
else
... | [
21412,
327,
15630,
198,
198,
361,
468,
2539,
7,
1677,
53,
553,
41,
6239,
3539,
62,
29208,
62,
40347,
49,
13153,
62,
34219,
4943,
8614,
44156,
2849,
1279,
410,
1,
16,
13,
18,
1,
198,
220,
220,
220,
390,
862,
62,
7753,
796,
4654,
... | 2.356021 | 573 |
module SpeciesFeatureUtils
using MolecularGraph
# some convenience SFD constructors mapping names of species features to MolecularGraph functions...
const mg_elements = [d["Symbol"] for d in MolecularGraph.ATOMTABLE]
export sfd_names_props
const sfd_names_props = Dict(
"hybridization" => Dict(
:A => Gra... | [
21412,
28540,
38816,
18274,
4487,
198,
198,
3500,
38275,
37065,
198,
198,
2,
617,
15607,
14362,
35,
5678,
669,
16855,
3891,
286,
4693,
3033,
284,
38275,
37065,
5499,
986,
198,
198,
9979,
10527,
62,
68,
3639,
796,
685,
67,
14692,
13940,
... | 2.136968 | 752 |
<filename>EXAMPLE/codevalidation/VelocityChange/plot_error.jl<gh_stars>1-10
using PlotlyJS, JLD2, ORCA
function plot_error(finame::String, type::String; show::Bool=true, foname::String="")
f = jldopen(finame)
dvVlist = f["info/dvV"]
dvVlist = dvVlist[1:5:end]
noiselist = f["info/noise"]
errors = z... | [
27,
34345,
29,
6369,
2390,
16437,
14,
8189,
12102,
341,
14,
46261,
11683,
19400,
14,
29487,
62,
18224,
13,
20362,
27,
456,
62,
30783,
29,
16,
12,
940,
198,
3500,
28114,
306,
20120,
11,
449,
11163,
17,
11,
6375,
8141,
198,
198,
8818,... | 1.972131 | 610 |
<gh_stars>1-10
#-------------------------------------------------------------------
#* EMSO Model Library (EML) Copyright (C) 2004 - 2007 ALSOC.
#*
#* This LIBRARY is free software; you can distribute it and/or modify
#* it under the therms of the ALSOC FREE LICENSE as available at
#* http://www.enq.ufrgs.br/alsoc.
#*
... | [
27,
456,
62,
30783,
29,
16,
12,
940,
198,
2,
10097,
6329,
198,
2,
9,
41363,
46,
9104,
10074,
357,
3620,
43,
8,
15069,
357,
34,
8,
5472,
532,
4343,
27249,
4503,
13,
198,
2,
9,
198,
2,
9,
770,
45651,
49,
13153,
318,
1479,
3788,
... | 2.394565 | 920 |
using PSCOPF
using Test
using Dates
using DataStructures
@testset verbose=true "test_starts" begin
TS = [DateTime("2015-01-01T11:00:00"), DateTime("2015-01-01T11:15:00"), DateTime("2015-01-01T11:30:00"), DateTime("2015-01-01T11:45:00")]
initial_state = SortedDict{String, PSCOPF.GeneratorState}(
... | [
3500,
350,
6173,
3185,
37,
198,
198,
3500,
6208,
198,
3500,
44712,
198,
3500,
6060,
44909,
942,
198,
198,
31,
9288,
2617,
15942,
577,
28,
7942,
366,
9288,
62,
301,
5889,
1,
2221,
628,
220,
220,
220,
26136,
796,
685,
10430,
7575,
720... | 1.740759 | 4,166 |
using KNITRO
using Test
const KN_VERBOSE = false
@testset "Test C API" begin
include("knitroapi.jl")
end
@testset "Test examples" begin
for file in filter(f -> endswith(f, ".jl"), readdir(joinpath(dirname(@__FILE__), "..", "examples")))
if occursin("mps_reader", file)
continue
end... | [
3500,
22466,
2043,
13252,
198,
3500,
6208,
198,
198,
9979,
22466,
62,
5959,
33,
14058,
796,
3991,
198,
198,
31,
9288,
2617,
366,
14402,
327,
7824,
1,
2221,
198,
220,
220,
220,
2291,
7203,
47095,
305,
15042,
13,
20362,
4943,
198,
437,
... | 2.505747 | 348 |
<reponame>jherekhealy/CharFuncPricing.jl<filename>test/hestonnemo.jl
using Nemo, CharFuncPricing, Test
@testset "HestonALSmallPrices" begin
R = ArbField(512)
CC = AcbField(512)
r = R(QQ(0, 100))
q = R(QQ(0, 100))
ΞΊ = R(2)
ΞΈ = R(QQ(1, 10000))
Ο = R(QQ(1, 10000))
v0 = R(QQ(1, 10000))
... | [
27,
7856,
261,
480,
29,
73,
1456,
74,
258,
3400,
14,
12441,
37,
19524,
47,
1173,
278,
13,
20362,
27,
34345,
29,
9288,
14,
3634,
261,
77,
41903,
13,
20362,
198,
3500,
22547,
78,
11,
3178,
37,
19524,
47,
1173,
278,
11,
6208,
198,
... | 1.956607 | 4,056 |
<gh_stars>0
__precompile__()
module DataTableaux
export Small, IntegerSet, DataTableau, row, head, countmap, FrameToTableauScheme
# hoping I can dump this:
# export push!, in, round, show, showall, Float64
# currently commenting out next because of anticipated confilicts with Koala
# export fit!, transform, fit_tran... | [
27,
456,
62,
30783,
29,
15,
198,
834,
3866,
5589,
576,
834,
3419,
198,
21412,
6060,
10962,
14644,
198,
198,
39344,
10452,
11,
34142,
7248,
11,
6060,
10962,
559,
11,
5752,
11,
1182,
11,
954,
8899,
11,
25184,
2514,
10962,
559,
27054,
... | 2.276039 | 6,644 |
<filename>src/utils.jl
function make_count_matrix(counts)
idx = findall(counts .> 0)
countmat = Array{Int}(undef, length(idx), 2)
countmat[:, 1] = idx
countmat[:, 2] = counts[idx]
return countmat
end
function format_counts_lda(countsdf::DataFrame)
counts = Matrix{Int}[]
for lib in names(cou... | [
27,
34345,
29,
10677,
14,
26791,
13,
20362,
198,
8818,
787,
62,
9127,
62,
6759,
8609,
7,
9127,
82,
8,
198,
220,
220,
220,
4686,
87,
796,
1064,
439,
7,
9127,
82,
764,
29,
657,
8,
198,
220,
220,
220,
954,
6759,
796,
15690,
90,
5... | 2.165775 | 561 |
"""
"""
struct ExtendedFESpace{S<:SingleFieldFESpace} <: SingleFieldFESpace
space::S
model::RestrictedDiscreteModel
partition::PosNegPartition
function ExtendedFESpace(space::SingleFieldFESpace,model::RestrictedDiscreteModel)
model_portion = model.model
@check get_triangulation(model_portion) === get_t... | [
198,
37811,
198,
37811,
198,
7249,
24204,
37,
1546,
10223,
90,
50,
27,
25,
28008,
15878,
37,
1546,
10223,
92,
1279,
25,
14206,
15878,
37,
1546,
10223,
198,
220,
2272,
3712,
50,
198,
220,
2746,
3712,
19452,
20941,
15642,
8374,
17633,
1... | 2.326511 | 2,101 |
<filename>hist_dep_policies/evans_sargent.jl<gh_stars>0
#=
In the following, ``uhat`` and ``tauhat`` are what the planner would
choose if he could reset at time t, ``uhatdif`` and ``tauhatdif`` are
the difference between those and what the planner is constrained to
choose. The variable ``mu`` is the Lagrange multipl... | [
27,
34345,
29,
10034,
62,
10378,
62,
79,
4160,
444,
14,
1990,
504,
62,
82,
853,
298,
13,
20362,
27,
456,
62,
30783,
29,
15,
198,
198,
2,
28,
198,
198,
818,
262,
1708,
11,
7559,
84,
5183,
15506,
290,
7559,
83,
559,
5183,
15506,
... | 1.932581 | 3,456 |
module Const
import ..libR, ..RObject, ..NilSxp, ..SymSxp, ..EnvSxp, ..SxpHead, ..StrSxp, ..CharSxp
const NaInt = typemin(Cint)
const NaReal = reinterpret(Float64,0x7ff00000000007a2)
const NaString = RObject{CharSxp}()
const BlankString = RObject{CharSxp}()
const BlankScalarString = RObject{Str... | [
21412,
4757,
198,
198,
11748,
11485,
8019,
49,
11,
11485,
49,
10267,
11,
11485,
45,
346,
50,
42372,
11,
11485,
43094,
50,
42372,
11,
11485,
4834,
85,
50,
42372,
11,
11485,
50,
42372,
13847,
11,
11485,
13290,
50,
42372,
11,
11485,
1244... | 2.242074 | 2,681 |
import Base.rand
export Singleton
"""
Singleton{N, VN<:AbstractVector{N}} <: AbstractSingleton{N}
Type that represents a singleton, that is, a set with a unique element.
### Fields
- `element` -- the only element of the set
"""
struct Singleton{N, VN<:AbstractVector{N}} <: AbstractSingleton{N}
element::VN
... | [
11748,
7308,
13,
25192,
198,
198,
39344,
5573,
10565,
198,
198,
37811,
198,
220,
220,
220,
5573,
10565,
90,
45,
11,
569,
45,
27,
25,
23839,
38469,
90,
45,
11709,
1279,
25,
27741,
29974,
10565,
90,
45,
92,
198,
198,
6030,
326,
6870,
... | 2.709705 | 1,185 |
<gh_stars>0
export Client, open!, wait, exit_session_on_err, request, set_event_handler!
mutable struct Client
id::String
token::String # Authorization
intents::Int # https://discord.com/developers/docs/topics/gateway#list-of-intents
conn::VersionedWebSocket
geteway_url::String
request_func::Fu... | [
27,
456,
62,
30783,
29,
15,
198,
39344,
20985,
11,
1280,
28265,
4043,
11,
8420,
62,
29891,
62,
261,
62,
8056,
11,
2581,
11,
900,
62,
15596,
62,
30281,
0,
198,
198,
76,
18187,
2878,
20985,
198,
220,
220,
220,
4686,
3712,
10100,
198... | 2.21838 | 2,198 |
using Roots
using Compat.Test
import SpecialFunctions.erf
include("./test_find_zero.jl")
#include("./RootTesting.jl")
#run_benchmark_tests()
include("./test_fzero.jl")
#include("./test_fzero3.jl")
#run_robustness_test()
include("./test_newton.jl")
#include("./test_derivative_free.jl")
| [
3500,
34341,
198,
3500,
3082,
265,
13,
14402,
198,
11748,
6093,
24629,
2733,
13,
263,
69,
198,
198,
17256,
7,
1911,
14,
9288,
62,
19796,
62,
22570,
13,
20362,
4943,
198,
2,
17256,
7,
1911,
14,
30016,
44154,
13,
20362,
4943,
198,
2,
... | 2.445378 | 119 |
# Use baremodule to shave off a few KB from the serialized `.ji` file
baremodule FLANN_jll
using Base
using Base: UUID
import JLLWrappers
JLLWrappers.@generate_main_file_header("FLANN")
JLLWrappers.@generate_main_file("FLANN", UUID("48b6455b-4cf5-590d-a543-2d733c79e793"))
end # module FLANN_jll
| [
2,
5765,
6247,
21412,
284,
34494,
572,
257,
1178,
14204,
422,
262,
11389,
1143,
4600,
13,
7285,
63,
2393,
198,
49382,
21412,
9977,
22846,
62,
73,
297,
198,
3500,
7308,
198,
3500,
7308,
25,
471,
27586,
198,
11748,
449,
3069,
36918,
117... | 2.525424 | 118 |
include("definitions.jl")
function readData(dataFilename::AbstractString,dictionaryFilename::AbstractString,nTrain,nTest)
# read a corpus of one line per document, word indices (with one-based indexing) - space separated
f = open(dictionaryFilename);
dictionary = readlines(f); # an array of strings
... | [
17256,
7203,
4299,
50101,
13,
20362,
4943,
201,
198,
201,
198,
8818,
1100,
6601,
7,
7890,
35063,
3712,
23839,
10100,
11,
67,
14188,
35063,
3712,
23839,
10100,
11,
77,
44077,
11,
77,
14402,
8,
201,
198,
2,
1100,
257,
35789,
286,
530,
... | 2.335565 | 1,195 |
module Graphs
import Base.+, Base.-, Base.==, Base.in, Base.union, Base.intersect, Base.setdiff
# Export Declarations
export AbstractEdge, AbstractGraph, BK, connectedvertices, DEdge, Ξ, DFS, DFS!, Edge, Ξ, Graph, incident, isincident, otherend, Vertex
# Abstract Type Declarations
abstract type AbstractEdge end
abst... | [
21412,
29681,
82,
198,
198,
11748,
7308,
13,
28200,
7308,
7874,
11,
7308,
13,
855,
11,
7308,
13,
259,
11,
7308,
13,
24592,
11,
7308,
13,
3849,
8831,
11,
7308,
13,
2617,
26069,
198,
198,
2,
36472,
16691,
24355,
198,
39344,
27741,
370... | 2.414807 | 1,837 |
<gh_stars>10-100
#=
Compare call option prices to consol price.
=#
using Plots
include("asset_pricing.jl")
plotly()
ap = AssetPriceModel(beta=0.9)
zeta = 1.0
strike_price = 40.0
x = ap.mc.state_values
p = consol_price(ap, zeta)
w = call_option(ap, zeta, strike_price)
plot(x, p, color="blue", lw=2, xlabel="state", ... | [
27,
456,
62,
30783,
29,
940,
12,
3064,
198,
2,
28,
198,
41488,
869,
3038,
4536,
284,
762,
349,
2756,
13,
198,
198,
46249,
198,
198,
3500,
1345,
1747,
198,
17256,
7203,
562,
316,
62,
1050,
6345,
13,
20362,
4943,
198,
29487,
306,
34... | 2.439759 | 166 |
@testset "Structured Matrices" begin
@testset "Diagonal" begin
rng, N = MersenneTwister(123456), 3
rrule_test(Diagonal, randn(rng, N, N), (randn(rng, N), randn(rng, N)))
D = Diagonal(randn(rng, N))
rrule_test(Diagonal, D, (randn(rng, N), randn(rng, N)))
# Concrete type instea... | [
31,
9288,
2617,
366,
44909,
1522,
6550,
45977,
1,
2221,
198,
220,
220,
220,
2488,
9288,
2617,
366,
18683,
27923,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
374,
782,
11,
399,
796,
337,
364,
29727,
5080,
1694,
7,
10163,
29228,
... | 1.859096 | 951 |
module ProfileViewGtk
using InteractiveUtils
using Gtk.ShortNames, GtkReactive, Colors, FileIO, IntervalSets
import Cairo
using Graphics
using Gtk.GConstants.GdkModifierType: SHIFT, CONTROL, MOD1
mutable struct ZoomCanvas
bb::BoundingBox # in user-coordinates
c::Canvas
end
function __init__()
@eval imp... | [
21412,
13118,
7680,
38,
30488,
198,
198,
3500,
21365,
18274,
4487,
198,
3500,
402,
30488,
13,
16438,
36690,
11,
402,
30488,
3041,
5275,
11,
29792,
11,
9220,
9399,
11,
4225,
2100,
50,
1039,
198,
11748,
23732,
198,
3500,
19840,
198,
198,
... | 1.973418 | 3,160 |
<filename>test/DSANet.jl
@testset "shapes" begin
inputsize = 20
poollength = 10
datalength = 100
x = rand(Float32, inputsize, poollength, 1, datalength)
m = DSANet(inputsize, poollength, 3, 3, 4, 1, 3, 2)
@test size(m(x)) == (1, datalength)
if Flux.CUDA.functional()
@test size(gpu(m)... | [
27,
34345,
29,
9288,
14,
5258,
1565,
316,
13,
20362,
198,
31,
9288,
2617,
366,
1477,
7916,
1,
2221,
198,
220,
220,
220,
5128,
7857,
796,
1160,
198,
220,
220,
220,
745,
692,
3286,
796,
838,
198,
220,
220,
220,
4818,
282,
3286,
796,... | 2.064516 | 434 |
function Base.show(io::IO, drv::Driver)
drv.ptr == C_NULL && (return print(io, "NULL Driver"))
print(io, "Driver: $(shortname(drv))/$(longname(drv))")
end
function Base.show(io::IO, dataset::AbstractDataset)
dataset.ptr == C_NULL && (return print(io, "NULL Dataset"))
println(io, "GDAL Dataset ($(getdri... | [
8818,
7308,
13,
12860,
7,
952,
3712,
9399,
11,
1553,
85,
3712,
32103,
8,
198,
220,
220,
220,
1553,
85,
13,
20692,
6624,
327,
62,
33991,
11405,
357,
7783,
3601,
7,
952,
11,
366,
33991,
12434,
48774,
198,
220,
220,
220,
3601,
7,
952... | 2.081715 | 3,451 |
<reponame>isaacsas/DiffEqTutorials.jl<filename>script/ode_extras/04-monte_carlo_parameter_estim.jl
using DifferentialEquations, DiffEqParamEstim, Plots, Optim
# Monte Carlo Problem Set Up for solving set of ODEs with different initial conditions
# Set up Lotka-Volterra system
function pf_func(du,u,p,t)
du[1] = p[1... | [
27,
7856,
261,
480,
29,
9160,
16436,
292,
14,
28813,
36,
80,
51,
44917,
82,
13,
20362,
27,
34345,
29,
12048,
14,
1098,
62,
2302,
8847,
14,
3023,
12,
2144,
660,
62,
7718,
5439,
62,
17143,
2357,
62,
395,
320,
13,
20362,
198,
198,
... | 2.053266 | 995 |
struct ModalInstance <: AbstractVector{SubDataFrame}
# worlds::Set{<:AbstractOntology} # TODO add set of worlds, for the semantics (DT)
rows::Vector{DataFrameRow}
end
ModalInstance() = ModalInstance(DataFrameRow[])
DataFrames.nrow(::Array{DataFrameRow,1}) = 1
function show(io::IO, ::MIME"text/plain", mi::Moda... | [
7249,
3401,
282,
33384,
1279,
25,
27741,
38469,
90,
7004,
6601,
19778,
92,
198,
220,
220,
220,
1303,
11621,
3712,
7248,
90,
27,
25,
23839,
45984,
1435,
92,
1303,
16926,
46,
751,
900,
286,
11621,
11,
329,
262,
33815,
357,
24544,
8,
1... | 2.101287 | 7,069 |
function lower_varname(var::Variable, idv, order)
order == 0 && return var
name = Symbol(var.name, :Λ, string(idv.name)^order)
return Variable{vartype(var)}(name)
end
function flatten_differential(O::Operation)
@assert is_derivative(O) "invalid differential: $O"
is_derivative(O.args[1]) || return (... | [
8818,
2793,
62,
85,
1501,
480,
7,
7785,
3712,
43015,
11,
4686,
85,
11,
1502,
8,
198,
220,
220,
220,
1502,
6624,
657,
11405,
1441,
1401,
198,
220,
220,
220,
1438,
796,
38357,
7,
7785,
13,
3672,
11,
1058,
135,
235,
11,
4731,
7,
31... | 2.061111 | 1,080 |
<gh_stars>1-10
# to run the script, you should have these packages installed
using Plots
using StatsPlots
using BenchmarkTools
using Statistics
using Indicators
using RollingFunctions
using ImageFiltering
using MaxMinFilters
y = randn(1000000)
windows = [5, 15, 50, 150]
t_mf1 = zeros(size(windows))
t_mf2 = zeros(size(... | [
27,
456,
62,
30783,
29,
16,
12,
940,
198,
2,
284,
1057,
262,
4226,
11,
345,
815,
423,
777,
10392,
6589,
198,
3500,
1345,
1747,
198,
3500,
20595,
3646,
1747,
198,
3500,
25187,
4102,
33637,
198,
3500,
14370,
198,
3500,
1423,
44549,
19... | 2.309824 | 794 |
<filename>test/runtests.jl
module TestBioSequences
using Test
using Random
using StableRNGs
using LinearAlgebra: normalize
import BioSymbols
using BioSequences
using StatsBase
using YAML
using BioGenerics
const codons = [
"AAA", "AAC", "AAG", "AAU",
"ACA", "ACC", "ACG", "ACU",
"AGA", "AGC", "AGG", "AGU",
... | [
27,
34345,
29,
9288,
14,
81,
2797,
3558,
13,
20362,
198,
21412,
6208,
42787,
44015,
3007,
198,
198,
3500,
6208,
198,
3500,
14534,
198,
3500,
520,
540,
49,
10503,
82,
198,
3500,
44800,
2348,
29230,
25,
3487,
1096,
198,
11748,
16024,
13... | 2.178756 | 2,702 |
function edit_line(
line, direction_restriction::Vec2f0, clampto, window;
knob_scale = 9f0,
knob_color = RGBA{Float32}(0.7, 0.7, 0.7, 1.0),
kw_args...
)
mouse_hover = mouse2id(window)
inds = reinterpret(Cuint, collect(IterTools.partition(Cuint(0):Cuint(length(line)-1) , 2, 1)... | [
8818,
4370,
62,
1370,
7,
198,
220,
220,
220,
220,
220,
220,
220,
1627,
11,
4571,
62,
2118,
46214,
3712,
53,
721,
17,
69,
15,
11,
30726,
457,
78,
11,
4324,
26,
198,
220,
220,
220,
220,
220,
220,
220,
36842,
62,
9888,
796,
860,
... | 2.029059 | 2,581 |
# -*- coding: utf-8 -*-
# ---
# jupyter:
# jupytext:
# formats: ipynb,jl:hydrogen
# text_representation:
# extension: .jl
# format_name: hydrogen
# format_version: '1.3'
# jupytext_version: 1.11.2
# kernelspec:
# display_name: Julia 1.6.2
# language: julia
# name: julia-1... | [
2,
532,
9,
12,
19617,
25,
3384,
69,
12,
23,
532,
9,
12,
198,
2,
11420,
198,
2,
474,
929,
88,
353,
25,
198,
2,
220,
220,
474,
929,
88,
5239,
25,
198,
2,
220,
220,
220,
220,
17519,
25,
20966,
2047,
65,
11,
20362,
25,
15511,
... | 1.636688 | 1,401 |
using PyCall
using Match
pushfirst!(PyVector(pyimport("sys")["path"]), "", "./grammar/", "./src/grammar/")
@pyimport eqn
function parseEqn(input)
obj = eqn.parse(input)
eqnToJulia(obj)
end
eqnToJulia(x) = x
eqnToJulia(::Nothing) = nothing
eqnToJulia(str::AbstractString) = Meta.parse(str)
function eqnToJuli... | [
3500,
9485,
14134,
198,
3500,
13225,
198,
198,
14689,
11085,
0,
7,
20519,
38469,
7,
9078,
11748,
7203,
17597,
4943,
14692,
6978,
8973,
828,
366,
1600,
366,
19571,
4546,
3876,
14,
1600,
366,
19571,
10677,
14,
4546,
3876,
14,
4943,
198,
... | 2.232384 | 667 |
<filename>src/SUN_generator.jl
module SUN_generator
using LinearAlgebra
struct Generator
NC::Int64
generator::Array{Array{ComplexF64,2},1}
function Generator(NC)
return new(NC,make_generators(NC))
end
end
function Base.getindex(g::Generator,i)
... | [
27,
34345,
29,
10677,
14,
50,
4944,
62,
8612,
1352,
13,
20362,
198,
21412,
35329,
62,
8612,
1352,
201,
198,
220,
220,
220,
1262,
44800,
2348,
29230,
201,
198,
201,
198,
220,
220,
220,
2878,
35986,
201,
198,
220,
220,
220,
220,
220,
... | 1.537763 | 1,761 |
# This file was generated by the Julia Swagger Code Generator
# Do not modify this file directly. Modify the swagger specification instead.
mutable struct IoK8sApiAppsV1beta2Scale <: SwaggerModel
apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion
kind::Any # spec type: Union{ Nothin... | [
2,
770,
2393,
373,
7560,
416,
262,
22300,
2451,
7928,
6127,
35986,
198,
2,
2141,
407,
13096,
428,
2393,
3264,
13,
3401,
1958,
262,
1509,
7928,
20855,
2427,
13,
628,
198,
76,
18187,
2878,
27853,
42,
23,
82,
32,
14415,
48433,
53,
16,
... | 2.64176 | 977 |
function transformIndexes(bP__::AbstractVector{C}, aTb) where {C <: CartesianIndex{2}}
bV = zeros(3)
bV[3] = 1.0
aV = zeros(3)
aP__ = Vector{Vector{Float64}}(undef, length(bP__))
for (i,kp) in enumerate(bP__)
bV[1] = kp[1]
bV[2] = kp[2]
aV[:] = aTb*bV
aP__[i] = aV[1:2]
end
return aP__... | [
198,
8818,
6121,
15732,
274,
7,
65,
47,
834,
3712,
23839,
38469,
90,
34,
5512,
257,
51,
65,
8,
810,
1391,
34,
1279,
25,
13690,
35610,
15732,
90,
17,
11709,
198,
220,
275,
53,
796,
1976,
27498,
7,
18,
8,
198,
220,
275,
53,
58,
... | 1.932239 | 3,291 |
<gh_stars>0
"""
$(README)
$(EXPORTS)
"""
module VoronoiFVM
using Printf
using DocStringExtensions
using LinearAlgebra
using SparseArrays
using SuiteSparse
using ForwardDiff
using DiffResults
using IterativeSolvers
using JLD2
using StaticArrays
using SparseDiffTools
using SparsityDetection
using RecursiveArrayTools
... | [
27,
456,
62,
30783,
29,
15,
198,
37811,
198,
3,
7,
15675,
11682,
8,
198,
198,
3,
7,
49864,
33002,
8,
198,
37811,
198,
21412,
44143,
261,
23013,
37,
15996,
198,
198,
3500,
12578,
69,
198,
3500,
14432,
10100,
11627,
5736,
198,
3500,
... | 2.9699 | 598 |
using Documenter, Persa
makedocs(
modules = [Persa],
sitename = "Persa.jl",
authors = "<NAME> and contributors.",
format = Documenter.HTML(
# Use clean URLs, unless built as a "local" build
canonical = "https://juliadocs.github.io/Documenter.jl/stable/",
assets = ["assets/favico... | [
3500,
16854,
263,
11,
9467,
64,
198,
198,
76,
4335,
420,
82,
7,
198,
220,
220,
220,
13103,
796,
685,
30946,
64,
4357,
198,
220,
220,
220,
1650,
12453,
796,
366,
30946,
64,
13,
20362,
1600,
198,
220,
220,
220,
7035,
796,
33490,
206... | 2.278388 | 273 |
# This file was generated by the Julia Swagger Code Generator
# Do not modify this file directly. Modify the swagger specification instead.
mutable struct EncryptionService <: SwaggerModel
enabled::Any # spec type: Union{ Nothing, Bool } # spec name: enabled
lastEnabledTime::Any # spec type: Union{ Nothing, ... | [
2,
770,
2393,
373,
7560,
416,
262,
22300,
2451,
7928,
6127,
35986,
198,
2,
2141,
407,
13096,
428,
2393,
3264,
13,
3401,
1958,
262,
1509,
7928,
20855,
2427,
13,
628,
198,
198,
76,
18187,
2878,
14711,
13168,
16177,
1279,
25,
2451,
7928,... | 3.266807 | 476 |
## ExoplanetsSysSim/src/stellar_table.jl
## (c) 2015 <NAME>
## TODO Aditya: adapt to TESS (maybe add a new simparam variable indicating mission)
## specifically, the rows to be preserved may need changing
# this is a wrapper around a stellar dataframe
module StellarTable
using ExoplanetsSysSim
#using DataArrays
usin... | [
2235,
1475,
46853,
1039,
44387,
8890,
14,
10677,
14,
28732,
62,
11487,
13,
20362,
198,
2235,
357,
66,
8,
1853,
1279,
20608,
29,
198,
198,
2235,
16926,
46,
1215,
414,
64,
25,
6068,
284,
309,
7597,
357,
25991,
751,
257,
649,
985,
1714... | 2.55334 | 2,006 |
using TrussMorph
tm = TrussMorph
using Optim
using Printf
function compute_morph_path(t0::tm.Truss, t1::tm.Truss, load::Matrix{Float64},
node_dof::Int, full_node_dof::Int, design_var_ids::Vector{Int}; path_disc::Int=5, parm_smooth::Float64=100.0, parm_weight::Float64=50.0, do_opt::Bool=true, kwargs...)
@asser... | [
3500,
833,
1046,
44,
13425,
198,
17209,
796,
833,
1046,
44,
13425,
198,
3500,
30011,
198,
3500,
12578,
69,
198,
198,
8818,
24061,
62,
24503,
62,
6978,
7,
83,
15,
3712,
17209,
13,
2898,
1046,
11,
256,
16,
3712,
17209,
13,
2898,
1046,... | 1.924798 | 3,710 |
## simple workspace browser for julia, not the prettiest of things.
using PySide
using DataFrames
## Some functions to work with a module
function get_names(m::Module)
sort!(map(string, names(m)))
end
unique_id(v::Symbol, m::Module) = isdefined(m,v) ? unique_id(eval(m,v)) : ""
unique_id(x) = string(object_id(x))
... | [
2235,
2829,
44573,
6444,
329,
474,
43640,
11,
407,
262,
46442,
6386,
286,
1243,
13,
198,
3500,
9485,
24819,
198,
3500,
6060,
35439,
198,
198,
2235,
2773,
5499,
284,
670,
351,
257,
8265,
198,
8818,
651,
62,
14933,
7,
76,
3712,
26796,
... | 2.421299 | 1,493 |
"""
_build_node
Function to construct an internal node of a probabilistic circuit.
"""
function _build_node(::Type{N}, params::T, ns::AbstractNode...) where {T<:AbstractVector{<:Real},N<:NodeType}
children = collect(ns)
s_ = reduce(union, scope.(children))
scope_ = length(s_) == 1 ? first(s_) : s_
... | [
37811,
198,
220,
220,
220,
4808,
11249,
62,
17440,
198,
198,
22203,
284,
5678,
281,
5387,
10139,
286,
257,
1861,
14991,
2569,
10349,
13,
198,
37811,
198,
8818,
4808,
11249,
62,
17440,
7,
3712,
6030,
90,
45,
5512,
42287,
3712,
51,
11,
... | 2.346033 | 2,231 |
############################
# Basic box problem #
# Set up dimensions of box #
############################
abstract type AbstractSimpleBoxProblem <: AbstractHydrostaticBoussinesqProblem end
"""
SimpleBoxProblem <: AbstractSimpleBoxProblem
Stub structure with the dimensions of the box.
LΛ£ = zonal (east-we... | [
14468,
7804,
4242,
198,
2,
14392,
3091,
1917,
220,
220,
220,
220,
220,
220,
220,
1303,
198,
2,
5345,
510,
15225,
286,
3091,
1303,
198,
14468,
7804,
4242,
198,
397,
8709,
2099,
27741,
26437,
14253,
40781,
1279,
25,
27741,
40436,
305,
1... | 2.538462 | 2,379 |
import Base: OneTo
import LatticeBoltzmann:
deviatoric_tensor,
velocity!,
temperature,
ConstantDensity,
AnalyticalVelocityAndStress,
AnalyticalEquilibrium,
AnalyticalEquilibriumAndOffEquilibrium,
IterativeInitializationMeiEtAl
struct InitializationTestProblem <: FluidFlowProblem
u_m... | [
11748,
7308,
25,
1881,
2514,
198,
11748,
406,
1078,
501,
33,
5978,
89,
9038,
25,
198,
220,
220,
220,
1614,
38585,
291,
62,
83,
22854,
11,
198,
220,
220,
220,
15432,
28265,
198,
220,
220,
220,
5951,
11,
198,
220,
220,
220,
20217,
3... | 1.839859 | 3,984 |
<filename>test/prob5.2_3stages.jl<gh_stars>0
@testset "3 stages with $solver" for solver in lp_solvers
include("prob5.2_data.jl")
numScen = 2
M = StructuredModel(num_scenarios=numScen)
x = Vector{Vector{JuMP.Variable}}(undef, 2)
v = Vector{Vector{JuMP.Variable}}(undef, 2)
y = Vector{Matrix{JuM... | [
27,
34345,
29,
9288,
14,
1676,
65,
20,
13,
17,
62,
18,
301,
1095,
13,
20362,
27,
456,
62,
30783,
29,
15,
198,
31,
9288,
2617,
366,
18,
9539,
351,
720,
82,
14375,
1,
329,
1540,
332,
287,
300,
79,
62,
34453,
690,
198,
220,
220,
... | 1.784295 | 1,057 |
module Benchmark
using CxxWrap, MPI
import ..libjltrilinos
@wrapmodule(libjltrilinos, :register_benchmark)
end
| [
21412,
25187,
4102,
198,
220,
1262,
327,
5324,
54,
2416,
11,
4904,
40,
198,
220,
1330,
11485,
8019,
20362,
2213,
346,
11996,
628,
220,
2488,
37150,
21412,
7,
8019,
20362,
2213,
346,
11996,
11,
1058,
30238,
62,
26968,
4102,
8,
198,
437... | 2.744186 | 43 |
@testset "macro methods" begin
@testset "tensorexpressions" begin
using TensorOperations: isassignment, isdefinition, getlhs, getrhs, isindex,
istensor, isgeneraltensor, istensorexpr, isscalarexpr, hastraceindices,
hastraceindices, getindices, getallindices,
normalizeinde... | [
31,
9288,
2617,
366,
20285,
305,
5050,
1,
2221,
198,
220,
220,
220,
2488,
9288,
2617,
366,
83,
641,
382,
87,
8439,
507,
1,
2221,
198,
220,
220,
220,
220,
220,
220,
220,
1262,
309,
22854,
18843,
602,
25,
318,
562,
16747,
11,
318,
... | 1.721599 | 4,102 |
<filename>src/core/interpolation.jl
const T0 = 288.15
const gamma = -6.5e-3
const P0 = 101325
const gravity = 9.8076
const Rd = 287.053
using Interpolations
export interpolation2pressure, interpolate_height2pressure, interpolate_pressure2height, pressure2height, height2pressure, hello, Line
"""
interpolation2pressure... | [
27,
34345,
29,
10677,
14,
7295,
14,
3849,
16104,
341,
13,
20362,
198,
9979,
309,
15,
796,
35419,
13,
1314,
198,
9979,
34236,
796,
532,
21,
13,
20,
68,
12,
18,
198,
9979,
350,
15,
796,
8949,
26582,
198,
9979,
13522,
796,
860,
13,
... | 3.132381 | 2,100 |
######################################################################################################
# Copy from https://bitbucket.org/wmkoolen/tidnabbil/src/master/purex_games_paper/ by <NAME> #
# * Baselines are all implemented by Wouter Koolen. #
##################... | [
29113,
29113,
29113,
4242,
2235,
198,
2,
17393,
422,
3740,
1378,
2545,
27041,
316,
13,
2398,
14,
26377,
74,
970,
268,
14,
83,
312,
77,
6485,
346,
14,
10677,
14,
9866,
14,
37424,
87,
62,
19966,
62,
20189,
14,
416,
1279,
20608,
29,
... | 2.374522 | 2,614 |
# Left-looking Cholesky
@inline function ExaTronKernels.dicf(n::Int,L::ROCDeviceArray{Float64,2})
tx = workitemIdx().x
@inbounds for j=1:n
# Apply the pending updates.
if tx >= j && tx <= n
for k=1:j-1
L[tx,j] -= L[tx,k] * L[j,k]
end
end
A... | [
2,
9578,
12,
11534,
609,
4316,
2584,
198,
31,
45145,
2163,
1475,
64,
51,
1313,
42,
44930,
13,
67,
291,
69,
7,
77,
3712,
5317,
11,
43,
3712,
49,
4503,
24728,
19182,
90,
43879,
2414,
11,
17,
30072,
198,
220,
220,
220,
27765,
796,
... | 1.655022 | 458 |
"""General Accounting formula
Assets = Liabilities + Capital
(long-term + short-term )Assets = accounts payable (creditor) + losses_incurred + fees(one_time + recurring)
"""
"""
Debit Accounts
Assets:
-Short-term (within 1 year, or less)
-Cash
-Accounts Recievable
-long-term assets (some books specify 5 years ... | [
37811,
12218,
40964,
10451,
220,
198,
198,
8021,
1039,
796,
7455,
5738,
1343,
9747,
198,
198,
7,
6511,
12,
4354,
1343,
1790,
12,
4354,
1267,
8021,
1039,
796,
5504,
28538,
357,
66,
445,
2072,
8,
1343,
9089,
62,
1939,
12808,
1343,
6642,... | 3.025126 | 398 |
function utility (cons)
#This function takes consumption as an argument and returns utility. The
#utility functin is CRRA except that we add a very small number (eps) to
#consumption so that the computer can deal wi
#global gamma
if cons<=0
error("Error in utility. Consumption is <=0");
end
... | [
8818,
10361,
357,
5936,
8,
201,
198,
201,
198,
2,
1212,
2163,
2753,
7327,
355,
281,
4578,
290,
5860,
10361,
13,
383,
201,
198,
2,
315,
879,
1257,
310,
259,
318,
8740,
3861,
2845,
326,
356,
751,
257,
845,
1402,
1271,
357,
25386,
8,... | 2.394872 | 195 |
# ---
# title: 118. Pascal's Triangle
# id: problem118
# author: zhwang
# date: 2022-01-17
# difficulty: Easy
# categories: Array
# link: <https://leetcode.com/problems/pascals-triangle/description/>
# hidden: true
# ---
#
# Given a non-negative integer _numRows_ , generate the first _numRows_ of
# Pascal's triangle.... | [
2,
11420,
198,
2,
3670,
25,
19035,
13,
35163,
338,
33233,
198,
2,
4686,
25,
1917,
16817,
198,
2,
1772,
25,
1976,
36599,
648,
198,
2,
3128,
25,
33160,
12,
486,
12,
1558,
198,
2,
8722,
25,
16789,
198,
2,
9376,
25,
15690,
198,
2,
... | 2.151832 | 382 |
<gh_stars>0
# Test that Mocking works at various scopes
# Global scope
global_scope() = "foo"
# The @mock macro is essentially a no-op
@test (@mock global_scope()) == global_scope()
# Create a patched version of func() and return the alternative
# version at call sites using the @mock macro
patch = (@patch global_sc... | [
27,
456,
62,
30783,
29,
15,
198,
2,
6208,
326,
337,
8629,
2499,
379,
2972,
629,
13920,
198,
198,
2,
8060,
8354,
198,
20541,
62,
29982,
3419,
796,
366,
21943,
1,
198,
198,
2,
383,
2488,
76,
735,
15021,
318,
6986,
257,
645,
12,
40... | 2.900763 | 393 |
load("utils/req.jl")
req("utils/failexpect.jl")
req("dag/pshow_dag.jl")
req("tangle.jl")
req("midsection.jl")
req("julia_backend.jl")
code = :( let
dest[...] = scatter(A.*B + C)
dest2[...] = A[scatter(B)]
end )
rawdag = tangle(code.args[1])
println("Raw DAG:")
pprintln(rawdag)
sdag = scatter_propagated(raw... | [
198,
2220,
7203,
26791,
14,
42180,
13,
20362,
4943,
198,
42180,
7203,
26791,
14,
13331,
576,
87,
806,
13,
20362,
4943,
198,
42180,
7203,
67,
363,
14,
862,
4919,
62,
67,
363,
13,
20362,
4943,
198,
42180,
7203,
83,
9248,
13,
20362,
49... | 2.191489 | 235 |
<filename>src/generators.jl
"""
first_po(n::Int64, k::Int64) -> po_idx::Vector{Int64}
Notation-Generator: Calculate the first generator matrix in PO notation (padding ones indices) by n and k.
"""
function first_po(n::Int64, k::Int64)::Vector{Int64}
return collect(1:(n-k))
end
"""
next_po(current_po::Vec... | [
27,
34345,
29,
10677,
14,
8612,
2024,
13,
20362,
198,
37811,
198,
220,
220,
220,
717,
62,
7501,
7,
77,
3712,
5317,
2414,
11,
479,
3712,
5317,
2414,
8,
4613,
745,
62,
312,
87,
3712,
38469,
90,
5317,
2414,
92,
198,
198,
3673,
341,
... | 2.251915 | 1,175 |
using CSV, JSON, DataFrames, JLD, MAT, FileIO, JLD2
include("aggreg.jl")
"""Equivalent annual cost (EAC)
# Arguments
* `cost::Real`: Net present value of a project.
* `n::Integer`: Number of payments.
* `r::Real`: Interest rate.
"""
function equivalent_annual_cost(cost::Real, n::Integer, r::Real)
factor = if iszer... | [
3500,
44189,
11,
19449,
11,
6060,
35439,
11,
449,
11163,
11,
36775,
11,
9220,
9399,
11,
449,
11163,
17,
198,
17256,
7203,
9460,
2301,
13,
20362,
4943,
198,
198,
37811,
23588,
29540,
5079,
1575,
357,
36,
2246,
8,
198,
2,
20559,
2886,
... | 2.336366 | 6,704 |
<gh_stars>1-10
export set_inputs, get_outputs, process
function reset(ind::NEATInd)
for n in ind.neurons
n.processed = false
end
end
function set_inputs(ind::NEATInd, inputs::Array{Float64})
# assume length(inputs) == ind.n_in
for i in eachindex(inputs)
ind.neurons[i].output = inputs[i... | [
27,
456,
62,
30783,
29,
16,
12,
940,
198,
39344,
900,
62,
15414,
82,
11,
651,
62,
22915,
82,
11,
1429,
198,
198,
8818,
13259,
7,
521,
3712,
12161,
1404,
5497,
8,
198,
220,
220,
220,
329,
299,
287,
773,
13,
710,
333,
684,
198,
... | 2.153846 | 702 |
"""
HubbardModel(lattice; params...)
HubbardModel(L, dims; params...)
HubbardModel(params::Dict)
HubbardModel(params::NamedTuple)
HubbardModel(; params...)
Defines an Hubbard model on a given (or derived) `lattice`. If a linear system
size `L` and dimensionality `dims` is given, the`lattice` will ... | [
37811,
198,
220,
220,
220,
34342,
17633,
7,
75,
1078,
501,
26,
42287,
23029,
198,
220,
220,
220,
34342,
17633,
7,
43,
11,
5391,
82,
26,
42287,
23029,
198,
220,
220,
220,
34342,
17633,
7,
37266,
3712,
35,
713,
8,
198,
220,
220,
220... | 2.392696 | 2,437 |
<reponame>djsegal/Fusion.jl<gh_stars>1-10
function T_bar_equation(cur_reactor::AbstractReactor, cur_value::Number)
cur_G_T = cur_value
cur_G_T /= cur_reactor.T_bar
cur_equation = Equation(0, 0, 0, cur_G_T)
cur_equation
end
| [
27,
7856,
261,
480,
29,
28241,
325,
13528,
14,
37,
4241,
13,
20362,
27,
456,
62,
30783,
29,
16,
12,
940,
198,
8818,
309,
62,
5657,
62,
4853,
341,
7,
22019,
62,
260,
11218,
3712,
23839,
3041,
11218,
11,
1090,
62,
8367,
3712,
15057,... | 2.25 | 104 |
# This file was generated, do not modify it. # hide
using DelimitedFiles
function cnt(ReZ, ImZ, ReC, ImC)
k::UInt8 = 0
while (k < 255)
new_ReZ = ReZ * ReZ - ImZ * ImZ + ReC
new_ImZ = 2 * ReZ * ImZ + ImC
if new_ReZ * new_ReZ + new_ImZ * new_ImZ > 4.
return k
end
... | [
2,
770,
2393,
373,
7560,
11,
466,
407,
13096,
340,
13,
1303,
7808,
198,
3500,
4216,
320,
863,
25876,
198,
198,
8818,
269,
429,
7,
3041,
57,
11,
1846,
57,
11,
797,
34,
11,
1846,
34,
8,
198,
220,
220,
220,
479,
3712,
52,
5317,
2... | 1.764599 | 548 |
<gh_stars>0
using Documenter, Weave, GitHubAPI
for file β readdir(joinpath(dirname(pathof(GitHubAPI)), "..", "docs", "jmd"))
weave(joinpath(dirname(pathof(GitHubAPI)), "..", "docs", "jmd", file),
out_path = joinpath(dirname(pathof(GitHubAPI)), "..", "docs", "src"),
doctype = "github")
end... | [
27,
456,
62,
30783,
29,
15,
198,
3500,
16854,
263,
11,
775,
1015,
11,
21722,
17614,
198,
198,
1640,
2393,
18872,
230,
1100,
15908,
7,
22179,
6978,
7,
15908,
3672,
7,
6978,
1659,
7,
38,
270,
16066,
17614,
36911,
366,
492,
1600,
366,
... | 2.108571 | 350 |
function FESpace(t::Triangulation,reffes;trian=nothing, kwargs...)
@assert trian === nothing
model = get_active_model(t)
FESpace(model,reffes;trian=t,kwargs...)
end
function FESpace(
model::DiscreteModel,
cell_fe::CellFE;
trian = Triangulation(model),
labels = get_face_labeling(model),
dirichlet_tags=... | [
198,
8818,
376,
1546,
10223,
7,
83,
3712,
14824,
648,
1741,
11,
260,
487,
274,
26,
83,
4484,
28,
22366,
11,
479,
86,
22046,
23029,
198,
220,
2488,
30493,
1333,
272,
24844,
2147,
198,
220,
2746,
796,
651,
62,
5275,
62,
19849,
7,
83... | 2.474713 | 1,483 |
<filename>research/ConstitutiveRelation/Plate/Hyperelasticity-Small/CommonFuncs.jl
using Revise
using ADCME
using PyCall
using Test
using MAT
using NNFEM
using PyPlot
using JLD2
using LinearAlgebra
using Distributions, Random
using ForwardDiff
using DelimitedFiles
np = pyimport("numpy")
"""
Feyel, FrΓ©dΓ©ric, and <N... | [
27,
34345,
29,
34033,
14,
34184,
270,
8827,
6892,
341,
14,
3646,
378,
14,
39,
2981,
2411,
3477,
414,
12,
18712,
14,
17227,
24629,
6359,
13,
20362,
198,
3500,
5416,
786,
198,
3500,
49169,
11682,
198,
3500,
9485,
14134,
198,
3500,
6208,... | 1.882957 | 5,357 |
<filename>test/runtests.jl
using CameraUnits, Unitful, FixedPointNumbers
using Base.Test
@testset "CameraUnits" begin
x = 1cu"pco55"
@test uconvert(Ξ³e, x) == 0.46Ξ³e
end
nothing
| [
27,
34345,
29,
9288,
14,
81,
2797,
3558,
13,
20362,
198,
3500,
20432,
3118,
896,
11,
11801,
913,
11,
10832,
12727,
49601,
198,
3500,
7308,
13,
14402,
198,
198,
31,
9288,
2617,
366,
35632,
3118,
896,
1,
2221,
198,
220,
220,
220,
2124... | 2.397436 | 78 |
module QuadraticProgram
using LinearAlgebra, SparseArrays
using MathOptInterface
const MOI = MathOptInterface
import LazyArrays
import IterativeSolvers
import DiffOpt
struct Cache
lhs::SparseMatrixCSC{Float64, Int}
end
Base.@kwdef struct ForwardReverseCache
dz::Vector{Float64}
dΞ»::Vector{Float64}
... | [
21412,
20648,
81,
1512,
15167,
198,
198,
3500,
44800,
2348,
29230,
11,
1338,
17208,
3163,
20477,
198,
198,
3500,
16320,
27871,
39317,
198,
9979,
13070,
40,
796,
16320,
27871,
39317,
198,
198,
11748,
406,
12582,
3163,
20477,
198,
11748,
40... | 2.176053 | 5,771 |
<reponame>tjburch/Hands-On-Computer-Vision-with-Julia<gh_stars>10-100
using Images, MLDatasets, MXNet, ImageView
train_x, train_y = CIFAR10.traindata();
test_x, test_y = CIFAR10.testdata();
# preview the images from train_x dataset
preview_img = zeros((0..., size(train_x, 1, 3)...));
for i = 1:10
preview_img ... | [
27,
7856,
261,
480,
29,
83,
73,
65,
2575,
14,
39,
1746,
12,
2202,
12,
34556,
12,
44206,
12,
4480,
12,
16980,
544,
27,
456,
62,
30783,
29,
940,
12,
3064,
198,
3500,
5382,
11,
10373,
27354,
292,
1039,
11,
26135,
7934,
11,
7412,
76... | 2.336474 | 1,486 |
# Add PATH (adapt!)
push!(LOAD_PATH, "/Volumes/cfranken/code/gitHub/LSM-SPAM/src/Leaf/");
push!(LOAD_PATH, "/Volumes/cfranken/code/gitHub/LSM-SPAM/src/Utils/");
using Leaf
using MathTools
using LeafPhotosynthesis
using BenchmarkTools
using Plots
pyplot()
# Create a leaf structure
l = leaf_params{Float32}();
l2 = le... | [
198,
2,
3060,
46490,
357,
42552,
8133,
198,
14689,
0,
7,
35613,
62,
34219,
11,
12813,
16598,
8139,
14,
66,
8310,
962,
268,
14,
8189,
14,
18300,
16066,
14,
6561,
44,
12,
4303,
2390,
14,
10677,
14,
3123,
1878,
14,
15341,
198,
14689,
... | 1.881491 | 8,877 |
<reponame>probcomp/GLRenderer.jl
module GLRenderer
import PoseComposition: Pose
import Rotations
import Images as I
import Images: Color, RGBA
import Parameters: @with_kw
import GLFW
import PyCall
import FileIO
import MeshIO
import GeometryBasics as GB
import ColorSchemes
using ModernGL
@with_kw struct CameraIntrin... | [
27,
7856,
261,
480,
29,
1676,
65,
5589,
14,
8763,
49,
437,
11882,
13,
20362,
198,
21412,
10188,
49,
437,
11882,
198,
198,
11748,
37557,
5377,
9150,
25,
37557,
198,
11748,
18481,
602,
198,
11748,
5382,
355,
314,
198,
11748,
5382,
25,
... | 2.125162 | 7,726 |
module SequentialRoomsDirectedModule
import ..GridWorlds as GW
import Random
import ReinforcementLearningBase as RLBase
import ..SequentialRoomsUndirectedModule as SRUM
#####
##### game logic
#####
const NUM_OBJECTS = SRUM.NUM_OBJECTS
const AGENT = SRUM.AGENT
const WALL = SRUM.WALL
const GOAL = SRUM.GOAL
const NUM_A... | [
21412,
24604,
1843,
15450,
3150,
13470,
276,
26796,
198,
198,
11748,
11485,
41339,
10603,
82,
355,
27164,
198,
11748,
14534,
198,
11748,
22299,
13442,
41730,
14881,
355,
45715,
14881,
198,
11748,
11485,
44015,
1843,
15450,
3150,
31319,
1060,
... | 2.356789 | 2,018 |
<reponame>rfhklwt/LeetCode.jl
# ---
# title: 447. Number of Boomerangs
# id: problem447
# author: Qling
# date: 2021-05-30
# difficulty: Medium
# categories: Hash Table, Math
# link: <https://leetcode.com/problems/number-of-boomerangs/description/>
# hidden: true
# ---
#
# You are given `n` `points` in the plane that ... | [
27,
7856,
261,
480,
29,
41871,
71,
41582,
46569,
14,
3123,
316,
10669,
13,
20362,
198,
2,
11420,
198,
2,
3670,
25,
604,
2857,
13,
7913,
286,
3248,
12057,
27725,
198,
2,
4686,
25,
1917,
34825,
198,
2,
1772,
25,
1195,
1359,
198,
2,
... | 2.10533 | 788 |
# This file is part of Dieter: Utility functions
"Given a Dict of keys => filenames, check at files exist"
function check_files_exist(fileDict::Dict{String,String})
for (k,v) in fileDict
if !(isfile(fileDict[k]) || isdir(fileDict[k]))
@error "File \"$(fileDict[k])\" not found."
... | [
2,
770,
2393,
318,
636,
286,
16292,
263,
25,
34030,
5499,
201,
198,
201,
198,
1,
15056,
257,
360,
713,
286,
8251,
5218,
1226,
268,
1047,
11,
2198,
379,
3696,
2152,
1,
201,
198,
8818,
2198,
62,
16624,
62,
38476,
7,
7753,
35,
713,
... | 2.283199 | 5,851 |
#################### Raftery and Lewis Diagnostic ####################
function rafterydiag(x::Vector{T}; q::Real=0.025, r::Real=0.005,
s::Real=0.95, eps::Real=0.001,
range::AbstractRange=1:1:length(x)) where {T<:Real}
nx = length(x)
phi = sqrt(2.0) * erfinv(s)
nmin = ... | [
14468,
4242,
7567,
637,
88,
290,
10174,
31549,
15132,
1303,
14468,
21017,
198,
198,
8818,
2179,
637,
5173,
72,
363,
7,
87,
3712,
38469,
90,
51,
19629,
10662,
3712,
15633,
28,
15,
13,
36629,
11,
374,
3712,
15633,
28,
15,
13,
22544,
1... | 1.892003 | 1,213 |
include("XtbML.jl") | [
17256,
7203,
55,
83,
65,
5805,
13,
20362,
4943
] | 2.111111 | 9 |
<reponame>daanhb/IntegralEquations2D.jl<gh_stars>0
# A collection of polygon domains
export Rectangle,
RegularPolygon,
EquilateralTriangle,
Square,
Pentagon,
Hexagon
# We first define an open line segment, this represents the side of a polygon
# given in counter clockwise order.
"An open line seg... | [
27,
7856,
261,
480,
29,
6814,
272,
71,
65,
14,
34500,
1373,
23588,
602,
17,
35,
13,
20362,
27,
456,
62,
30783,
29,
15,
198,
2,
317,
4947,
286,
7514,
14520,
18209,
198,
198,
39344,
48599,
9248,
11,
198,
220,
220,
220,
23603,
34220,... | 2.269015 | 3,037 |
# ----------------------------------------------------------------------------------- #
# Copyright (c) 2021 Varnerlab
# <NAME> School of Chemical and Biomolecular Engineering
# Cornell University, Ithaca NY 14850
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and ass... | [
2,
16529,
1783,
6329,
1303,
198,
2,
15069,
357,
66,
8,
33448,
12372,
1008,
23912,
198,
2,
1279,
20608,
29,
3961,
286,
24872,
290,
8436,
296,
2305,
10440,
14044,
198,
2,
27119,
2059,
11,
314,
400,
22260,
6645,
22613,
1120,
198,
198,
... | 3.608491 | 848 |
if BACKEND == "GPU"
using CUDArt
using CUBLAS
end
function init(material=train_data, num_buf_factor=20, prob_raise=0.75)
global sampleFactory
global genBufFac
global init_model
info(@sprintf("Using %s-%d", BACKEND, DEVICE))
idx2wf = jldopen(init_model) do f
read(f, "idx2wf")
en... | [
361,
28767,
10619,
6624,
366,
33346,
1,
198,
220,
220,
220,
1262,
327,
8322,
8001,
198,
220,
220,
220,
1262,
29369,
9148,
1921,
198,
437,
198,
8818,
2315,
7,
33665,
28,
27432,
62,
7890,
11,
997,
62,
29325,
62,
31412,
28,
1238,
11,
... | 2.029644 | 506 |
### <NAME> 1991
## Reproducing figure 5
#### Figure 5 (PoincarΓ© section & map) ####
#### b1 = 3.0
u0 = [0.76, 0.16, 9.9] #initial conditions for x,y,z
tspan = (0.0, 10000.0) #timespan
p_b3 = [5.0, 0.1, 3.0, 2.0, 0.4, 0.01] # parameter values (a1, a2, b1, b2, c1, c2)
# Solving the system of differential equations
pr... | [
21017,
1279,
20608,
29,
10249,
198,
2235,
36551,
2259,
3785,
642,
198,
198,
4242,
11291,
642,
357,
18833,
1939,
283,
2634,
2665,
1222,
3975,
8,
1303,
21017,
198,
4242,
275,
16,
796,
513,
13,
15,
198,
198,
84,
15,
796,
685,
15,
13,
... | 1.953982 | 3,064 |
<gh_stars>0
# This file is a part of Julia. License is MIT: http://julialang.org/license
convert(::Type{Char}, x::UInt32) = reinterpret(Char, x)
convert(::Type{Char}, x::Number) = Char(UInt32(x))
convert(::Type{UInt32}, x::Char) = reinterpret(UInt32, x)
convert{T<:Number}(::Type{T}, x::Char) = convert(T, UInt32(x))
r... | [
27,
456,
62,
30783,
29,
15,
198,
2,
770,
2393,
318,
257,
636,
286,
22300,
13,
13789,
318,
17168,
25,
2638,
1378,
73,
377,
498,
648,
13,
2398,
14,
43085,
198,
198,
1102,
1851,
7,
3712,
6030,
90,
12441,
5512,
2124,
3712,
52,
5317,
... | 1.905512 | 1,270 |
<reponame>kymok/local-betweenness
using ArgParse
using LightGraphs, SimpleWeightedGraphs, GraphIO, EzXML
using Distributed
using DataFrames, CSV
LIMITS = collect(300:100:5000)
include(joinpath(@__DIR__, "jl/parse_graphml.jl"))
function parse_commandline()
s = ArgParseSettings()
@add_arg_table! s begin
... | [
27,
7856,
261,
480,
29,
2584,
76,
482,
14,
12001,
12,
23395,
1108,
198,
3500,
20559,
10044,
325,
198,
3500,
4401,
37065,
82,
11,
17427,
25844,
276,
37065,
82,
11,
29681,
9399,
11,
21034,
55,
5805,
198,
3500,
4307,
6169,
198,
3500,
6... | 2.473204 | 877 |
function gsw_nsquared(sa::AbstractArray{T}, ct::AbstractArray{T}, p::AbstractArray{T}, lat::AbstractArray{T}) where {T <: Real}
n_levels = length(sa)
_res = Array{T}(undef, n_levels - 1)
_pres = Array{T}(undef, n_levels - 1)
gsw_nsquared(sa, ct, p, lat, n_levels, _res, _pres)
return (_res, _pres)
... | [
8818,
308,
2032,
62,
5907,
421,
1144,
7,
11400,
3712,
23839,
19182,
90,
51,
5512,
269,
83,
3712,
23839,
19182,
90,
51,
5512,
279,
3712,
23839,
19182,
90,
51,
5512,
3042,
3712,
23839,
19182,
90,
51,
30072,
810,
1391,
51,
1279,
25,
64... | 2.168634 | 593 |
<reponame>JuliaTeachingCTU/Scientific-Programming-in-Julia<filename>docs/src/lecture_13/lab_2.jl
abstract type AbstractODEProblem end
struct ODEProblem{F,T,U,P} <: AbstractODEProblem
f::F
tspan::T
u0::U
ΞΈ::P
end
abstract type ODESolver end
struct Euler{T} <: ODESolver
dt::T
end
struct RK2{T} <: OD... | [
27,
7856,
261,
480,
29,
16980,
544,
6767,
8103,
4177,
52,
14,
23010,
811,
12,
15167,
2229,
12,
259,
12,
16980,
544,
27,
34345,
29,
31628,
14,
10677,
14,
801,
495,
62,
1485,
14,
23912,
62,
17,
13,
20362,
198,
397,
8709,
2099,
27741... | 1.560447 | 1,522 |
<gh_stars>0
# SplineSpace represents a Spline, right now piecewise constant HeavisideSpace is only implemented case
immutable SplineSpace{order,T} <: RealUnivariateSpace{PiecewiseInterval{T}}
domain::PiecewiseInterval{T}
end
@compat (::Type{SplineSpace{m}}){m,T}(d::PiecewiseInterval{T}) = SplineSpace{m,T}(d)
@comp... | [
27,
456,
62,
30783,
29,
15,
198,
2,
13341,
500,
14106,
6870,
257,
13341,
500,
11,
826,
783,
3704,
3083,
6937,
679,
23401,
485,
14106,
318,
691,
9177,
1339,
198,
8608,
18187,
13341,
500,
14106,
90,
2875,
11,
51,
92,
1279,
25,
6416,
... | 2.12828 | 1,715 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.