chunk_id
large_string
question_id
large_string
language
large_string
chunk_index
int64
chunk_text
large_string
sparse_text
large_string
dense_vector
list
sparse_indices
list
sparse_values
list
export_source
large_string
45271696_c0
45271696
julia
0
Title: How to change a code from previous version to the last version( Julia) Problem title: How to change a code from previous version to the last version( Julia) Tags: julia Problem: How to change a code from previous version to the last version( Julia) I have a code that is written by Julia V.03, I am learning Julia...
How to change a code from previous version to the last version( Julia) How to change a code from previous version to the last version( Julia) julia previous How Julia How to change a code from previous version to the last version( Julia) I have a code that is written by Julia V.03, I am learning Julia by the last versi...
[ 0.000614166259765625, 0.0186767578125, -0.00933837890625, 0.0283203125, 0.0218505859375, 0.00909423828125, 0.00677490234375, 0.0034027099609375, 0.00665283203125, -0.01275634765625, -0.021484375, -0.031982421875, 0.00439453125, -0.006011962890625, 0.0152587890625, -0.01953125, 0.0053...
[ 11249, 47, 15549, 10, 18151, 1295, 96362, 11389, 70, 4568, 60592, 16, 132, 14801, 11, 59121, 390, 310, 5, 9513, 52080, 450, 3444, 116086, 34340, 20653, 3714, 5608, 54, 41392, 17997, 12921, 17721, 6097 ]
[ 0.1282958984375, 0.16455078125, 0.23876953125, 0.0550537109375, 0.2371826171875, 0.158203125, 0.14892578125, 0.216064453125, 0.0224456787109375, 0.171630859375, 0.284912109375, 0.003662109375, 0.0256805419921875, 0.1767578125, 0.125732421875, 0.06787109375, 0.04345703125, 0.1380615...
embed
39882614_c0
39882614
julia
0
Title: Taking an expression as an argument in Julia function Problem title: Taking an expression as an argument in Julia function Tags: dataframe, julia Problem: Taking an expression as an argument in Julia function I'm trying to implement OLS regression in Julia as a learning exercise. A feature I would like to have i...
Taking an expression as an argument in Julia function Taking an expression as an argument in Julia function dataframe julia Taking Julia Taking an expression as an argument in Julia function I'm trying to implement OLS regression in Julia as a learning exercise. A feature I would like to have is excepting a formula as ...
[ 0.0233154296875, 0.0179443359375, 0.00140380859375, 0.005401611328125, 0.017822265625, -0.00909423828125, 0.0174560546875, 0.00982666015625, 0.0062255859375, -0.0125732421875, -0.009033203125, -0.008544921875, -0.0172119140625, 0.0029296875, 0.00787353515625, -0.0033111572265625, -0....
[ 2561, 214, 142, 125195, 237, 10750, 23, 60592, 32354, 2053, 160328, 14801, 11, 29479, 180, 19759, 456, 148448, 52080, 81979, 60213, 1884, 40494, 26168, 2472, 19908, 2203, 990, 6780, 1022, 418, 997, 304, 136, 3365, 316, 11809, 108386, 144573...
[ 0.17138671875, 0.048187255859375, 0.090087890625, 0.319091796875, 0.13720703125, 0.2919921875, 0.0352783203125, 0.32666015625, 0.185302734375, 0.07257080078125, 0.166748046875, 0.18115234375, 0.09918212890625, 0.05059814453125, 0.107177734375, 0.1806640625, 0.026092529296875, 0.201...
embed
62349134_c0
62349134
julia
0
Title: Inner constructor in Julia Problem title: Inner constructor in Julia Tags: julia, object, struct Problem: Inner constructor in Julia I am moving from using Python to Julia and would like to create an object like this: class myObject(): def __init__(inputA,inputB): self.x = inputA; self.y = inputB; self.z = x*y; ...
Inner constructor in Julia Inner constructor in Julia julia object struct Inner Julia __init__ self.x self.y self.z Inner constructor in Julia I am moving from using Python to Julia and would like to create an object like this: I know that in Julia we use struct but am unsure how to implement the functionality as descr...
[ 0.01080322265625, 0.0201416015625, -0.024658203125, 0.026611328125, 0.02001953125, 0.002166748046875, 0.0263671875, -0.0091552734375, 0.005645751953125, -0.0022430419921875, 0.000843048095703125, -0.006195068359375, 0.00933837890625, -0.00830078125, 0.00153350830078125, -0.010070800781...
[ 137657, 64549, 748, 23, 60592, 14801, 11, 36746, 36716, 217, 15970, 425, 53, 169, 98567, 1295, 17368, 145581, 47, 2806, 1884, 28282, 903, 3714, 642, 4527, 1284, 51646, 3642, 29479, 123309, 36917, 15490, 53550, 97, 23009, 8752, 111, 75414, ...
[ 0.21728515625, 0.2138671875, 0.1380615234375, 0.074462890625, 0.29052734375, 0.181884765625, 0.132568359375, 0.18701171875, 0.2088623046875, 0.013519287109375, 0.1268310546875, 0.0634765625, 0.0853271484375, 0.14306640625, 0.0535888671875, 0.0621337890625, 0.0277099609375, 0.177124...
embed
35487052_c0
35487052
julia
0
Title: JULIA: Can pmap modify arguments in place? Problem title: JULIA: Can pmap modify arguments in place? Tags: julia, parallel-processing, pmap Problem: JULIA: Can pmap modify arguments in place? I am applying the same function to multiple independent objects and I'd like to do it in parallel. The problem is the fun...
JULIA: Can pmap modify arguments in place? JULIA: Can pmap modify arguments in place? julia parallel-processing pmap JULIA Can Float64 Array Any JULIA: Can pmap modify arguments in place? I am applying the same function to multiple independent objects and I'd like to do it in parallel. The problem is the function modif...
[ 0.002899169921875, 0.022705078125, -0.01031494140625, 0.0067138671875, -0.002899169921875, 0.00640869140625, 0.022216796875, -0.021240234375, 0.0103759765625, 0.005218505859375, 0.009033203125, -0.01251220703125, 0.00738525390625, 0.002349853515625, 0.0203857421875, -0.0133056640625, ...
[ 30357, 67991, 12, 4171, 3592, 2631, 2811, 40383, 10750, 7, 3687, 23, 14801, 11, 95103, 63923, 38699, 257, 13307, 69253, 53, 28541, 59911, 5701, 32354, 48716, 41371, 36746, 1884, 581, 2967, 73197, 90, 1632, 111, 5885, 22288, 959, 20187, 42...
[ 0.171630859375, 0.20068359375, 0.022552490234375, 0.149169921875, 0.126220703125, 0.2379150390625, 0.1900634765625, 0.17431640625, 0.2423095703125, 0.04339599609375, 0.192626953125, 0.0089111328125, 0.1868896484375, 0.14892578125, 0.220703125, 0.126220703125, 0.20556640625, 0.08874...
embed
73759052_c2
73759052
julia
2
OTHER_ERROR objective_value(model) = 0.19116585196576466 Code signals: Roots, MathOptInterface.OTHER_ERROR, ISRES, NLopt, JuMP, SOLVE, TOYMODEL, EQUILIBRIUM, CHARACTERIZED, NONLINEAR, SYSTEM, ODEs, INCREASING, FUCTIONS, GOAL, APPROXIMATE, POLYNOMIALS, FIND, POLYNOMIAL, COEFFICIENTS, MINIMIZE, LEAST, SQUARES, EQUATIONS,...
OTHER_ERROR objective_value(model) = 0.19116585196576466 Code signals: Roots, MathOptInterface.OTHER_ERROR, ISRES, NLopt, JuMP, SOLVE, TOYMODEL, EQUILIBRIUM, CHARACTERIZED, NONLINEAR, SYSTEM, ODEs, INCREASING, FUCTIONS, GOAL, APPROXIMATE, POLYNOMIALS, FIND, POLYNOMIAL, COEFFICIENTS, MINIMIZE, LEAST, SQUARES, EQUATIONS,...
[ -0.0003261566162109375, 0.00714111328125, -0.025146484375, 0.007354736328125, 0.0184326171875, 0.0255126953125, -0.0020599365234375, -0.007598876953125, 0.00469970703125, -0.0262451171875, -0.01129150390625, -0.01275634765625, 0.000240325927734375, -0.0238037109375, 0.0206298828125, -0...
[ 224750, 454, 12501, 14255, 1052, 151814, 27494, 13, 51734, 2203, 107754, 12183, 118913, 12951, 171087, 11835, 163063, 28864, 26073, 7, 150948, 78804, 39029, 18, 44851, 40404, 5, 15744, 34465, 541, 15363, 6328, 3314, 9088, 78837, 24878, 51222, ...
[ 0.2890625, 0.0237274169921875, 0.182861328125, 0.2216796875, 0.1363525390625, 0.322998046875, 0.2327880859375, 0.1138916015625, 0.29052734375, 0.10546875, 0.150634765625, 0.1080322265625, 0.1234130859375, 0.0850830078125, 0.12109375, 0.0859375, 0.18408203125, 0.2529296875, 0.2888...
embed
76196369_c1
76196369
julia
1
color="black",weight=6).add_to(mf) # and added this mf.fit_bounds(MAP_BOUNDS) mf But no smaller rectangle shows up. How can I add another rectangular region inside the bigger one? Code signals: flm.Rectangle, Based, m.bounds, min_lat, max_lat, min_lon, max_lon, matplotlib_cm, matplotlib.cm, matplotlib_colors, matplotl...
color="black",weight=6).add_to(mf) # and added this mf.fit_bounds(MAP_BOUNDS) mf But no smaller rectangle shows up. How can I add another rectangular region inside the bigger one? Code signals: flm.Rectangle, Based, m.bounds, min_lat, max_lat, min_lon, max_lon, matplotlib_cm, matplotlib.cm, matplotlib_colors, matplotl...
[ -0.004150390625, 0.0206298828125, 0.0123291015625, 0.0018157958984375, 0.0166015625, 0.0023345947265625, 0.01495361328125, -0.029296875, 0.0260009765625, 0.00701904296875, -0.00634765625, -0.02587890625, 0.004547119140625, -0.004547119140625, 0.01019287109375, -0.006591796875, 0.0150...
[ 10576, 151675, 165598, 59690, 11, 4028, 188, 39, 420, 49814, 903, 347, 16086, 99091, 105748, 17398, 34384, 294, 4966, 110, 164917, 148734, 449, 133, 45831, 1257, 11249, 831, 15190, 15700, 10393, 320, 10776, 46132, 167785, 1632, 28864, 26073, ...
[ 0.1163330078125, 0.140869140625, 0.1187744140625, 0.05084228515625, 0.011871337890625, 0.12353515625, 0.166259765625, 0.0592041015625, 0.1619873046875, 0.1212158203125, 0.006072998046875, 0.0224761962890625, 0.1624755859375, 0.1885986328125, 0.1380615234375, 0.1072998046875, 0.167602...
embed
63460755_c0
63460755
julia
0
Title: crawl excel data automatically based on contents Problem title: crawl excel data automatically based on contents Tags: julia, xlsx Problem: crawl excel data automatically based on contents I want to get data from many excel files with the same format like this: What I want is to output the ID data from column B ...
crawl excel data automatically based on contents crawl excel data automatically based on contents julia xlsx crawl excel data automatically based on contents I want to get data from many excel files with the same format like this: What I want is to output the ID data from column B to a CSV file. I have many files like ...
[ 0.031494140625, -0.00518798828125, -0.0220947265625, 0.039794921875, 0.0225830078125, 0.036376953125, 0.01708984375, -0.01043701171875, -0.00154876708984375, 0.00041961669921875, 0.00007772445678710938, -0.0107421875, -0.01483154296875, -0.02587890625, 0.0223388671875, -0.00830078125, ...
[ 235879, 64152, 2053, 191082, 35509, 98, 10941, 7, 14801, 11, 1022, 8080, 425, 3444, 2046, 1295, 5941, 102158, 678, 5701, 9384, 1884, 903, 140992, 11338, 3365, 316, 335, 47, 313, 43486, 11435, 765, 12638, 1543, 1221, 11343, 98169, 23, 6059...
[ 0.267822265625, 0.2037353515625, 0.157958984375, 0.1654052734375, 0.1226806640625, 0.0604248046875, 0.214599609375, 0.036346435546875, 0.170166015625, 0.146240234375, 0.04193115234375, 0.03839111328125, 0.10284423828125, 0.08782958984375, 0.0965576171875, 0.088623046875, 0.1129150390...
embed
72579529_c0
72579529
julia
0
Title: Customizing Julia (as in the language) Set Problem title: Customizing Julia (as in the language) Set Tags: julia Problem: Customizing Julia (as in the language) Set I've got an application where Set semantics would be useful for me, but I'm dealing with floating point numbers. I'd like to have a criterion for in...
Customizing Julia (as in the language) Set Customizing Julia (as in the language) Set julia Customizing Julia Set Customizing Julia (as in the language) Set I've got an application where Set semantics would be useful for me, but I'm dealing with floating point numbers. I'd like to have a criterion for inclusion in the ...
[ 0.01556396484375, 0.00799560546875, 0.00885009765625, 0.01043701171875, 0.007232666015625, 0.0029144287109375, 0.018310546875, -0.01177978515625, 0.01708984375, 0.0169677734375, -0.01190185546875, 0.0184326171875, -0.020751953125, -0.00408935546875, -0.0118408203125, 0.0014724731445312...
[ 130664, 84382, 60592, 162, 23, 46876, 19943, 14801, 11, 4163, 38415, 484, 109109, 2806, 80234, 163, 184017, 21917, 26518, 6275, 101935, 1884, 765, 166220, 19, 190440, 191, 5423, 450, 56112, 18, 24763, 161789, 2174, 21771, 70541, 81730, 47, ...
[ 0.2191162109375, 0.1263427734375, 0.3212890625, 0.1199951171875, 0.058624267578125, 0.1593017578125, 0.2303466796875, 0.215576171875, 0.1474609375, 0.0367431640625, 0.1363525390625, 0.10205078125, 0.1461181640625, 0.03021240234375, 0.093994140625, 0.02362060546875, 0.05419921875, 0...
embed
72985335_c0
72985335
julia
0
Title: Calling fields of a composite type (data structure) in Julia? Problem title: Calling fields of a composite type (data structure) in Julia? Tags: computer-science, julia Problem: Calling fields of a composite type (data structure) in Julia? If I write a function in Julia that returns an object x with multiple fie...
Calling fields of a composite type (data structure) in Julia? Calling fields of a composite type (data structure) in Julia? computer-science julia Calling Julia Calling fields of a composite type (data structure) in Julia? If I write a function in Julia that returns an object x with multiple fields, is there any way to...
[ 0.00982666015625, 0.001556396484375, -0.01544189453125, 0.047607421875, 0.0247802734375, 0.0274658203125, 0.0244140625, -0.0174560546875, -0.004547119140625, 0.00830078125, -0.00799560546875, 0.01251220703125, 0.01177978515625, -0.002044677734375, 0.02392578125, -0.03515625, 0.003738...
[ 26265, 214, 44457, 7, 111, 375, 77087, 13, 10644, 10135, 45646, 23, 60592, 13909, 175201, 14801, 11, 33022, 32354, 30646, 36746, 1022, 678, 48716, 2499, 3917, 47, 11782, 142424, 29458, 3642, 77336, 9351, 183037, 4000, 29569, 73342 ]
[ 0.1756591796875, 0.0972900390625, 0.2467041015625, 0.06103515625, 0.0347900390625, 0.0762939453125, 0.1805419921875, 0.01153564453125, 0.13330078125, 0.082275390625, 0.1697998046875, 0.0965576171875, 0.28759765625, 0.066162109375, 0.04522705078125, 0.1441650390625, 0.10546875, 0.12...
embed
37799705_c0
37799705
julia
0
Title: Defining adaptive decision variables in JuMPeR Problem title: Defining adaptive decision variables in JuMPeR Tags: julia, julia-jump Problem: Defining adaptive decision variables in JuMPeR This is the code: s=5 k=3 mod= RobustModel(solver=GurobiSolver()) @defUnc(mod,ξ[i=1:k,j=1:s]) adaptive(mod,ext[1:k], policy=...
Defining adaptive decision variables in JuMPeR Defining adaptive decision variables in JuMPeR julia julia-jump UndefVarError Defining JuMPeR RobustModel GurobiSolver Affine depends_on Max Defining adaptive decision variables in JuMPeR This is the code: The error is: Why does this problem happen?
[ 0.01141357421875, -0.003448486328125, 0.006134033203125, 0.027099609375, 0.016357421875, 0.0223388671875, 0.0126953125, 0.01373291015625, -0.006378173828125, -0.0030059814453125, -0.006988525390625, -0.027587890625, -0.01025390625, 0.006317138671875, 0.031982421875, -0.00439453125, 0...
[ 88606, 39908, 5844, 51957, 77336, 3314, 9088, 13, 1052, 14801, 11, 461, 2676, 5533, 4240, 81827, 18468, 30520, 8160, 140290, 6955, 42843, 102588, 814, 59061, 1212, 56566, 191, 9920, 18151, 18499, 44084, 14602, 903, 2967, 53383 ]
[ 0.132080078125, 0.1480712890625, 0.1279296875, 0.1494140625, 0.20458984375, 0.149658203125, 0.1268310546875, 0.0830078125, 0.1351318359375, 0.114990234375, 0.0816650390625, 0.1363525390625, 0.1580810546875, 0.0838623046875, 0.153076171875, 0.1771240234375, 0.10052490234375, 0.04986...
embed
77746631_c0
77746631
julia
0
Title: Choices for ArgParse.jl argument Problem title: Choices for ArgParse.jl argument Tags: argparse.jl, julia Problem: Choices for ArgParse.jl argument In Python one can set the choices for a flag with argparse : parser.add_argument('-q', dest='quality_scale', type=str, choices=["sanger", "illumina"], help='Base qua...
Choices for ArgParse.jl argument Choices for ArgParse.jl argument argparse.jl julia Choices ArgParse.jl parser.add_argument quality_scale Base ArgParse Choices for ArgParse.jl argument In Python one can set the choices for a flag with argparse : Is there a way to do this in Julia using ArgParse ? I checked the document...
[ 0.0211181640625, 0.008544921875, 0.0186767578125, 0.00494384765625, 0.0028839111328125, 0.0059814453125, 0.0076904296875, 0.004974365234375, -0.0014495849609375, 0.053466796875, -0.011962890625, -0.0167236328125, -0.002685546875, 0.0031280517578125, -0.02197265625, 0.0186767578125, 0...
[ 181948, 7, 100, 1172, 177, 28636, 184, 51349, 10750, 79459, 2500, 14801, 11, 366, 2189, 4028, 155937, 31897, 57965, 44978, 145581, 831, 5423, 70, 44126, 10, 49938, 678, 3917, 54, 903, 23, 60592, 17368, 12765, 209806, 159342, 53550 ]
[ 0.20751953125, 0.08111572265625, 0.097900390625, 0.13818359375, 0.1326904296875, 0.1859130859375, 0.185546875, 0.1829833984375, 0.213134765625, 0.2197265625, 0.196044921875, 0.1759033203125, 0.1319580078125, 0.1029052734375, 0.0533447265625, 0.044403076171875, 0.188232421875, 0.203...
embed
24560670_c0
24560670
julia
0
Title: Is there a way to query a Julia Timer to see whether it is running or not? Problem title: Is there a way to query a Julia Timer to see whether it is running or not? Tags: timer, julia Problem: Is there a way to query a Julia Timer to see whether it is running or not? Julia has a Timer object which can run a call...
Is there a way to query a Julia Timer to see whether it is running or not? Is there a way to query a Julia Timer to see whether it is running or not? timer julia Julia Timer Is there a way to query a Julia Timer to see whether it is running or not? Julia has a Timer object which can run a callback function at a set rep...
[ 0.028076171875, 0.00616455078125, 0.0111083984375, -0.0023651123046875, 0.00531005859375, 0.0035552978515625, -0.01239013671875, -0.015869140625, -0.01953125, -0.0264892578125, 0.01416015625, 0.01611328125, 0.00634765625, -0.004486083984375, 0.01165771484375, -0.004852294921875, 0.00...
[ 2685, 3917, 41, 1294, 60592, 13320, 56, 1957, 36766, 83, 51042, 707, 959, 47, 10, 21991, 14801, 11, 2071, 1556, 36746, 831, 11675, 11782, 12620, 32354, 5423, 57346, 34515, 5570, 35773, 4734, 17368, 4034, 137644, 132, 136, 7279, 34475, 127...
[ 0.036407470703125, 0.11865234375, 0.140625, 0.1734619140625, 0.304443359375, 0.265625, 0.201171875, 0.1156005859375, 0.106689453125, 0.06854248046875, 0.1876220703125, 0.0379638671875, 0.10504150390625, 0.03607177734375, 0.040008544921875, 0.25, 0.1710205078125, 0.09417724609375, ...
embed
51943797_c0
51943797
julia
0
Title: Julia: concat strings with separator (equivalent of R's paste) Problem title: Julia: concat strings with separator (equivalent of R's paste) Tags: string, paste, julia, concatenation Problem: Julia: concat strings with separator (equivalent of R's paste) I have an array of strings that I would like to ...
Julia: concat strings with separator (equivalent of R's paste) Julia: concat strings with separator (equivalent of R's paste) string paste julia concatenation Julia Julia: concat strings with separator (equivalent of R's paste) I have an array of strings that I would like to concatenate together with a specif...
[ 0.00112152099609375, 0.000911712646484375, 0.0018768310546875, 0.027587890625, -0.0081787109375, 0.003082275390625, 0.00982666015625, -0.00151824951171875, -0.0001506805419921875, 0.00628662109375, 0, -0.0213623046875, 0.018798828125, -0.00897216796875, -0.0135498046875, -0.01635742187...
[ 60592, 12, 158, 4460, 79315, 7, 678, 38310, 748, 3181, 85540, 627, 3768, 71099, 14801, 11, 33, 25, 10298, 53, 1884, 33478, 76, 25842, 29458, 60075, 13, 50339, 76228, 25040, 2203, 2819, 183234, 2806, 132, 425, 74, 37842, 16750, 959, 6713...
[ 0.2783203125, 0.037078857421875, 0.1138916015625, 0.1907958984375, 0.2281494140625, 0.0439453125, 0.098876953125, 0.2130126953125, 0.1585693359375, 0.0655517578125, 0.08526611328125, 0.153076171875, 0.08758544921875, 0.221923828125, 0.201171875, 0.1363525390625, 0.07904052734375, 0...
embed
75156490_c0
75156490
julia
0
Title: How can I convert a bitstring to the binary form in Julia Problem title: How can I convert a bitstring to the binary form in Julia Tags: binary, bitstring, julia, representation Problem: How can I convert a bitstring to the binary form in Julia I am using bitstring to perform an xor operation on the ith bit of a...
How can I convert a bitstring to the binary form in Julia How can I convert a bitstring to the binary form in Julia binary bitstring julia representation How Julia How can I convert a bitstring to the binary form in Julia I am using bitstring to perform an xor operation on the ith bit of a string: However the result wi...
[ 0.0098876953125, 0.0224609375, 0.0030670166015625, 0.024169921875, -0.00982666015625, 0.037841796875, 0.002532958984375, -0.013427734375, -0.011474609375, 0.00958251953125, -0.01220703125, -0.01129150390625, -0.00130462646484375, 0.017578125, 0.009521484375, -0.01385498046875, 0.0006...
[ 11249, 831, 87, 96760, 10, 4785, 91693, 47, 70, 2394, 6635, 3173, 23, 60592, 14801, 11, 18811, 17368, 51339, 74706, 41018, 98, 8962, 111, 79315, 33306, 16750, 1221, 186, 53418, 21342, 678, 3789, 17, 3714, 3642, 54, 181155, 197094, 3559, ...
[ 0.07257080078125, 0.09808349609375, 0.07183837890625, 0.169677734375, 0.0347900390625, 0.140625, 0.2440185546875, 0.10198974609375, 0.013641357421875, 0.143310546875, 0.1351318359375, 0.152587890625, 0.103271484375, 0.29150390625, 0.1973876953125, 0.1646728515625, 0.114501953125, 0...
embed
33522884_c0
33522884
julia
0
Title: What functions are called to display an (Array) variable on the julia REPL? Problem title: What functions are called to display an (Array) variable on the julia REPL? Tags: julia, read-eval-print-loop Problem: What functions are called to display an (Array) variable on the julia REPL? julia> ob = foo(1., "boo") ...
What functions are called to display an (Array) variable on the julia REPL? What functions are called to display an (Array) variable on the julia REPL? julia read-eval-print-loop What Array REPL Float64 Base.show io::IO A::Array Humbug x::Float32 s::ASCIIString someob::foo What functions are called to display an (Array...
[ 0.0198974609375, -0.0042724609375, -0.012939453125, 0.03076171875, 0.01300048828125, 0.0018463134765625, 0.01275634765625, -0.0152587890625, 0.00775146484375, 0.0281982421875, -0.009765625, -0.0238037109375, -0.021484375, 0.0062255859375, 0.014404296875, -0.008056640625, -0.004821777...
[ 4865, 32354, 7, 35839, 44116, 7614, 7092, 77336, 14801, 11, 9069, 21130, 47, 98, 12301, 13, 1405, 35662, 28354, 69253, 53, 38699, 257, 13307, 44978, 31374, 22995, 17780, 19210, 85779, 1022, 365, 6460, 134165, 2852, 3522, 3584, 87, 30957, ...
[ 0.06640625, 0.2371826171875, 0.09735107421875, 0.1512451171875, 0.1805419921875, 0.104248046875, 0.1978759765625, 0.263916015625, 0.2379150390625, 0.2130126953125, 0.1256103515625, 0.258056640625, 0.021148681640625, 0.0154571533203125, 0.1417236328125, 0.034576416015625, 0.2163085937...
embed
70088840_c0
70088840
julia
0
Title: Julia bulk insert into SQL Server Problem title: Julia bulk insert into SQL Server Tags: r, julia, sql Problem: Julia bulk insert into SQL Server Using R, I can bulk insert data into SQL Server using dbWriteTable and passing it the name of the table and the name of the dataframe. dbWriteTable will even create th...
Julia bulk insert into SQL Server Julia bulk insert into SQL Server r julia sql Julia SQL Server Julia bulk insert into SQL Server Using R, I can bulk insert data into SQL Server using dbWriteTable and passing it the name of the table and the name of the dataframe. dbWriteTable will even create the table for me in SQL ...
[ 0.01611328125, -0.00003528594970703125, 0.0027618408203125, 0.0189208984375, -0.0050048828125, 0.00145721435546875, -0.004058837890625, -0.0419921875, -0.018310546875, -0.004974365234375, -0.00104522705078125, -0.010498046875, -0.000823974609375, -0.00921630859375, -0.009521484375, 0.0...
[ 60592, 11876, 92, 183540, 3934, 80866, 22687, 1690, 14801, 11, 99247, 627, 831, 2053, 40041, 1456, 18781, 618, 2886, 452, 6953, 9351, 23180, 136, 160328, 1221, 3853, 28282, 163, 23, 2174, 959, 21771, 32316, 98169, 64600, 5701, 123309, 17368...
[ 0.306396484375, 0.1824951171875, 0.1263427734375, 0.22021484375, 0.1243896484375, 0.1881103515625, 0.166015625, 0.118896484375, 0.1927490234375, 0.1094970703125, 0.1376953125, 0.1673583984375, 0.0911865234375, 0.112060546875, 0.0828857421875, 0.0723876953125, 0.1143798828125, 0.116...
embed
62248671_c0
62248671
julia
0
Title: Incomplete Initialisation in Julia Problem title: Incomplete Initialisation in Julia Tags: initialization, struct, julia Problem: Incomplete Initialisation in Julia I want to initialise part of a Datatype in Julia, I currently have: mutable struct Foo bar::Int baz::Int maz::Int Foo(maz=2)=new(maz) end foo=Foo() ...
Incomplete Initialisation in Julia Incomplete Initialisation in Julia initialization struct julia Incomplete Initialisation Julia Foo bar::Int baz::Int maz::Int Incomplete Initialisation in Julia I want to initialise part of a Datatype in Julia, I currently have: However this creates an object which is Foo(2, 0, 0) How...
[ 0.047119140625, 0.00185394287109375, -0.00714111328125, -0.002532958984375, 0.0164794921875, 0.0026702880859375, 0.0400390625, -0.0224609375, 0.0108642578125, 0.034423828125, 0.01318359375, -0.00732421875, -0.0035247802734375, 0.0101318359375, 0.00762939453125, -0.0174560546875, 0.00...
[ 360, 277, 131801, 1890, 289, 15032, 23, 60592, 61475, 47691, 36716, 14801, 11, 9572, 31, 1909, 18, 16627, 17022, 3444, 3075, 2831, 11809, 50986, 82424, 765, 33306, 903, 28282, 7, 36746, 83, 54753, 4, 757, 11249, 54, 221, 450, 2046, 132,...
[ 0.07568359375, 0.111083984375, 0.18603515625, 0.1162109375, 0.0692138671875, 0.09674072265625, 0.09130859375, 0.30029296875, 0.19775390625, 0.040771484375, 0.16259765625, 0.171875, 0.12744140625, 0.1904296875, 0.1871337890625, 0.1634521484375, 0.0389404296875, 0.112060546875, 0.0...
embed
48847676_c0
48847676
julia
0
Title: Is there a Julia equivalent of Python's %timeit Problem title: Is there a Julia equivalent of Python's %timeit Tags: profiling, julia Problem: Is there a Julia equivalent of Python's %timeit In Python, a convenient way to evaluate the performance of code is timeit . In Julia we have @time , but this ha...
Is there a Julia equivalent of Python's %timeit Is there a Julia equivalent of Python's %timeit profiling julia Julia Python Is there a Julia equivalent of Python's %timeit In Python, a convenient way to evaluate the performance of code is timeit . In Julia we have @time , but this has the disadvantage of onl...
[ 0.006317138671875, 0.0263671875, 0.00689697265625, -0.00439453125, -0.00018310546875, -0.00982666015625, 0.0218505859375, -0.0238037109375, -0.0172119140625, -0.0380859375, 0.00335693359375, 0.011474609375, 0.0074462890625, -0.0050048828125, -0.0037078857421875, 0.00018405914306640625,...
[ 2071, 2685, 60592, 183234, 111, 145581, 3768, 1745, 6032, 217, 10, 9468, 14801, 11, 142267, 3917, 47, 151575, 23718, 18151, 1733, 1374, 6392, 2187, 4734, 51042, 63847, 24145, 71924, 40368, 20028, 4127, 49726, 11522, 23, 1286, 27255 ]
[ 0.01153564453125, 0.038909912109375, 0.27587890625, 0.1724853515625, 0.0145111083984375, 0.226318359375, 0.030914306640625, 0.0860595703125, 0.2120361328125, 0.216796875, 0.0183258056640625, 0.1851806640625, 0.171142578125, 0.059783935546875, 0.0989990234375, 0.0428466796875, 0.02565...
embed
60587041_c0
60587041
julia
0
Title: Julia - getting the version number of my module Problem title: Julia - getting the version number of my module Tags: julia, package Problem: Julia - getting the version number of my module I am writing a package for Julia and within the package I would like to be able to print the my package current version numb...
Julia - getting the version number of my module Julia - getting the version number of my module julia package Julia Julia - getting the version number of my module I am writing a package for Julia and within the package I would like to be able to print the my package current version number. I can of course do that manu...
[ 0.01220703125, 0.0096435546875, 0.0107421875, 0.02001953125, 0.01519775390625, 0.01385498046875, 0.01300048828125, -0.01165771484375, -0.01373291015625, -0.005340576171875, -0.0093994140625, -0.035400390625, -0.017578125, -0.005096435546875, 0.006561279296875, 0.00921630859375, -0.01...
[ 60592, 20949, 70, 11389, 14012, 111, 759, 88996, 14801, 11, 98169, 32562, 100, 28032, 2806, 1884, 19048, 47, 28412, 43581, 831, 54, 23009, 16487, 3917, 12301, 442, 105237, 1295, 59121, 27331, 5, 5928, 141, 11435, 959, 18151, 25647 ]
[ 0.279052734375, 0.132080078125, 0.05108642578125, 0.2464599609375, 0.187255859375, 0.043060302734375, 0.10235595703125, 0.242431640625, 0.1885986328125, 0.1630859375, 0.1793212890625, 0.06298828125, 0.011993408203125, 0.04742431640625, 0.021514892578125, 0.064697265625, 0.04989624023...
embed
63601760_c0
63601760
julia
0
Title: Why is A = Tuple{4, 5} valid Julia syntax? And what does this mean? Problem title: Why is A = Tuple{4, 5} valid Julia syntax? And what does this mean? Tags: julia, types Problem: Why is A = Tuple{4, 5} valid Julia syntax? And what does this mean? I'm going through the Julia documentation and when trying somethin...
Why is A = Tuple{4, 5} valid Julia syntax? And what does this mean? Why is A = Tuple{4, 5} valid Julia syntax? And what does this mean? julia types Why Tuple Julia DataType Int64 Int32 Why is A = Tuple{4, 5} valid Julia syntax? And what does this mean? I'm going through the Julia documentation and when trying something...
[ 0.01348876953125, 0.0164794921875, -0.0030670166015625, 0.033447265625, -0.00116729736328125, 0.006439208984375, -0.013916015625, 0.0027923583984375, 0.0157470703125, 0.016357421875, -0.004669189453125, -0.021484375, -0.00390625, 0.0289306640625, -0.006683349609375, -0.014892578125, ...
[ 44084, 83, 62, 2203, 1371, 8705, 617, 190, 35604, 60592, 6002, 86531, 29459, 4, 14801, 11, 52895, 11809, 196707, 360, 18, 13307, 6460, 903, 209806, 31577, 1810, 9069, 21130, 27998, 10644, 80389, 64457, 959, 18499, 10, 21208, 201, 136, 110...
[ 0.105224609375, 0.0450439453125, 0.17236328125, 0.099365234375, 0.1375732421875, 0.21875, 0.194091796875, 0.2066650390625, 0.16162109375, 0.275146484375, 0.1072998046875, 0.15869140625, 0.05419921875, 0.0689697265625, 0.15869140625, 0.1357421875, 0.1796875, 0.08917236328125, 0.22...
embed
74224274_c1
74224274
julia
1
to remove a package permanently in Julia?" Code signals: being, How, Julia, Makie.jl, Makie, Installed, MLJ, v0.18.6, EvoTrees, v0.12.4, v0.18.1, Updating, Users, Shayan, v1.8, Project.toml, CairoMakie, v0.9.0, v0.9.1, f6006082, v0.12.2, e9467ef8, GLMakie, v0.7.0, v0.7.1, add582a8, v0.18.5, PkgDependency, v0.2.0, gith...
to remove a package permanently in Julia?" Code signals: being, How, Julia, Makie.jl, Makie, Installed, MLJ, v0.18.6, EvoTrees, v0.12.4, v0.18.1, Updating, Users, Shayan, v1.8, Project.toml, CairoMakie, v0.9.0, v0.9.1, f6006082, v0.12.2, e9467ef8, GLMakie, v0.7.0, v0.7.1, add582a8, v0.18.5, PkgDependency, v0.2.0, gith...
[ 0.00933837890625, 0.03564453125, 0.00537109375, 0.01007080078125, 0.00124359130859375, -0.00150299072265625, -0.007049560546875, -0.02294921875, -0.00836181640625, 0.0308837890625, -0.0040283203125, 0.01007080078125, -0.0203857421875, -0.017822265625, -0.003936767578125, 0.002090454101...
[ 47, 87388, 10, 98169, 28123, 538, 23, 60592, 2953, 28864, 26073, 8035, 11249, 13676, 478, 51349, 107951, 297, 276, 75612, 81, 102014, 189015, 65802, 62731, 90, 116591, 206730, 10091, 56464, 53400, 7224, 1643, 119044, 27331, 5928, 141, 149109,...
[ 0.05535888671875, 0.26171875, 0.0130615234375, 0.2802734375, 0.2108154296875, 0.113037109375, 0.047119140625, 0.337158203125, 0.04376220703125, 0.191650390625, 0.1907958984375, 0.1773681640625, 0.12646484375, 0.1656494140625, 0.1988525390625, 0.15234375, 0.14501953125, 0.041015625,...
embed
38155560_c0
38155560
julia
0
Title: Query a Julia dictionary for certain values Problem title: Query a Julia dictionary for certain values Tags: linq, julia Problem: Query a Julia dictionary for certain values I am not new to programming but I am new to Julia. I have a Julia dictionary object that looks like the following: Dict{Any,Any}(28.1=>1, 1...
Query a Julia dictionary for certain values Query a Julia dictionary for certain values linq julia Query Julia Dict Any Query a Julia dictionary for certain values I am not new to programming but I am new to Julia. I have a Julia dictionary object that looks like the following: How can I write code to filter out the va...
[ 0.01904296875, 0.0184326171875, -0.025146484375, -0.0125732421875, -0.0036773681640625, 0.004180908203125, 0.017822265625, 0.007659912109375, -0.00604248046875, 0.02978515625, -0.003082275390625, -0.01043701171875, -0.0225830078125, -0.0224609375, 0.0107421875, 0.008544921875, -0.007...
[ 58836, 53, 10, 60592, 45, 10763, 6635, 100, 24233, 142424, 96, 44982, 14801, 11, 60897, 18, 28541, 959, 3525, 56037, 36746, 33342, 1884, 25632, 11249, 831, 33022, 18151, 47, 46312, 1810, 450, 23356, 55738, 3444, 756, 80836, 7440, 34292, 8...
[ 0.2109375, 0.15966796875, 0.07373046875, 0.323486328125, 0.111572265625, 0.1719970703125, 0.1492919921875, 0.1376953125, 0.1458740234375, 0.212158203125, 0.0921630859375, 0.2249755859375, 0.239501953125, 0.10284423828125, 0.140869140625, 0.04913330078125, 0.07666015625, 0.006225585...
embed
60441140_c0
60441140
julia
0
Title: What does TypeError: in Type, in parameter, expected Type got xyz mean in Julia Problem title: What does TypeError: in Type, in parameter, expected Type got xyz mean in Julia Tags: julia Problem: What does TypeError: in Type, in parameter, expected Type got xyz mean in Julia I'm trying to work on some code and t...
What does TypeError: in Type, in parameter, expected Type got xyz mean in Julia What does TypeError: in Type, in parameter, expected Type got xyz mean in Julia julia TypeError What Type Julia What does TypeError: in Type, in parameter, expected Type got xyz mean in Julia I'm trying to work on some code and this is the ...
[ 0.0106201171875, 0.0205078125, -0.01611328125, 0.0262451171875, 0.0025634765625, 0.0035400390625, -0.0059814453125, 0.000736236572265625, -0.01055908203125, 0.00921630859375, 0.0032196044921875, -0.0517578125, -0.00921630859375, 0.004302978515625, 0.00086212158203125, 0.002197265625, ...
[ 4865, 60457, 18468, 31611, 12, 23, 171859, 84751, 4163, 1022, 32189, 29459, 60592, 14801, 11, 14602, 4, 31577, 4488, 18151, 18499, 73342, 2264, 22304, 26008, 4358 ]
[ 0.037689208984375, 0.238525390625, 0.1436767578125, 0.164306640625, 0.015045166015625, 0.1064453125, 0.1771240234375, 0.181640625, 0.10333251953125, 0.05206298828125, 0.1851806640625, 0.0916748046875, 0.277587890625, 0.150146484375, 0.12744140625, 0.005096435546875, 0.0194091796875, ...
embed
78430306_c2
78430306
julia
2
42341234234113336 62342345515 2341123423423423423455555555555555 212315551235555 222222222222266" we should match the second segment, because it is the first repetition of 2,3,4,1 of the desired length, regardless of the fact that it ends with only a single 6. We should also math the last segment, because it is the las...
42341234234113336 62342345515 2341123423423423423455555555555555 212315551235555 222222222222266" we should match the second segment, because it is the first repetition of 2,3,4,1 of the desired length, regardless of the fact that it ends with only a single 6. We should also math the last segment, because it is the las...
[ -0.0234375, 0.021484375, -0.0079345703125, 0.017333984375, -0.0031280517578125, -0.0012969970703125, -0.0155029296875, 0.0198974609375, 0.025634765625, -0.01031494140625, -0.00145721435546875, 0.0137939453125, -0.00994873046875, 0.006866455078125, 0.018798828125, 0.005889892578125, 0...
[ 4828, 10289, 190875, 3742, 8894, 125158, 8659, 10031, 116397, 96060, 758, 1837, 131210, 88438, 87357, 952, 149265, 1039, 4015, 132537, 14604, 58, 642, 5608, 14858, 17932, 33180, 6637, 83, 5117, 57346, 1363, 116, 82449, 418, 70, 104851, 71, ...
[ 0.2056884765625, 0.1800537109375, 0.1031494140625, 0.08758544921875, 0.0562744140625, 0.0660400390625, 0.122802734375, 0.15234375, 0.16064453125, 0.1475830078125, 0.04315185546875, 0.05517578125, 0.1719970703125, 0.01055908203125, 0.12353515625, 0.08782958984375, 0.082275390625, 0....
embed
65246567_c1
65246567
julia
1
Q(i, j, 0.0) end end @variable(m, p) Code signals: LoadError, GenericQuadExpr, Float64, VariableRef, JuMP, Model, optimizer_with_attributes, Mosek.Optimizer, QUIET, INTPNT_CO_TOL_DFEAS, Q_r, i::Number, l::Number, r::Number, tau::Float64, fac1, fac2, tau::Number, Q_mat, Array, Min, ERROR, Stacktrace, error.jl:33, set_o...
Q(i, j, 0.0) end end @variable(m, p) Code signals: LoadError, GenericQuadExpr, Float64, VariableRef, JuMP, Model, optimizer_with_attributes, Mosek.Optimizer, QUIET, INTPNT_CO_TOL_DFEAS, Q_r, i::Number, l::Number, r::Number, tau::Float64, fac1, fac2, tau::Number, Q_mat, Array, Min, ERROR, Stacktrace, error.jl:33, set_o...
[ -0.00193023681640625, 0.003082275390625, -0.0146484375, -0.00140380859375, 0.0126953125, 0.0027618408203125, 0.023681640625, -0.0179443359375, 0.004364013671875, -0.0263671875, -0.0098876953125, -0.003143310546875, -0.0037384033203125, -0.03662109375, 0.00102996826171875, 0.01165771484...
[ 2396, 14, 4, 1647, 89678, 16, 3564, 1374, 21690, 2886, 39, 915, 28864, 26073, 7, 12, 2091, 712, 18468, 31611, 88342, 31583, 19279, 10287, 38699, 257, 13307, 84572, 190015, 3314, 9088, 13293, 15572, 52825, 76228, 191145, 8455, 343, 39029, ...
[ 0.211181640625, 0.1107177734375, 0.051788330078125, 0.21630859375, 0.229248046875, 0.1131591796875, 0.1590576171875, 0.117431640625, 0.10205078125, 0.0802001953125, 0.0816650390625, 0.0677490234375, 0.2666015625, 0.2939453125, 0.1051025390625, 0.06842041015625, 0.1204833984375, 0.0...
embed
65911971_c1
65911971
julia
1
uses of it in module Main must be qualified ERROR: LoadError: UndefVarError: params not defined May I know what is the best way to perform a detailed benchmark of the code? Thanks in advance. Code signals: LoadError, UndefVarError, Flux, MLDatasets, Flux.Data, BenchmarkTools, Benchmarking, vgg19, Chain, Conv, MaxPool,...
uses of it in module Main must be qualified ERROR: LoadError: UndefVarError: params not defined May I know what is the best way to perform a detailed benchmark of the code? Thanks in advance. Code signals: LoadError, UndefVarError, Flux, MLDatasets, Flux.Data, BenchmarkTools, Benchmarking, vgg19, Chain, Conv, MaxPool,...
[ 0.0026702880859375, 0.0167236328125, -0.0185546875, 0.00665283203125, 0.01129150390625, 0.00921630859375, 0.032470703125, -0.0208740234375, -0.006927490234375, -0.0498046875, 0.00001245737075805664, -0.020263671875, 0.010009765625, -0.004913330078125, 0.003570556640625, -0.033203125, ...
[ 4527, 111, 442, 23, 88996, 12321, 8110, 186, 217225, 151206, 24638, 2091, 712, 18468, 31611, 5533, 4240, 81827, 121, 4432, 959, 61924, 71, 4347, 3714, 2965, 3917, 51339, 10, 185688, 240057, 18151, 129745, 28864, 26073, 7, 36157, 425, 39456,...
[ 0.132568359375, 0.1104736328125, 0.18408203125, 0.024932861328125, 0.234375, 0.2060546875, 0.109130859375, 0.06060791015625, 0.245361328125, 0.144287109375, 0.1046142578125, 0.1275634765625, 0.06146240234375, 0.134521484375, 0.1695556640625, 0.0706787109375, 0.1324462890625, 0.1668...
embed
77567182_c1
77567182
julia
1
: str(i) for i in range(n)} # Call Julia from Python to perform an action on the large data-structure t1 = time() res = Main.func(d) t2 = time() print(f"Elapsed overall :: {t2-t1} s") main.jl (code called from python file / package) function func(d) t = @elapsed begin # Perform action on inputs d2 = Dict() for (k, v) i...
: str(i) for i in range(n)} # Call Julia from Python to perform an action on the large data-structure t1 = time() res = Main.func(d) t2 = time() print(f"Elapsed overall :: {t2-t1} s") main.jl (code called from python file / package) function func(d) t = @elapsed begin # Perform action on inputs d2 = Dict() for (k, v) i...
[ 0.0262451171875, 0.00933837890625, -0.004241943359375, -0.0004215240478515625, 0.0238037109375, -0.00084686279296875, 0.024658203125, -0.0126953125, -0.01226806640625, 0.006317138671875, -0.0033111572265625, 0.003753662109375, -0.014404296875, 0.016357421875, 0.00750732421875, -0.01373...
[ 152, 7704, 14, 100, 17, 23, 37457, 19, 468, 26265, 60592, 1295, 145581, 47, 51339, 22631, 98, 21334, 2053, 137656, 808, 418, 1733, 3332, 12321, 16498, 238, 71, 304, 2203, 28412, 420, 647, 127966, 128512, 1984, 18, 18504, 91, 5201, 5, ...
[ 0.0279388427734375, 0.1834716796875, 0.1141357421875, 0.0789794921875, 0.1170654296875, 0.017669677734375, 0.1641845703125, 0.052734375, 0.050811767578125, 0.2152099609375, 0.340576171875, 0.0823974609375, 0.2666015625, 0.00982666015625, 0.142578125, 0.1717529296875, 0.09765625, 0....
embed
49987692_c0
49987692
julia
0
Title: How to extract numerical value from a substring in Julia Problem title: How to extract numerical value from a substring in Julia Tags: julia Problem: How to extract numerical value from a substring in Julia I have substring that ends with numerical value.How can I extract this numerical value and assign it to a ...
How to extract numerical value from a substring in Julia How to extract numerical value from a substring in Julia julia a How Julia Size How to extract numerical value from a substring in Julia I have substring that ends with numerical value.How can I extract this numerical value and assign it to a variable ?,a sub str...
[ 0.0069580078125, 0.004669189453125, 0.0030670166015625, 0.0289306640625, -0.00689697265625, 0.021484375, 0.015869140625, 0.0028228759765625, 0.01287841796875, 0.0159912109375, -0.026123046875, -0.016845703125, -0.02685546875, -0.007080078125, 0.0206298828125, -0.007354736328125, 0.02...
[ 11249, 47, 125663, 54744, 6827, 34292, 1295, 1614, 91693, 23, 60592, 14801, 11, 10, 80378, 87, 765, 3564, 678, 81826, 831, 903, 136, 95486, 442, 77336, 79315, 27781, 51404, 1022, 20653, 186, 2499, 14012, 65514, 46876, 84046, 11522, 51529, ...
[ 0.07208251953125, 0.056396484375, 0.205322265625, 0.1729736328125, 0.1414794921875, 0.2020263671875, 0.1239013671875, 0.1905517578125, 0.2283935546875, 0.09393310546875, 0.279541015625, 0.1783447265625, 0.13818359375, 0.00115966796875, 0.146240234375, 0.0267486572265625, 0.0005187988...
embed
34861308_c0
34861308
julia
0
Title: Is it bad to have 2 modules in a package? Problem title: Is it bad to have 2 modules in a package? Tags: julia Problem: Is it bad to have 2 modules in a package? Suppose I have a package MyTest , MyTest/src/MyTest.jl MyTest/src/A.jl A.jl: module A ... end MyTest.jl module MyTest using A ... end When I loaded the...
Is it bad to have 2 modules in a package? Is it bad to have 2 modules in a package? julia A MyTest MyTest.jl A.jl Pkg.clone Is it bad to have 2 modules in a package? Suppose I have a package MyTest , When I loaded the package from Pkg.clone("..") and using MyTest , it complained that it could not find A . What's the st...
[ 0.0074462890625, -0.00799560546875, -0.00811767578125, 0.046630859375, 0.0076904296875, 0.0125732421875, 0.02294921875, -0.03515625, 0.004974365234375, -0.033203125, 0.0032196044921875, -0.00518798828125, 0.010009765625, 0.00921630859375, -0.0091552734375, -0.006927490234375, -0.0077...
[ 2071, 442, 6494, 765, 116, 88996, 7, 23, 10, 98169, 14801, 11, 62, 2646, 111337, 51349, 8517, 63499, 86, 47, 72367, 436, 186992, 5809, 959, 7413, 5570, 3917, 35142, 678, 48716, 60592, 65524, 11001, 2663, 17366 ]
[ 0.0654296875, 0.0367431640625, 0.188720703125, 0.1053466796875, 0.2176513671875, 0.270751953125, 0.1182861328125, 0.11328125, 0.054443359375, 0.24853515625, 0.12060546875, 0.071044921875, 0.135986328125, 0.1458740234375, 0.228271484375, 0.102783203125, 0.1649169921875, 0.123046875,...
embed
69828228_c0
69828228
julia
0
Title: Create environment from existing Project.toml file Problem title: Create environment from existing Project.toml file Tags: julia Problem: Create environment from existing Project.toml file Suppose I already have a folder MyFolder containing a Project.toml and a Manifest.toml with some dependencies in it. How do ...
Create environment from existing Project.toml file Create environment from existing Project.toml file julia existing Create Project.toml MyFolder Manifest.toml EnvironmentName Create environment from existing Project.toml file Suppose I already have a folder MyFolder containing a Project.toml and a Manifest.toml with s...
[ 0.006683349609375, 0.0009918212890625, -0.0240478515625, 0.0361328125, 0.00092315673828125, 0.0208740234375, 0.0123291015625, -0.00830078125, -0.00897216796875, -0.021728515625, -0.0096435546875, -0.0003566741943359375, -0.001312255859375, -0.00141143798828125, 0.009521484375, -0.01965...
[ 151313, 65998, 1295, 144573, 27331, 5928, 141, 11435, 5, 14801, 11, 2646, 27591, 31178, 92669, 357, 686, 1900, 674, 163612, 121691, 21771, 765, 10, 78303, 70541, 136, 3060, 42548, 117538, 11249, 54, 87, 28282, 142, 6097, 102158, 3714, 831, ...
[ 0.172119140625, 0.295166015625, 0.182861328125, 0.26123046875, 0.2047119140625, 0.1817626953125, 0.2008056640625, 0.1741943359375, 0.024688720703125, 0.1461181640625, 0.138671875, 0.079833984375, 0.054931640625, 0.1383056640625, 0.247314453125, 0.1033935546875, 0.201171875, 0.21093...
embed
72798732_c2
72798732
julia
2
s (16001 allocations: 250.02 KiB) The number of allocations is also much larger than I would Code signals: Performance, Gaussian, Float32, x0::T, y0::T, A::T, b::T, c::T, model::Gaussian, x::Float32, y::Float32, gaussian_value::Float32, model.A, model.x0, model.b, model.y0, model.c, gaussian_value, build_array, random_...
s (16001 allocations: 250.02 KiB) The number of allocations is also much larger than I would Code signals: Performance, Gaussian, Float32, x0::T, y0::T, A::T, b::T, c::T, model::Gaussian, x::Float32, y::Float32, gaussian_value::Float32, model.A, model.x0, model.b, model.y0, model.c, gaussian_value, build_array, random_...
[ 0.005218505859375, 0.0157470703125, -0.006591796875, -0.027099609375, 0.0164794921875, -0.00018405914306640625, 0.00830078125, -0.01031494140625, 0.01068115234375, -0.0069580078125, 0.01104736328125, -0.0086669921875, 0.01263427734375, -0.002044677734375, 0.02001953125, -0.011047363281...
[ 91, 23175, 34479, 144, 87632, 7, 12, 5316, 9550, 1519, 571, 16, 581, 14012, 111, 83, 2843, 5045, 150679, 3501, 87, 2806, 28864, 26073, 94030, 26336, 39209, 38699, 257, 6460, 1022, 2389, 618, 113, 4, 62, 876, 501, 3299, 17067, 223, 365...
[ 0.17431640625, 0.1641845703125, 0.252685546875, 0.184326171875, 0.269287109375, 0.117431640625, 0.019134521484375, 0.1285400390625, 0.08160400390625, 0.0787353515625, 0.1456298828125, 0.05621337890625, 0.0614013671875, 0.1220703125, 0.052642822265625, 0.0721435546875, 0.0719604492187...
embed
71210151_c0
71210151
julia
0
Title: Julia add indicator to candlestick chart Problem title: Julia add indicator to candlestick chart Tags: candlestick-chart, julia, technical-indicator Problem: Julia add indicator to candlestick chart I'm new to Julia and I'm trying to add a technical indicator (let it be a simple moving average) to my candlestick...
Julia add indicator to candlestick chart Julia add indicator to candlestick chart candlestick-chart julia technical-indicator Plots Julia MarketData TimeSeries GOOG YahooOpt period1 Month Julia add indicator to candlestick chart I'm new to Julia and I'm trying to add a technical indicator (let it be a simple moving ave...
[ 0.02685546875, 0.0164794921875, 0.007110595703125, 0.005828857421875, -0.01068115234375, 0.0140380859375, 0.003509521484375, -0.01373291015625, -0.006317138671875, -0.0306396484375, 0.01116943359375, -0.0216064453125, -0.023193359375, 0.0019683837890625, 0.00506591796875, 0.00671386718...
[ 60592, 15190, 172075, 47, 7841, 133, 69880, 116287, 9254, 14801, 11, 121392, 69442, 1290, 168763, 30318, 137989, 19055, 138724, 25052, 42386, 57163, 39029, 18, 14922, 418, 12982, 3525, 31577, 8781, 98567, 83080, 759, 5608, 54, 450 ]
[ 0.288818359375, 0.122314453125, 0.26171875, 0.0775146484375, 0.129638671875, 0.0841064453125, 0.1763916015625, 0.2056884765625, 0.1519775390625, 0.203369140625, 0.1409912109375, 0.18017578125, 0.10986328125, 0.0716552734375, 0.116943359375, 0.046966552734375, 0.056427001953125, 0.0...
embed
52538480_c0
52538480
julia
0
Title: GLText Package in Julia 1.0 Problem title: GLText Package in Julia 1.0 Tags: julia Problem: GLText Package in Julia 1.0 0.0.1-0.0.4 │ └─GLPlot [9bedddac] log: │ ├─possible versions are: 0.0.2-0.0.5 or uninstalled │ └─restricted to versions * by an explicit requirement, leaving only versions 0.0.2-0.0.5 └─restric...
GLText Package in Julia 1.0 GLText Package in Julia 1.0 julia GLText Package Julia v1.0 Makie Updating General github.com JuliaRegistries General.git Resolving ERROR Unsatisfiable GLPlot GLText Package in Julia 1.0 When I try to install various packages in Julia 1.0 I get an error regarding the GLText package: I am wor...
[ 0.006195068359375, 0.0011749267578125, 0.0086669921875, -0.01080322265625, 0.01251220703125, -0.01251220703125, 0.0223388671875, -0.02001953125, 0.0135498046875, 0.03515625, -0.004913330078125, -0.02685546875, -0.0147705078125, -0.027587890625, 0.01611328125, -0.00081634521484375, 0....
[ 90799, 174379, 56607, 4588, 23, 60592, 53855, 14801, 11, 102107, 13676, 478, 10091, 9082, 62270, 32102, 54601, 70687, 15769, 132944, 151206, 992, 50958, 1029, 527, 37352, 12631, 9790, 20600, 67842, 98169, 18499, 87, 444, 20697, 98, 19138, 728...
[ 0.1888427734375, 0.32568359375, 0.1942138671875, 0.038787841796875, 0.0245513916015625, 0.283935546875, 0.1790771484375, 0.1468505859375, 0.07342529296875, 0.1524658203125, 0.1104736328125, 0.1103515625, 0.029541015625, 0.115966796875, 0.04107666015625, 0.0972900390625, 0.07922363281...
embed
76006842_c0
76006842
julia
0
Title: How to save a LateX rendered image (via Latexify) to disk in png in Julia Problem title: How to save a LateX rendered image (via Latexify) to disk in png in Julia Tags: png, julia Problem: How to save a LateX rendered image (via Latexify) to disk in png in Julia I am using Julia. I used Latexitfy to generate an ...
How to save a LateX rendered image (via Latexify) to disk in png in Julia How to save a LateX rendered image (via Latexify) to disk in png in Julia png julia How LateX Latexify Julia Latexify.latexify model_equations How to save a LateX rendered image (via Latexify) to disk in png in Julia I am using Julia. I used Late...
[ -0.003570556640625, 0.0205078125, -0.01470947265625, 0.007720947265625, 0.00946044921875, 0.0299072265625, -0.0034027099609375, -0.02001953125, -0.004791259765625, -0.02099609375, 0.0035247802734375, 0.027587890625, 0.010498046875, -0.00262451171875, 0.0068359375, -0.004058837890625, ...
[ 11249, 30098, 239, 67, 1542, 79516, 29569, 24371, 40383, 47, 28338, 23, 128468, 60592, 71, 3459, 14801, 11, 143, 3299, 13722, 17368, 23399, 18929, 139392, 1295, 25632, 18151, 1884, 31255, 442 ]
[ 0.030487060546875, 0.1466064453125, 0.1104736328125, 0.1419677734375, 0.172119140625, 0.132568359375, 0.1705322265625, 0.1754150390625, 0.2066650390625, 0.110107421875, 0.1165771484375, 0.07452392578125, 0.1829833984375, 0.262451171875, 0.009918212890625, 0.027740478515625, 0.1514892...
embed
25818107_c0
25818107
julia
0
Title: Running profiler causes Julia kernel to die Problem title: Running profiler causes Julia kernel to die Tags: julia Problem: Running profiler causes Julia kernel to die When I run the simple profiling test case given in the Julia docs, my Julia kernel invariably dies regardless of environment. I've tried julia.ex...
Running profiler causes Julia kernel to die Running profiler causes Julia kernel to die julia Running Julia Running profiler causes Julia kernel to die When I run the simple profiling test case given in the Julia docs, my Julia kernel invariably dies regardless of environment. I've tried julia.exe, JuliaStudio, and Sub...
[ 0.0262451171875, 0.0101318359375, -0.015380859375, 0.005279541015625, -0.00152587890625, 0.00909423828125, 0.0035552978515625, -0.0126953125, -0.01953125, -0.0263671875, -0.0244140625, 0.01123046875, -0.0019073486328125, 0.018798828125, 0.0279541015625, 0.00153350830078125, 0.0100097...
[ 28398, 592, 105609, 113660, 60592, 77924, 583, 47, 68, 14801, 11, 11675, 8781, 9468, 214, 3034, 7225, 21690, 78458, 14792, 211460, 65998, 37842, 46480, 109023, 31, 8273, 150, 24129, 678, 46765, 53588, 51042, 63335, 20600, 5570, 7911, 3137, ...
[ 0.14208984375, 0.055023193359375, 0.274169921875, 0.109375, 0.291259765625, 0.179931640625, 0.1429443359375, 0.046051025390625, 0.1512451171875, 0.187255859375, 0.1646728515625, 0.091796875, 0.060699462890625, 0.203857421875, 0.0712890625, 0.0975341796875, 0.054443359375, 0.0909423...
embed
63230504_c1
63230504
julia
1
to reproduce this error with 1.5.0 and on a different computer with 1.3.1 on it. Both systems are runnning Ubuntu 20.04 LTS. What I tried so far was: Rebuilding the package Pkg.build() Check that the file supposed to load exists (it existed) Update libx264 Deleting all packages in .julia folder and and reinstalling ev...
to reproduce this error with 1.5.0 and on a different computer with 1.3.1 on it. Both systems are runnning Ubuntu 20.04 LTS. What I tried so far was: Rebuilding the package Pkg.build() Check that the file supposed to load exists (it existed) Update libx264 Deleting all packages in .julia folder and and reinstalling ev...
[ -0.0028228759765625, 0.0050048828125, -0.0169677734375, 0.006317138671875, -0.01214599609375, 0.0115966796875, 0.0174560546875, -0.0186767578125, 0.005340576171875, -0.011474609375, 0.0087890625, -0.0196533203125, 0.0113525390625, -0.032958984375, -0.0023193359375, 0.019287109375, 0....
[ 47, 42238, 13, 903, 18499, 678, 615, 187461, 12921, 13909, 97109, 98, 442, 149766, 76519, 11675, 116890, 7085, 7709, 339, 12763, 5, 87, 37842, 221, 2060, 853, 146049, 98169, 436, 8517, 177149, 132, 38679, 70, 11435, 134598, 72367, 32316, ...
[ 0.0767822265625, 0.18798828125, 0.0848388671875, 0.1593017578125, 0.275634765625, 0.03875732421875, 0.1419677734375, 0.32958984375, 0.09295654296875, 0.1307373046875, 0.2978515625, 0.0215301513671875, 0.006866455078125, 0.08282470703125, 0.083251953125, 0.0025634765625, 0.21142578125...
embed
71602982_c0
71602982
julia
0
Title: Julia "MethodError: no method matching build_tree" Problem title: Julia "MethodError: no method matching build_tree" Tags: julia, import, decision-tree, dataframe Problem: Julia "MethodError: no method matching build_tree" I have a very simple sample script: using Pkg Pkg.add("DecisionTree") ...
Julia "MethodError: no method matching build_tree" Julia "MethodError: no method matching build_tree" julia import decision-tree dataframe MethodError LoadError Pkg DataFrames DecisionTree decision-tree Julia build_tree Pkg.add DataFrame ERROR Vector Int64 Closest AbstractVector AbstractMatrix Users...
[ 0.0255126953125, 0.0478515625, -0.01416015625, -0.0004444122314453125, 0.015380859375, 0.019775390625, 0.0022735595703125, -0.026123046875, -0.01123046875, -0.03662109375, -0.00518798828125, -0.0439453125, 0.0076904296875, -0.0052490234375, 0.0069580078125, -0.0196533203125, 0.003784...
[ 60592, 78572, 7352, 18468, 31611, 110, 55300, 14858, 214, 45367, 62600, 14801, 11, 24927, 51957, 160328, 74644, 8517, 108386, 49132, 62731, 11809, 151206, 2609, 18770, 13307, 153335, 233973, 26455, 87427, 53400, 5201, 51349, 16360, 28541, 12, 7...
[ 0.270263671875, 0.10333251953125, 0.133056640625, 0.141357421875, 0.1285400390625, 0.1358642578125, 0.2066650390625, 0.1798095703125, 0.1292724609375, 0.16064453125, 0.2421875, 0.1802978515625, 0.15478515625, 0.106201171875, 0.1004638671875, 0.1309814453125, 0.1502685546875, 0.0874...
embed
59272540_c0
59272540
julia
0
Title: How to use package in Julia without importing it? Problem title: How to use package in Julia without importing it? Tags: julia Problem: How to use package in Julia without importing it? If you write it imports all bunch of methods into the current scope. using Plots plot(rand(5,5)) I need only one method, is it ...
How to use package in Julia without importing it? How to use package in Julia without importing it? julia Plots How Julia Plots.plot How to use package in Julia without importing it? If you write it imports all bunch of methods into the current scope. I need only one method, is it possible to write the same code but wi...
[ 0.0036773681640625, 0.018310546875, -0.0089111328125, 0.0023345947265625, 0.00104522705078125, 0.006072998046875, 0.0311279296875, -0.027587890625, -0.0037994384765625, -0.0230712890625, -0.00628662109375, -0.00830078125, -0.00543212890625, 0.000347137451171875, 0.01177978515625, 0.000...
[ 11249, 47, 4527, 98169, 23, 60592, 15490, 24927, 442, 14801, 11, 168763, 7, 105710, 214, 33022, 756, 147306, 150624, 3934, 43581, 70820, 3871, 4734, 1632, 55300, 7722, 5701, 18151, 17368, 16591, 31255, 183114 ]
[ 0.063720703125, 0.0234222412109375, 0.1436767578125, 0.2056884765625, 0.101318359375, 0.260009765625, 0.127197265625, 0.158447265625, 0.08392333984375, 0.1458740234375, 0.1162109375, 0.1912841796875, 0.08636474609375, 0.15869140625, 0.0064697265625, 0.07244873046875, 0.00436401367187...
embed
32280481_c0
32280481
julia
0
Title: Permutations with a limited length in Julia Problem title: Permutations with a limited length in Julia Tags: permutation, julia Problem: Permutations with a limited length in Julia In Python, you can use itertools to generate permutations like so: >>> list(itertools.permutations("ABC", 2)) [('A', 'B'), ('A', 'C'...
Permutations with a limited length in Julia Permutations with a limited length in Julia permutation julia Permutations Julia itertools.permutations ABC Permutations with a limited length in Julia In Python, you can use itertools to generate permutations like so: Julia has a similar permutations function, but it only ac...
[ 0.0211181640625, 0.0106201171875, -0.0001277923583984375, 0.01141357421875, 0.0012359619140625, 0.0179443359375, 0.0018157958984375, -0.0038604736328125, -0.0072021484375, -0.00139617919921875, -0.0174560546875, -0.0166015625, 0.01043701171875, 0.0137939453125, -0.00799560546875, -0.01...
[ 908, 14311, 21094, 678, 84046, 140909, 23, 60592, 117, 561, 22062, 14801, 11, 17, 720, 89110, 7, 1264, 47457, 145581, 831, 4527, 139392, 1884, 221, 1556, 21373, 32354, 1284, 4734, 26946, 1632, 10750, 2965, 3917, 28, 19908, 17932 ]
[ 0.10595703125, 0.240966796875, 0.111083984375, 0.07342529296875, 0.20947265625, 0.1556396484375, 0.010467529296875, 0.30908203125, 0.1270751953125, 0.20263671875, 0.023956298828125, 0.192138671875, 0.1009521484375, 0.053558349609375, 0.1739501953125, 0.2476806640625, 0.086181640625, ...
embed
65078226_c1
65078226
julia
1
Julia as : [load student and project inform][1] The workspace looks like this. [Data is the student inform, I only pice the top 4 of student rank of project][2] I am looking for to get the solution of this project. Like array for all studnet allocation. And plot the data like how many studnet's project is their first ...
Julia as : [load student and project inform][1] The workspace looks like this. [Data is the student inform, I only pice the top 4 of student rank of project][2] I am looking for to get the solution of this project. Like array for all studnet allocation. And plot the data like how many studnet's project is their first ...
[ 0.006927490234375, 0.03466796875, -0.00738525390625, 0.035888671875, -0.013427734375, -0.018798828125, 0.0062255859375, -0.00885009765625, -0.00750732421875, 0.0002460479736328125, -0.009521484375, -0.0145263671875, -0.00634765625, 0.004913330078125, -0.0250244140625, -0.0240478515625,...
[ 60592, 237, 63033, 9836, 136, 13452, 8180, 4488, 65421, 33342, 1884, 903, 137989, 83, 4734, 8834, 2663, 201, 30648, 39556, 16487, 100, 2046, 29806, 18852, 10298, 53, 756, 27938, 1179, 144, 87632, 23577, 70, 2053, 5941, 5117, 39580, 7722, ...
[ 0.368408203125, 0.1163330078125, 0.177734375, 0.211181640625, 0.048187255859375, 0.1865234375, 0.239990234375, 0.13134765625, 0.212646484375, 0.1102294921875, 0.0799560546875, 0.0626220703125, 0.12939453125, 0.000885009765625, 0.026885986328125, 0.0660400390625, 0.0821533203125, 0....
embed
64241264_c0
64241264
julia
0
Title: I have a high-performant function written in Julia, how can I use it from Python? Problem title: I have a high-performant function written in Julia, how can I use it from Python? Tags: python, python-3.x, pycall, julia Problem: I have a high-performant function written in Julia, how can I use it from Python? I h...
I have a high-performant function written in Julia, how can I use it from Python? I have a high-performant function written in Julia, how can I use it from Python? python python-3.x pycall julia Python Julia python-3.x I have a high-performant function written in Julia, how can I use it from Python? I have a found a Ju...
[ 0.006317138671875, 0.0242919921875, -0.006988525390625, 0.0059814453125, 0.0096435546875, 0.0069580078125, 0.00732421875, -0.031494140625, -0.007354736328125, -0.048095703125, 0.00439453125, -0.0118408203125, -0.032470703125, -0.008544921875, -0.004364013671875, -0.0167236328125, -0....
[ 87, 765, 11192, 1264, 5037, 1236, 32354, 59121, 23, 60592, 3642, 831, 4527, 442, 1295, 145581, 17198, 50828, 8316, 425, 85763, 14801, 11, 14037, 26267, 14602, 12447, 3871, 11249, 69405, 78779, 19048, 47, 11782, 121691, 2965, 2684, 3163, 468...
[ 0.0296630859375, 0.065185546875, 0.126708984375, 0.0662841796875, 0.1513671875, 0.09454345703125, 0.211669921875, 0.131591796875, 0.0672607421875, 0.3046875, 0.086181640625, 0.09381103515625, 0.176513671875, 0.0709228515625, 0.1795654296875, 0.248291015625, 0.081787109375, 0.101074...
embed
42856351_c0
42856351
julia
0
Title: moving array elements inside the array Problem title: moving array elements inside the array Tags: julia, arrays Problem: moving array elements inside the array Whats an efficient way to move elements to a new index inside an array like this? A = collect(1:9) # [1,2,3,4,5,6,7,8,9] # now lets move elements 1:3 to...
moving array elements inside the array moving array elements inside the array julia arrays moving array elements inside the array Whats an efficient way to move elements to a new index inside an array like this? I always end up resizing the array or swapping like mad. Is there an efficient (=fast) way to solve this?
[ -0.001068115234375, 0.0230712890625, -0.0019683837890625, 0.0181884765625, -0.001190185546875, -0.00909423828125, -0.0174560546875, 0.01531982421875, 0.00396728515625, -0.01153564453125, -0.00238037109375, 0.0245361328125, -0.0096435546875, 0.0011138916015625, 0.0016021728515625, -0.00...
[ 98567, 10298, 53, 80854, 46132, 14801, 11, 4778, 93766, 3917, 25813, 47, 3525, 63262, 1884, 903, 11343, 3564, 1257, 3332, 84382, 68062, 26783, 17946, 39473, 86869 ]
[ 0.186279296875, 0.2081298828125, 0.1614990234375, 0.2039794921875, 0.2100830078125, 0.1973876953125, 0.1680908203125, 0.104736328125, 0.1878662109375, 0.06640625, 0.1767578125, 0.0697021484375, 0.0682373046875, 0.160888671875, 0.059051513671875, 0.04376220703125, 0.0987548828125, 0...
embed
61309462_c0
61309462
julia
0
Title: How to list all methods of data types or built-in/user-defined functions in julia? Problem title: How to list all methods of data types or built-in/user-defined functions in julia? Tags: julia Problem: How to list all methods of data types or built-in/user-defined functions in julia? I'm switching from a python ...
How to list all methods of data types or built-in/user-defined functions in julia? How to list all methods of data types or built-in/user-defined functions in julia? julia How How to list all methods of data types or built-in/user-defined functions in julia? I'm switching from a python background. In python there is a ...
[ 0.0299072265625, 0.0213623046875, -0.010498046875, 0.0245361328125, 0.00023365020751953125, 0.01190185546875, 0.0091552734375, 0.00009870529174804688, -0.00005602836608886719, -0.032958984375, -0.01495361328125, -0.058837890625, -0.011474609375, -0.01251220703125, -0.0235595703125, -0....
[ 11249, 47, 5303, 756, 150624, 111, 2053, 52895, 88303, 73, 65918, 112, 5983, 32354, 23, 14801, 11, 707, 101089, 17198, 50828, 76615, 360, 24, 4806, 5402, 35839, 54799, 23937, 1810, 11907, 55300, 831, 51339, 98, 21373, 3917, 24233, 50986 ]
[ 0.08355712890625, 0.0728759765625, 0.20068359375, 0.1436767578125, 0.236328125, 0.0692138671875, 0.1058349609375, 0.2052001953125, 0.106689453125, 0.1121826171875, 0.119384765625, 0.07000732421875, 0.1448974609375, 0.1785888671875, 0.11572265625, 0.2264404296875, 0.223388671875, 0....
embed
67640406_c2
67640406
julia
2
1-apps, Change, dev.to, using-sudo-without-password-prompt-as-non-root-docker-user-52bg, USERNAME, USERID, GID, GROUPNAME, ALL, NOPASSWD:ALL, USER, LS_COLORS, LS_COLORS:ow, TEMPDIR, THIRDPARTYDIR, Install, JULIA_VERSION, JULIA_DOWNLOAD_FILE, COPY, WORKDIR, CMAKE_PREFIX_PATH, Packages, WORKSPACEDIR, JuliaProjectManifest...
1-apps, Change, dev.to, using-sudo-without-password-prompt-as-non-root-docker-user-52bg, USERNAME, USERID, GID, GROUPNAME, ALL, NOPASSWD:ALL, USER, LS_COLORS, LS_COLORS:ow, TEMPDIR, THIRDPARTYDIR, Install, JULIA_VERSION, JULIA_DOWNLOAD_FILE, COPY, WORKDIR, CMAKE_PREFIX_PATH, Packages, WORKSPACEDIR, JuliaProjectManifest...
[ -0.001861572265625, -0.000835418701171875, 0.008056640625, 0.021728515625, 0.0196533203125, 0.00830078125, 0.01031494140625, -0.0135498046875, 0.0255126953125, 0.058837890625, -0.004638671875, 0.0125732421875, -0.004913330078125, 0.042236328125, -0.004119873046875, 0.01129150390625, ...
[ 4317, 9007, 7, 87377, 33245, 5, 188, 17368, 11547, 76228, 6056, 13409, 47416, 2676, 18, 162, 6431, 148920, 246, 11050, 65918, 120789, 11821, 345, 50184, 182512, 78441, 150331, 527, 7146, 177314, 58837, 9520, 98185, 294, 87390, 66437, 19759, ...
[ 0.08447265625, 0.1834716796875, 0.107177734375, 0.207763671875, 0.18798828125, 0.032501220703125, 0.166259765625, 0.1309814453125, 0.262451171875, 0.0582275390625, 0.11669921875, 0.1153564453125, 0.1649169921875, 0.15576171875, 0.009033203125, 0.062255859375, 0.09832763671875, 0.18...
embed
42494201_c0
42494201
julia
0
Title: Diagonalizing sparse unitary matrix Problem title: Diagonalizing sparse unitary matrix Tags: eigenvalue, julia, sparse-matrix Problem: Diagonalizing sparse unitary matrix I have to gather the eigenvalues of a sparse unitary matrix. Basically there is just an element different from zero in each row and column (it...
Diagonalizing sparse unitary matrix Diagonalizing sparse unitary matrix eigenvalue julia sparse-matrix Diagonalizing Diagonalizing sparse unitary matrix I have to gather the eigenvalues of a sparse unitary matrix. Basically there is just an element different from zero in each row and column (it's the transfer matrix of...
[ -0.004119873046875, 0.039306640625, -0.007720947265625, 0.000820159912109375, -0.0081787109375, -0.0264892578125, 0.002685546875, 0.01153564453125, 0.01202392578125, -0.0076904296875, -0.007080078125, -0.000537872314453125, 0.00396728515625, 0.002685546875, -0.0015411376953125, 0.00349...
[ 4512, 6126, 289, 84382, 27148, 184, 25072, 6635, 50944, 8518, 27494, 14801, 11, 192, 87427, 425, 765, 914, 9319, 1660, 12830, 12921, 1295, 45234, 12638, 15555, 3365, 316, 12302, 7880, 3677, 66, 9433, 3642, 172337, 2965, 44126, 14947, 32354,...
[ 0.0269317626953125, 0.043426513671875, 0.04376220703125, 0.06719970703125, 0.2003173828125, 0.167724609375, 0.1282958984375, 0.06427001953125, 0.1552734375, 0.1826171875, 0.1954345703125, 0.16748046875, 0.1253662109375, 0.0625, 0.113525390625, 0.09796142578125, 0.0275726318359375, ...
embed
52122233_c1
52122233
julia
1
none:0 ┌ Warning: Deprecated syntax `implicit assignment to global variable `m``. │ Use `global m` instead. └ @ none:0 ┌ Warning: Deprecated syntax `implicit assignment to global variable `n``. │ Use `global n` instead. └ @ none:0 The code works with julia 0.7.0, but why doesn't it work with version 1.0.0 ? Code signa...
none:0 ┌ Warning: Deprecated syntax `implicit assignment to global variable `m``. │ Use `global m` instead. └ @ none:0 ┌ Warning: Deprecated syntax `implicit assignment to global variable `n``. │ Use `global n` instead. └ @ none:0 The code works with julia 0.7.0, but why doesn't it work with version 1.0.0 ? Code signa...
[ 0.004364013671875, 0.0146484375, -0.000621795654296875, 0.01953125, 0.01263427734375, 0.00634765625, 0.01239013671875, -0.002716064453125, 0.005096435546875, -0.032958984375, 0.0123291015625, -0.0169677734375, 0.00244140625, -0.030029296875, 0.003936767578125, -0.00616455078125, -0.0...
[ 351, 13, 53861, 245155, 5550, 592, 262, 4692, 4460, 297, 6002, 86531, 64357, 60923, 95486, 674, 47, 7964, 77336, 39, 59284, 36836, 156566, 347, 1135, 64457, 1374, 19, 653, 18151, 43240, 678, 14801, 11, 757, 129884, 1284, 15400, 22027, 18,...
[ 0.126708984375, 0.0821533203125, 0.19921875, 0.078125, 0.0994873046875, 0.071533203125, 0.08544921875, 0.1494140625, 0.1231689453125, 0.0838623046875, 0.1287841796875, 0.205810546875, 0.04718017578125, 0.19091796875, 0.1959228515625, 0.00616455078125, 0.02362060546875, 0.1123046875...
embed
35654477_c0
35654477
julia
0
Title: Substitute substrings as a whole Problem title: Substitute substrings as a whole Tags: replace, julia, string-matching Problem: Substitute substrings as a whole I have a string, like "31.5*q*L^2+831.5*M". I want to have the string transformed into "\num{31.5} q L^2+\num{831.5}*M". In Julia, I already tried: str=...
Substitute substrings as a whole Substitute substrings as a whole replace julia string-matching Substitute temp1 str1 Substitute substrings as a whole I have a string, like "31.5*q*L^2+831.5*M". I want to have the string transformed into "\num{31.5} q L^2+\num{831.5}*M". In Julia, I already tried: Then I got unexpected...
[ -0.02490234375, -0.01116943359375, -0.0166015625, 0.007415771484375, 0.00153350830078125, 0.0091552734375, 0.0017242431640625, -0.003265380859375, 0.031005859375, 0.015869140625, -0.0118408203125, 0.028076171875, -0.0157470703125, -0.024169921875, 0.0113525390625, -0.00567626953125, ...
[ 8273, 13480, 67, 1614, 91693, 7, 237, 10, 28271, 91995, 14801, 11, 79315, 98753, 20805, 418, 7704, 765, 1884, 363, 42876, 1639, 864, 866, 8353, 304, 1328, 17168, 594, 3444, 27198, 297, 3934, 2606, 8096, 339, 360, 60592, 21771, 37842, 24...
[ 0.1380615234375, 0.2044677734375, 0.1082763671875, 0.2066650390625, 0.25146484375, 0.0634765625, 0.1334228515625, 0.06341552734375, 0.200927734375, 0.1575927734375, 0.2076416015625, 0.150390625, 0.2359619140625, 0.1739501953125, 0.18798828125, 0.06341552734375, 0.1129150390625, 0.0...
embed
73029705_c0
73029705
julia
0
Title: How to highlight the area between four lines in julia package Plots.jl? Problem title: How to highlight the area between four lines in julia package Plots.jl? Tags: julia-plots, julia Problem: How to highlight the area between four lines in julia package Plots.jl? I want to visualize a simple optimization proble...
How to highlight the area between four lines in julia package Plots.jl? How to highlight the area between four lines in julia package Plots.jl? julia-plots julia How Plots.jl s.t How to highlight the area between four lines in julia package Plots.jl? I want to visualize a simple optimization problem. The problem is: Ho...
[ -0.0130615234375, 0.0125732421875, -0.005035400390625, 0.0126953125, -0.00154876708984375, 0.0030975341796875, 0.0150146484375, 0.007354736328125, 0.00927734375, 0.045654296875, -0.013671875, 0.0128173828125, 0.00885009765625, 0.00107574462890625, 0.021728515625, 0.00640869140625, 0....
[ 11249, 47, 127308, 16128, 17721, 22759, 124519, 14801, 11, 98169, 168763, 7, 51349, 23, 105710, 70, 3444, 21176, 8781, 87235, 2967, 7722, 3820, 55356, 10776, 20, 363, 425, 997, 138, 53, 4426, 190, 116, 483, 1022, 757, 113 ]
[ 0.080810546875, 0.05242919921875, 0.252197265625, 0.173583984375, 0.2237548828125, 0.2208251953125, 0.1923828125, 0.18994140625, 0.17138671875, 0.177490234375, 0.2191162109375, 0.1011962890625, 0.1817626953125, 0.034149169921875, 0.1556396484375, 0.0163116455078125, 0.040435791015625...
embed
65810854_c0
65810854
julia
0
Title: Is there an equivalent to Julia's eval(parse(String)) in python? Problem title: Is there an equivalent to Julia's eval(parse(String)) in python? Tags: metaprogramming, python, julia Problem: Is there an equivalent to Julia's eval(parse(String)) in python? Disclaimer: New to stack overflow. In the Julia...
Is there an equivalent to Julia's eval(parse(String)) in python? Is there an equivalent to Julia's eval(parse(String)) in python? metaprogramming python julia Julia Is there an equivalent to Julia's eval(parse(String)) in python? Disclaimer: New to stack overflow. In the Julia language the eval(parse()) abili...
[ 0.003936767578125, 0.0264892578125, -0.004608154296875, 0.0341796875, 0.005096435546875, 0.003265380859375, 0.023193359375, -0.0201416015625, -0.005889892578125, -0.0208740234375, -0.0128173828125, -0.01519775390625, 0.004364013671875, -0.01019287109375, -0.00055694580078125, -0.010437...
[ 2685, 183234, 60592, 3768, 28, 1405, 2500, 184, 71713, 214, 23, 17198, 50828, 142, 47, 23550, 28966, 14801, 11, 25, 7, 132, 184980, 177261, 645, 118664, 46876, 81273, 32497, 4552, 80234, 89536, 425, 2203, 190, 149016, 133238, 110, 15400, ...
[ 0.033203125, 0.2010498046875, 0.30029296875, 0.099365234375, 0.141357421875, 0.286865234375, 0.1773681640625, 0.1827392578125, 0.172607421875, 0.10394287109375, 0.1107177734375, 0.135498046875, 0.179931640625, 0.058685302734375, 0.0517578125, 0.0869140625, 0.0849609375, 0.170166015...
embed
61824682_c0
61824682
julia
0
Title: Why does "Int" exist, but not "Float"? Problem title: Why does "Int" exist, but not "Float"? Tags: julia Problem: Why does "Int" exist, but not "Float"? I saw that when using parse for example, you can do this: parse(Int, "123") ( Int exists), but I can't do parse(Float, "...
Why does "Int" exist, but not "Float"? Why does "Int" exist, but not "Float"? julia Why Float Int64 Why does "Int" exist, but not "Float"? I saw that when using parse for example, you can do this: parse(Int, "123") ( Int exists), but I can't do parse(Float, "12.3") ( Float doesn'...
[ 0.0206298828125, -0.0037384033203125, -0.0002422332763671875, 0.0206298828125, -0.00069427490234375, 0.02392578125, 0.0076904296875, -0.01434326171875, 0.00701904296875, 0.035888671875, -0.001739501953125, -0.053955078125, -0.00311279296875, 0.0019378662109375, 0.00836181640625, -0.000...
[ 44084, 14602, 41502, 4153, 18, 1230, 32316, 1284, 959, 919, 365, 257, 14801, 38699, 360, 13307, 24124, 17368, 366, 184, 27781, 831, 54, 903, 48636, 1530, 5, 363, 22027, 5299, 60212, 17721, 136, 3789, 14012, 7103, 109954, 13267, 3714, 3229...
[ 0.1600341796875, 0.0714111328125, 0.045806884765625, 0.2232666015625, 0.249755859375, 0.029998779296875, 0.2320556640625, 0.1156005859375, 0.133544921875, 0.098876953125, 0.221435546875, 0.222412109375, 0.08795166015625, 0.2479248046875, 0.2076416015625, 0.2744140625, 0.0084533691406...
embed
73778785_c0
73778785
julia
0
Title: Decoupled ODEs in Julia Problem title: Decoupled ODEs in Julia Tags: differential-equations, differentialequations.jl, julia, ode Problem: Decoupled ODEs in Julia The Lorenz attractor is the archetypal example in Julia documentation for solving systems of ODEs using DifferentialEquations.jl . Suppose I would lik...
Decoupled ODEs in Julia Decoupled ODEs in Julia differential-equations differentialequations.jl julia ode Decoupled ODEs Julia DifferentialEquations.jl Decoupled ODEs in Julia The Lorenz attractor is the archetypal example in Julia documentation for solving systems of ODEs using DifferentialEquations.jl . Suppose I wou...
[ 0.0196533203125, 0.0011749267578125, -0.0322265625, 0.00860595703125, 0.0145263671875, 0.0050048828125, 0.0225830078125, -0.0238037109375, 0.00738525390625, -0.01123046875, -0.007720947265625, 0.0027313232421875, -0.004150390625, 0.0311279296875, 0.0030975341796875, -0.0002593994140625...
[ 262, 587, 2037, 6259, 34687, 16474, 60592, 23, 99710, 13722, 5256, 51349, 14801, 11, 67861, 242520, 15403, 116166, 169, 110281, 748, 1430, 939, 5007, 27781, 209806, 3115, 76519, 17368, 647, 5, 121691, 8364, 2806, 1884, 86869, 5426, 199823, ...
[ 0.1375732421875, 0.08831787109375, 0.130615234375, 0.055877685546875, 0.1619873046875, 0.1768798828125, 0.294921875, 0.0288543701171875, 0.11767578125, 0.162841796875, 0.08642578125, 0.1318359375, 0.134521484375, 0.0655517578125, 0.1534423828125, 0.1300048828125, 0.082275390625, 0....
embed
47294547_c0
47294547
julia
0
Title: Julia Plotly Plots Problem title: Julia Plotly Plots Tags: julia, plotly Problem: Julia Plotly Plots I'm trying to do some really basic scatterplots. I'm following instructions from here: https://plot.ly/julia/subplots/ using Plotly Code signals: MethodError, Plotly, Julia, Plots, trace1, trace2, yaxis2, xaxis2,...
Julia Plotly Plots Julia Plotly Plots julia plotly MethodError Plotly Julia Plots trace1 trace2 yaxis2 xaxis2 Plotly.plot plot_url ERROR PlotlyJS.Plot Array Pair Any Closest AbstractArray Union AbstractString Date Number Symbol Users v0.6 PlotlyJS convenience_api.jl:56 PlotlyJS.Layout convenience_api.jl:68 Stacktrace V...
[ 0.034912109375, 0.01251220703125, -0.00113677978515625, 0.004364013671875, -0.0169677734375, 0.0380859375, 0.0279541015625, -0.016357421875, 0.01422119140625, 0.024169921875, -0.0064697265625, 0.0034332275390625, -0.01165771484375, -0.015380859375, 0.00125885009765625, 0.00717163085937...
[ 60592, 168763, 538, 7, 14801, 11, 23577, 74644, 18468, 31611, 144851, 418, 304, 151, 33102, 2459, 105710, 25002, 151206, 24638, 64977, 12631, 69253, 1342, 28541, 153335, 271, 233973, 7614, 7092, 32528, 71713, 25512, 103332, 131899, 53400, 81, ...
[ 0.27490234375, 0.2435302734375, 0.197265625, 0.0880126953125, 0.1551513671875, 0.0703125, 0.1727294921875, 0.157958984375, 0.1580810546875, 0.0894775390625, 0.138671875, 0.0285797119140625, 0.080810546875, 0.0770263671875, 0.1099853515625, 0.035797119140625, 0.1885986328125, 0.1256...
embed
68228564_c1
68228564
julia
1
= LinRange(j*4, (j+1)*4, N) + randn(N)*0.2 y[ix] = j end Code signals: LoadError, BoundsError, UnitRange, Plots, Error, Vector, Julia, np.zeros, uint8, np.linspace, np.random.randn, np.c_, np.sin, np.cos, plt.scatter, plt.cm.Spectral, plt.show, Number, Dimensionality, See, docs.julialang.org, Base.range, Base.LinRange...
= LinRange(j*4, (j+1)*4, N) + randn(N)*0.2 y[ix] = j end Code signals: LoadError, BoundsError, UnitRange, Plots, Error, Vector, Julia, np.zeros, uint8, np.linspace, np.random.randn, np.c_, np.sin, np.cos, plt.scatter, plt.cm.Spectral, plt.show, Number, Dimensionality, See, docs.julialang.org, Base.range, Base.LinRange...
[ -0.01318359375, 0.00714111328125, -0.0029754638671875, -0.0079345703125, 0.0017547607421875, 0.0274658203125, 0.01129150390625, 0.004119873046875, -0.0013580322265625, -0.00799560546875, -0.0093994140625, 0.0205078125, -0.0034637451171875, -0.012451171875, 0.024169921875, -0.0046081542...
[ 2203, 25497, 1052, 51459, 170, 1639, 617, 21748, 541, 997, 27388, 19, 839, 133684, 113, 4084, 268, 1647, 3564, 28864, 26073, 7, 12, 2091, 712, 18468, 31611, 7030, 46640, 168763, 212059, 2609, 18770, 60592, 25037, 80510, 4288, 1019, 4, 239...
[ 0.1024169921875, 0.229248046875, 0.1929931640625, 0.221435546875, 0.1883544921875, 0.06561279296875, 0.1500244140625, 0.1605224609375, 0.132080078125, 0.10528564453125, 0.2047119140625, 0.1273193359375, 0.118408203125, 0.1734619140625, 0.09246826171875, 0.135009765625, 0.032348632812...
embed
66471798_c0
66471798
julia
0
Title: How to create a function of n variables (python) Problem title: How to create a function of n variables (python) Tags: python, julia Problem: How to create a function of n variables (python) I would like to create a function of n variables in python, such as n=3 def func(n1,n2,n3): return sum(n1+n2+n3) func(1,2,...
How to create a function of n variables (python) How to create a function of n variables (python) python julia How How to create a function of n variables (python) I would like to create a function of n variables in python, such as or if n=4, There is a perfect example of someone doing this in julia: How to create a fu...
[ 0.008544921875, 0.01239013671875, -0.01239013671875, 0.00183868408203125, 0.01055908203125, 0.006195068359375, 0.020751953125, -0.0010986328125, -0.01177978515625, -0.032470703125, -0.004486083984375, -0.0380859375, -0.000865936279296875, -0.008544921875, -0.0087890625, 0.0016479492187...
[ 11249, 47, 28282, 10, 32354, 111, 653, 77336, 7, 6493, 50828, 17198, 14801, 11, 2806, 1884, 23, 6044, 707, 2174, 107947, 15787, 27781, 22008, 20594, 903, 105214, 399, 17368, 29806, 33306, 959, 3714, 3642, 3900, 19309, 88, 95680, 90, 10644...
[ 0.07696533203125, 0.07763671875, 0.1881103515625, 0.06103515625, 0.2388916015625, 0.13623046875, 0.2216796875, 0.289794921875, 0.09423828125, 0.133056640625, 0.1513671875, 0.121337890625, 0.2147216796875, 0.176025390625, 0.060028076171875, 0.081787109375, 0.06494140625, 0.030456542...
embed
55524985_c0
55524985
julia
0
Title: Get a number from an array of digits Problem title: Get a number from an array of digits Tags: radix, julia, digits Problem: Get a number from an array of digits To split a number into digits in a given base, Julia has the digits() function: julia> digits(36, base = 4) 3-element Array{Int64,1}: 0 1 2 What's the ...
Get a number from an array of digits Get a number from an array of digits radix julia digits an Get Array Int64 Get a number from an array of digits To split a number into digits in a given base, Julia has the digits() function: What's the reverse operation? If you have an array of digits and the base, is there a built...
[ -0.01190185546875, 0.00098419189453125, -0.00177001953125, 0.0146484375, -0.0281982421875, 0.031494140625, 0.004638671875, 0.0167236328125, 0.004730224609375, -0.0174560546875, -0.0252685546875, -0.01409912109375, -0.041259765625, 0.013427734375, -0.01123046875, -0.01324462890625, 0....
[ 20779, 14012, 1295, 10298, 53, 111, 153939, 7, 10, 4567, 425, 14801, 11, 142, 69253, 360, 18, 13307, 65450, 3934, 23, 34475, 3647, 60592, 1556, 132, 32354, 4865, 70, 39531, 184, 41018, 765, 136, 88303, 73, 3917, 96760, 47, 5809, 28412, ...
[ 0.1103515625, 0.1920166015625, 0.1429443359375, 0.1878662109375, 0.1326904296875, 0.1134033203125, 0.2127685546875, 0.1314697265625, 0.0287322998046875, 0.1461181640625, 0.0966796875, 0.2041015625, 0.1497802734375, 0.050079345703125, 0.1431884765625, 0.025177001953125, 0.027603149414...
embed
55092966_c0
55092966
julia
0
Title: Julia Clear variables/workspace with the most recent update of Atom Problem title: Julia Clear variables/workspace with the most recent update of Atom Tags: variables, julia Problem: Julia Clear variables/workspace with the most recent update of Atom I knew there's several post of how to clear workspace and vari...
Julia Clear variables/workspace with the most recent update of Atom Julia Clear variables/workspace with the most recent update of Atom variables julia UndefVarError Julia Clear Atom Control ERROR Stacktrace none:0 Julia Clear variables/workspace with the most recent update of Atom I knew there's several post of how to...
[ 0.01385498046875, 0.0185546875, -0.00439453125, 0.01953125, 0.023193359375, 0.01043701171875, 0.0283203125, -0.01165771484375, -0.005126953125, 0.026123046875, -0.025146484375, -0.0111083984375, 0.00897216796875, -0.005615234375, 0.02734375, -0.0107421875, -0.0007476806640625, -0.0...
[ 60592, 86120, 77336, 7, 64, 18244, 65421, 678, 2684, 17309, 28350, 69728, 14801, 11, 5533, 4240, 81827, 18468, 27131, 151206, 6512, 32111, 99407, 351, 53861, 55950, 1305, 3642, 47, 34735, 4488, 136, 96362, 11389, 111, 33306, 17368, 81, 1021...
[ 0.332763671875, 0.20751953125, 0.281982421875, 0.00323486328125, 0.00396728515625, 0.136962890625, 0.240234375, 0.07257080078125, 0.048980712890625, 0.10009765625, 0.1456298828125, 0.1875, 0.2117919921875, 0.2066650390625, 0.075927734375, 0.1185302734375, 0.1910400390625, 0.0773315...
embed
42232411_c0
42232411
julia
0
Title: Find indices of non-zero elements from [1,2,0,0,4,0] in julia and create an Arrray with them Problem title: Find indices of non-zero elements from [1,2,0,0,4,0] in julia and create an Arrray with them Tags: julia Problem: Find indices of non-zero elements from [1,2,0,0,4,0] in julia and create an Arrray with the...
Find indices of non-zero elements from [1,2,0,0,4,0] in julia and create an Arrray with them Find indices of non-zero elements from [1,2,0,0,4,0] in julia and create an Arrray with them julia Find Arrray Array Int64 Find indices of non-zero elements from [1,2,0,0,4,0] in julia and create an Arrray with them I know ther...
[ -0.01165771484375, 0.0169677734375, 0.007415771484375, 0.015869140625, -0.00823974609375, 0.0035400390625, 0.01116943359375, 0.01300048828125, 0.0002899169921875, 0.0240478515625, -0.0028533935546875, -0.018310546875, -0.0172119140625, 0.00799560546875, 0.0128173828125, -0.009521484375...
[ 26040, 136044, 7, 111, 351, 80510, 80854, 1295, 133063, 63527, 617, 2389, 23, 14801, 11, 28282, 1172, 42, 7092, 678, 9, 69253, 53, 360, 18, 13307, 142, 2856, 3714, 2685, 32354, 14602, 903, 27781, 31577, 54, 10002, 3917, 49903, 444, 1799...
[ 0.1478271484375, 0.262939453125, 0.1148681640625, 0.039337158203125, 0.1998291015625, 0.2083740234375, 0.2060546875, 0.1116943359375, 0.187744140625, 0.1805419921875, 0.147705078125, 0.1688232421875, 0.079345703125, 0.251220703125, 0.228759765625, 0.1181640625, 0.1395263671875, 0.0...
embed
61860918_c1
61860918
julia
1
pos.csv',delimiter=',') def collision_count(pos, d): pdist = scipy.spatial.distance.pdist(pos) return np.count_nonzero(pdist < d) %timeit collision_count(pos, 2) 5.41 ms ± 63 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) Any way to make it faster? And what's up with all the allocations? Code signals: Benchma...
pos.csv',delimiter=',') def collision_count(pos, d): pdist = scipy.spatial.distance.pdist(pos) return np.count_nonzero(pdist < d) %timeit collision_count(pos, 2) 5.41 ms ± 63 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) Any way to make it faster? And what's up with all the allocations? Code signals: Benchma...
[ -0.0128173828125, -0.025390625, 0.0115966796875, 0.0213623046875, 0.031982421875, 0.00250244140625, -0.007293701171875, -0.0004482269287109375, -0.017578125, -0.04541015625, -0.0125732421875, -0.003204345703125, 0.001251220703125, -0.00421142578125, -0.01361083984375, -0.00244140625, ...
[ 3864, 4439, 334, 112, 93343, 8, 61770, 6889, 71013, 7522, 104, 915, 46295, 13047, 6493, 10974, 56883, 329, 254, 30646, 25037, 6431, 80510, 6032, 217, 4958, 1892, 8894, 68163, 12069, 15247, 117, 40956, 6138, 33245, 361, 127877, 805, 12638, ...
[ 0.2265625, 0.1002197265625, 0.230224609375, 0.022918701171875, 0.1436767578125, 0.008819580078125, 0.2398681640625, 0.189697265625, 0.21923828125, 0.2132568359375, 0.120361328125, 0.07000732421875, 0.21875, 0.111572265625, 0.1683349609375, 0.101806640625, 0.1512451171875, 0.0023193...
embed
47118479_c0
47118479
julia
0
Title: How to check if can write to a folder Problem title: How to check if can write to a folder Tags: julia, file-permissions Problem: How to check if can write to a folder In julia, how do I check if the current is allowed to write to a folder? I could do the python way, and just attempt to do it, and then fail fail...
How to check if can write to a folder How to check if can write to a folder julia file-permissions How How to check if can write to a folder In julia, how do I check if the current is allowed to write to a folder? I could do the python way, and just attempt to do it, and then fail fail and recover. (In my case I can de...
[ -0.00396728515625, 0.009765625, -0.0166015625, 0.0081787109375, -0.0118408203125, 0.0050048828125, 0.000682830810546875, -0.025146484375, -0.00836181640625, 0.021484375, -0.01116943359375, 0.00927734375, 0.00732421875, 0.0174560546875, -0.01708984375, -0.00830078125, 0.00350952148437...
[ 11249, 47, 12765, 2174, 831, 33022, 78303, 10, 14801, 11, 11435, 1264, 54916, 3642, 54, 43581, 83, 107003, 17198, 50828, 3917, 81887, 35782, 192026, 58621, 5303, 31913, 6817, 12620, 41206, 4488, 99764, 18022, 47041, 765, 168081, 70035 ]
[ 0.043060302734375, 0.1883544921875, 0.19140625, 0.1527099609375, 0.15478515625, 0.22119140625, 0.208251953125, 0.0269622802734375, 0.2012939453125, 0.1732177734375, 0.0648193359375, 0.0914306640625, 0.0870361328125, 0.0467529296875, 0.02490234375, 0.1771240234375, 0.10357666015625, ...
embed
66991011_c0
66991011
julia
0
Title: &amp;-ing two BitArrays in Julia? Problem title: &amp;-ing two BitArrays in Julia? Tags: julia Problem: &-ing two BitArrays in Julia? Using Julia 1.5.3 and Julia 1.6.0 neither versions seems to support & for BitArrays. I have two BitArrays like for instance x = BitArray([1,0,1]) and y=BitArray([0,0,1]) and wish ...
&amp;-ing two BitArrays in Julia? &amp;-ing two BitArrays in Julia? julia BitArrays Julia BitArray &-ing two BitArrays in Julia? Using Julia 1.5.3 and Julia 1.6.0 neither versions seems to support & for BitArrays. I have two BitArrays like for instance and and wish to intersect them to find: but the operator & does not...
[ 0.0159912109375, 0.0233154296875, -0.0004177093505859375, 0.018310546875, 0.01470947265625, 0.0081787109375, -0.0025787353515625, 0.007232666015625, -0.00162506103515625, -0.00482177734375, -0.005645751953125, 0.0198974609375, 0.008056640625, -0.01708984375, 0.01513671875, -0.015258789...
[ 619, 25133, 74, 9, 214, 6626, 27774, 7614, 7092, 7, 23, 60592, 32, 14801, 11, 345, 22410, 363, 136, 51748, 5, 2389, 2725, 9319, 11389, 37202, 47, 8060, 100, 110527, 32599, 1940, 2856, 7413, 39933, 959, 17368, 1639, 4552, 1733, 18588, ...
[ 0.17431640625, 0.0760498046875, 0.05096435546875, 0.07891845703125, 0.0723876953125, 0.2100830078125, 0.174072265625, 0.188232421875, 0.27392578125, 0.1619873046875, 0.1182861328125, 0.307861328125, 0.03399658203125, 0.187255859375, 0.136474609375, 0.05804443359375, 0.1689453125, 0...
embed
21743844_c0
21743844
julia
0
Title: Julia default numeric types Problem title: Julia default numeric types Tags: julia Problem: Julia default numeric types I opened the Julia REPL for the first time today. I have a 32-bit installation of Julia and 64-bit installation of Windows. The default integer type is Int32 and the default floating point type...
Julia default numeric types Julia default numeric types julia Julia Int64 Float32 Int32 Float64 Julia default numeric types I opened the Julia REPL for the first time today. I have a 32-bit installation of Julia and 64-bit installation of Windows. The default integer type is Int32 and the default floating point type is...
[ 0.014892578125, 0.000919342041015625, 0.004302978515625, 0.017578125, 0.004974365234375, 0.013671875, -0.01312255859375, -0.0272216796875, -0.0089111328125, 0.038818359375, -0.0228271484375, -0.04296875, -0.016357421875, 0.01116943359375, 0.0020904541015625, 0.00439453125, -0.0019378...
[ 60592, 114977, 54744, 238, 52895, 14801, 11, 360, 18, 13307, 38699, 257, 6460, 142096, 70, 9069, 21130, 100, 5117, 1733, 18925, 765, 2789, 3137, 59720, 111, 136, 7911, 3773, 892, 1505, 10644, 83, 21917, 26518, 6275, 5, 44084, 26255, 9, ...
[ 0.31103515625, 0.261962890625, 0.1768798828125, 0.020843505859375, 0.217529296875, 0.2020263671875, 0.11328125, 0.09722900390625, 0.1142578125, 0.232421875, 0.182373046875, 0.0986328125, 0.241943359375, 0.06597900390625, 0.041595458984375, 0.09844970703125, 0.1607666015625, 0.08129...
embed
39562515_c0
39562515
julia
0
Title: Julia: How to save a figure without plotting/displaying it in PyPlot? Problem title: Julia: How to save a figure without plotting/displaying it in PyPlot? Tags: julia, plot, figure, matplotlib Problem: Julia: How to save a figure without plotting/displaying it in PyPlot? I am using the PyPlot package in Julia to...
Julia: How to save a figure without plotting/displaying it in PyPlot? Julia: How to save a figure without plotting/displaying it in PyPlot? julia plot figure matplotlib PyPlot Julia How a.png Julia: How to save a figure without plotting/displaying it in PyPlot? I am using the PyPlot package in Julia to generate and sav...
[ 0.0294189453125, 0.043212890625, -0.001922607421875, 0.003997802734375, -0.007476806640625, -0.004608154296875, 0.01373291015625, -0.039794921875, -0.004302978515625, 0.019287109375, -0.0167236328125, 0.0184326171875, -0.0263671875, 0.02294921875, 0.0086669921875, -0.032958984375, -0...
[ 60592, 12, 11249, 30098, 26366, 15490, 23577, 20706, 27512, 683, 12631, 47, 10, 23, 14801, 11, 105710, 5612, 128468, 1916, 64, 3827, 442, 17368, 98169, 139392, 40368, 43581, 51515, 44116, 83671, 3917, 19441, 5117 ]
[ 0.261962890625, 0.00439453125, 0.05059814453125, 0.1754150390625, 0.2310791015625, 0.143310546875, 0.1492919921875, 0.093017578125, 0.168212890625, 0.098388671875, 0.194580078125, 0.01580810546875, 0.09210205078125, 0.04071044921875, 0.1622314453125, 0.105712890625, 0.07769775390625,...
embed
34162040_c0
34162040
julia
0
Title: Parallel loop counter in Julia Problem title: Parallel loop counter in Julia Tags: julia, parallel.for Problem: Parallel loop counter in Julia In Julia, I would like to print out inside a parallel for loop the number of iterations the loop has completed. Is this a safe way to do so, and/or is there a better way?...
Parallel loop counter in Julia Parallel loop counter in Julia julia parallel.for Parallel Julia SharedArray parallel.for Parallel loop counter in Julia In Julia, I would like to print out inside a parallel for loop the number of iterations the loop has completed. Is this a safe way to do so, and/or is there a better wa...
[ 0.0130615234375, 0.0262451171875, -0.0155029296875, 0.0157470703125, 0.00482177734375, 0.00567626953125, 0.0311279296875, -0.0059814453125, 0.005340576171875, -0.031005859375, -0.0101318359375, 0.0167236328125, 0.017822265625, 0.0245361328125, 0.005035400390625, -0.00897216796875, 0....
[ 211485, 40956, 105416, 23, 60592, 14801, 11, 95103, 2472, 29790, 7614, 7092, 360, 2806, 1884, 47, 28412, 1810, 46132, 100, 14012, 17, 720, 21094, 1556, 140528, 46002, 3917, 11522 ]
[ 0.2100830078125, 0.1920166015625, 0.20947265625, 0.049285888671875, 0.280517578125, 0.155517578125, 0.113525390625, 0.23095703125, 0.0743408203125, 0.069091796875, 0.0047607421875, 0.087890625, 0.0204925537109375, 0.007659912109375, 0.048553466796875, 0.020538330078125, 0.15234375, ...
embed
54069249_c0
54069249
julia
0
Title: How can I use a set with diffrent members as indexs? Problem title: How can I use a set with diffrent members as indexs? Tags: julia-jump, julia Problem: How can I use a set with diffrent members as indexs? Pleas help me. I want to use a set by not order elements as indexes of some variables. for example I have ...
How can I use a set with diffrent members as indexs? How can I use a set with diffrent members as indexs? julia-jump julia How ILRP How can I use a set with diffrent members as indexs? Pleas help me. I want to use a set by not order elements as indexes of some variables. for example I have s=[2,3] for index I ,j I want...
[ -0.004302978515625, 0.0031890869140625, -0.0023956298828125, 0.02587890625, -0.020263671875, -0.004150390625, -0.0023193359375, 0.00982666015625, 0.02783203125, -0.01513671875, 0.012939453125, -0.00040435791015625, 0.001617431640625, -0.0081787109375, 0.004669189453125, 0.0006866455078...
[ 11249, 831, 87, 4527, 10, 5423, 678, 71337, 15724, 43032, 237, 63262, 7, 14801, 11, 461, 2676, 30219, 38796, 19434, 162, 4358, 3444, 390, 959, 12989, 80854, 77336, 27781, 91, 1369, 155761, 170, 90, 903, 158, 2816, 4288, 22362 ]
[ 0.1121826171875, 0.10101318359375, 0.045867919921875, 0.1571044921875, 0.0312347412109375, 0.243408203125, 0.1287841796875, 0.175048828125, 0.2452392578125, 0.2301025390625, 0.109375, 0.23583984375, 0.1407470703125, 0.0914306640625, 0.06207275390625, 0.0748291015625, 0.0865478515625,...
embed
50726761_c0
50726761
julia
0
Title: Saving a DataFrame with different length array entries Problem title: Saving a DataFrame with different length array entries Tags: julia, dataframe Problem: Saving a DataFrame with different length array entries julia> x = [rand(k) for k in 1:10]; julia> d = DataFrame(x=Vector{Float64}[]); julia> for k in 1:10 p...
Saving a DataFrame with different length array entries Saving a DataFrame with different length array entries julia dataframe Saving DataFrame Vector Float64 DataFrames.DataFrame Row test.jld ERROR DimensionMismatch Saving a DataFrame with different length array entries How do I save this DataFrame (preferably using JL...
[ 0.038330078125, 0.03564453125, -0.002899169921875, 0.01336669921875, 0.00457763671875, -0.0196533203125, 0.00579833984375, 0.0022735595703125, -0.001739501953125, 0.007049560546875, -0.0135498046875, 0.00872802734375, -0.00750732421875, -0.0037078857421875, 0.00787353515625, -0.0115966...
[ 947, 6496, 11809, 108386, 282, 678, 12921, 140909, 10298, 53, 112820, 14801, 11, 2053, 160328, 2609, 18770, 38699, 13307, 3716, 137989, 96190, 3034, 170, 7344, 151206, 24638, 161202, 130777, 98753, 10, 30098, 903, 2875, 17368, 821, 30693 ]
[ 0.140625, 0.095703125, 0.120361328125, 0.251708984375, 0.157958984375, 0.125732421875, 0.2132568359375, 0.1842041015625, 0.1669921875, 0.125, 0.1669921875, 0.20751953125, 0.1563720703125, 0.081298828125, 0.2177734375, 0.112548828125, 0.0877685546875, 0.120849609375, 0.15625, 0....
embed
77865428_c0
77865428
julia
0
Title: Is it possible to add a subtitle by Plots.jl? Problem title: Is it possible to add a subtitle by Plots.jl? Tags: julia, plots.jl Problem: Is it possible to add a subtitle by Plots.jl? Consider the following plot: I want to put the "Analysed data range: ... 2020-01-01" as a subtitle with a different attribute, i....
Is it possible to add a subtitle by Plots.jl? Is it possible to add a subtitle by Plots.jl? julia plots.jl Plots.jl Cepstral Coefficients Is it possible to add a subtitle by Plots.jl? Consider the following plot: I want to put the "Analysed data range: ... 2020-01-01" as a subtitle with a different attribute, i.e., a s...
[ 0.022705078125, 0.01446533203125, 0.020751953125, 0.010009765625, -0.000522613525390625, 0.003021240234375, 0.02490234375, -0.0228271484375, -0.0025482177734375, 0.0260009765625, -0.0208740234375, -0.00970458984375, -0.000637054443359375, 0.023681640625, 0.000946044921875, 0.0120239257...
[ 2071, 442, 7722, 15190, 10, 1614, 5440, 390, 168763, 7, 5, 51349, 47, 14801, 11, 23577, 1845, 6423, 29088, 1311, 4240, 11044, 137399, 25632, 3444, 3884, 73026, 538, 5281, 2053, 37457, 11075, 45669, 6746, 237, 678, 12921, 150380, 164917, 1...
[ 0.0587158203125, 0.041259765625, 0.1873779296875, 0.166259765625, 0.047576904296875, 0.2203369140625, 0.28564453125, 0.1063232421875, 0.250244140625, 0.1458740234375, 0.06201171875, 0.2410888671875, 0.025726318359375, 0.1328125, 0.071044921875, 0.2060546875, 0.03131103515625, 0.052...
embed
63663900_c0
63663900
julia
0
Title: Constructing sparse matrix is very slow in Julia Problem title: Constructing sparse matrix is very slow in Julia Tags: julia, processing-efficiency, performance Problem: Constructing sparse matrix is very slow in Julia I am trying to create a sparse matrix in Julia using theses variables: row, col and val. The s...
Constructing sparse matrix is very slow in Julia Constructing sparse matrix is very slow in Julia julia processing-efficiency performance Constructing Julia Constructing sparse matrix is very slow in Julia I am trying to create a sparse matrix in Julia using theses variables: row, col and val. The size of each is 73141...
[ 0.00144195556640625, 0.01708984375, -0.006561279296875, 0.00970458984375, 0.01275634765625, -0.033447265625, -0.005096435546875, -0.0106201171875, -0.0205078125, -0.0078125, 0.000514984130859375, 0.005523681640625, -0.0198974609375, 0.007293701171875, -0.00982666015625, 0.0011367797851...
[ 1657, 36716, 214, 27148, 184, 50944, 425, 83, 4552, 72803, 23, 60592, 14801, 11, 9433, 11044, 23718, 31577, 28282, 17368, 6097, 77336, 15555, 3365, 136, 3502, 13267, 12638, 14929, 2592, 1819, 11540, 1221, 77681, 10, 161689, 2839, 15748, 820...
[ 0.03387451171875, 0.1439208984375, 0.00933837890625, 0.1912841796875, 0.162841796875, 0.1842041015625, 0.138916015625, 0.018341064453125, 0.1072998046875, 0.20849609375, 0.0908203125, 0.28857421875, 0.156982421875, 0.1114501953125, 0.042877197265625, 0.034515380859375, 0.07470703125,...
embed
42056156_c0
42056156
julia
0
Title: Error message while using Pyplot Problem title: Error message while using Pyplot Tags: julia, matplotlib Problem: Error message while using Pyplot PyPlot does not function anymore. It comes up with this error message: This application failed to start because it could not find or load the Qt platform plugin "wind...
Error message while using Pyplot Error message while using Pyplot julia matplotlib Pyplot Error Error message while using Pyplot PyPlot does not function anymore. It comes up with this error message: This application failed to start because it could not find or load the Qt platform plugin "windows" in "" Reinstalling t...
[ 0.02880859375, 0.0252685546875, -0.0159912109375, 0.00433349609375, 0.00604248046875, -0.0004444122314453125, 0.0225830078125, -0.0208740234375, -0.01397705078125, -0.0029296875, -0.00023555755615234375, -0.018310546875, -0.0026397705078125, -0.005615234375, 0.014404296875, 0.003128051...
[ 212059, 26008, 12960, 17368, 27512, 105710, 14801, 11, 2589, 5612, 683, 12631, 14602, 959, 32354, 176683, 1257, 903, 18499, 3293, 38415, 165523, 47, 4034, 6637, 5809, 7413, 707, 72367, 2396, 18, 13651, 69993, 229792, 23, 853, 80383, 1543, 4...
[ 0.15673828125, 0.12255859375, 0.0599365234375, 0.1256103515625, 0.1917724609375, 0.268310546875, 0.200927734375, 0.1474609375, 0.08984375, 0.1531982421875, 0.179443359375, 0.2373046875, 0.0130615234375, 0.075439453125, 0.1531982421875, 0.1187744140625, 0.019073486328125, 0.00122070...
embed
29757047_c0
29757047
julia
0
Title: Julia: Assignment in Arrays Problem title: Julia: Assignment in Arrays Tags: multidimensional-array, variable-assignment, julia Problem: Julia: Assignment in Arrays When indexing more than one level for an array, it works fine. But when I used it to assign values, it did not. Does anyone know why A does not chan...
Julia: Assignment in Arrays Julia: Assignment in Arrays multidimensional-array variable-assignment julia Julia Assignment Arrays Out Array Float64 Int64 Julia: Assignment in Arrays When indexing more than one level for an array, it works fine. But when I used it to assign values, it did not. Does anyone know why A does...
[ 0.031494140625, 0.021728515625, 0.0001430511474609375, 0.030029296875, 0.00628662109375, 0.0000438690185546875, -0.0087890625, -0.00177001953125, 0.0101318359375, 0.04931640625, -0.004486083984375, 0.004241943359375, -0.0067138671875, 0.005096435546875, -0.005706787109375, -0.010742187...
[ 60592, 1301, 31304, 674, 23, 69253, 4778, 12, 6024, 157955, 19305, 53, 77336, 162, 14801, 11, 13538, 38699, 13307, 63262, 214, 1286, 3501, 1632, 17366, 100, 10298, 43240, 5885, 4966, 11814, 442, 95486, 142424, 6777, 959, 3714, 15400, 62, ...
[ 0.278076171875, 0.062744140625, 0.208740234375, 0.0787353515625, 0.112060546875, 0.141845703125, 0.1585693359375, 0.010528564453125, 0.032745361328125, 0.0980224609375, 0.07550048828125, 0.101318359375, 0.1715087890625, 0.0423583984375, 0.1666259765625, 0.0889892578125, 0.06701660156...
embed
56714992_c0
56714992
julia
0
Title: Julia: Multiple dispatch for mutable struct items Problem title: Julia: Multiple dispatch for mutable struct items Tags: julia Problem: Julia: Multiple dispatch for mutable struct items I am trying to split the function function my_fun(A::MyStruct) if typeof(A.X) <: Nothing println("Case 1"); else println("Case ...
Julia: Multiple dispatch for mutable struct items Julia: Multiple dispatch for mutable struct items julia Julia Multiple my_fun A::MyStruct A.X Nothing Case MyStruct t::Int64 X::Union Float64 Julia: Multiple dispatch for mutable struct items I am trying to split the function into two methods on the basis of the type of...
[ -0.003692626953125, -0.0028228759765625, 0.0029296875, -0.0103759765625, 0.010009765625, 0.012451171875, 0.032958984375, -0.01397705078125, 0.0181884765625, 0.005889892578125, 0.003997802734375, -0.00445556640625, 0.00384521484375, -0.000881195068359375, 0.01171875, -0.006195068359375,...
[ 60592, 12, 19335, 8705, 58580, 257, 206, 100, 842, 22819, 36716, 55769, 14801, 11, 759, 16498, 62, 31852, 71713, 18190, 18, 1542, 182747, 43731, 2646, 13307, 1193, 147547, 38699, 31577, 65450, 32354, 3934, 6626, 150624, 18231, 10644, 5, 70,...
[ 0.282958984375, 0.057403564453125, 0.19921875, 0.1796875, 0.1539306640625, 0.165283203125, 0.1448974609375, 0.08221435546875, 0.1455078125, 0.18115234375, 0.191162109375, 0.16162109375, 0.176513671875, 0.09625244140625, 0.1514892578125, 0.2120361328125, 0.12060546875, 0.10015869140...
embed
68931490_c0
68931490
julia
0
Title: julia 4192*4192 matrix can&#x27;t be squared,keeps looping more than 7minutes Problem title: julia 4192*4192 matrix can&#x27;t be squared,keeps looping more than 7minutes Tags: matrix-multiplication, julia Problem: julia 4192*4192 matrix can't be squared,keeps looping more than 7minutes I have this matrix which ...
julia 4192*4192 matrix can&#x27;t be squared,keeps looping more than 7minutes julia 4192*4192 matrix can&#x27;t be squared,keeps looping more than 7minutes matrix-multiplication julia julia 4192*4192 matrix can't be squared,keeps looping more than 7minutes I have this matrix which has the size of 4192*4192 ,now I want ...
[ 0.00127410888671875, 0.0078125, 0.00115966796875, 0.01251220703125, 0.02099609375, -0.038330078125, 0, 0.0042724609375, -0.00830078125, -0.03271484375, -0.0008392333984375, -0.01312255859375, -0.024658203125, -0.002044677734375, 0.00145721435546875, 0.004974365234375, 0.0131225585937...
[ 14801, 11, 6478, 12231, 1639, 8894, 50944, 425, 831, 3768, 18, 186, 108047, 71, 50453, 40956, 214, 1286, 3501, 361, 67403, 144227, 182867, 765, 903, 13267, 3444, 82212, 1129, 6493, 720, 74305, 502, 217, 14602, 959, 47, 3564, 5465, 190, ...
[ 0.22412109375, 0.1678466796875, 0.1610107421875, 0.2371826171875, 0.08056640625, 0.1585693359375, 0.1878662109375, 0.138427734375, 0.142822265625, 0.06640625, 0.124267578125, 0.089599609375, 0.2310791015625, 0.1431884765625, 0.1217041015625, 0.1688232421875, 0.06024169921875, 0.100...
embed
48981802_c0
48981802
julia
0
Title: Is srand() required in Julia? Problem title: Is srand() required in Julia? Tags: random, julia Problem: Is srand() required in Julia? Some low-level languages like C require the programmer to set seed (usually srand(time(0)) if the user wants a different sequence of random numbers whenever the program runs. If i...
Is srand() required in Julia? Is srand() required in Julia? random julia Julia Is srand() required in Julia? Some low-level languages like C require the programmer to set seed (usually srand(time(0)) if the user wants a different sequence of random numbers whenever the program runs. If it is not set, the program genera...
[ 0.017578125, 0.0264892578125, 0.02001953125, 0.011962890625, 0.01165771484375, 0.0012359619140625, 0.01348876953125, -0.018310546875, -0.014892578125, -0.0198974609375, 0.0037384033203125, 0.011962890625, -0.0262451171875, 0.004119873046875, 0.0189208984375, -0.017333984375, -0.01123...
[ 2071, 91, 37214, 132, 16, 56065, 23, 60592, 32, 96759, 14801, 11, 27226, 67919, 46876, 313, 64209, 77848, 5423, 40, 297, 6032, 177609, 2174, 38937, 86171, 12921, 944, 101935, 217684, 1528, 127877, 959, 139392, 5701, 12638, 11675, 191082, 51...
[ 0.0672607421875, 0.1295166015625, 0.297119140625, 0.2137451171875, 0.11279296875, 0.2283935546875, 0.1387939453125, 0.323486328125, 0.014312744140625, 0.1937255859375, 0.2222900390625, 0.1253662109375, 0.0902099609375, 0.0792236328125, 0.1495361328125, 0.11376953125, 0.138916015625, ...
embed
33404242_c1
33404242
julia
1
94370842599164 -0.3177721876030173 -1.1267847565490017 0.5677952929872186 -0.2208291476393107 0.40094370842599164 -2.561932209885087 0.40874651002530255 -0.5972057181377701 0.8512642461184345 -0.9576102121737481 -0.3177721876030173 0.40874651002530255 -4.22394564475772 -0.6957268391716376 -3.3973836853171955 0.72959097...
94370842599164 -0.3177721876030173 -1.1267847565490017 0.5677952929872186 -0.2208291476393107 0.40094370842599164 -2.561932209885087 0.40874651002530255 -0.5972057181377701 0.8512642461184345 -0.9576102121737481 -0.3177721876030173 0.40874651002530255 -4.22394564475772 -0.6957268391716376 -3.3973836853171955 0.72959097...
[ -0.011962890625, 0.00799560546875, -0.01470947265625, 0.0098876953125, 0.01190185546875, 0.007476806640625, -0.00787353515625, 0.015869140625, 0.0135498046875, -0.01397705078125, -0.00299072265625, 0.00201416015625, -0.00115203857421875, -0.0299072265625, -0.01348876953125, -0.00451660...
[ 16064, 71025, 13903, 2588, 5046, 154019, 20, 170179, 2489, 168766, 1819, 110216, 1197, 160248, 68940, 5, 77344, 157054, 199009, 12338, 20543, 81730, 170242, 8821, 4235, 122381, 12825, 910, 133684, 154782, 11835, 128877, 44141, 757, 10700, 14889, ...
[ 0.27978515625, 0.268310546875, 0.1605224609375, 0.205322265625, 0.179443359375, 0.251953125, 0.08013916015625, 0.1556396484375, 0.14599609375, 0.1160888671875, 0.063720703125, 0.1026611328125, 0.0648193359375, 0.1787109375, 0.1475830078125, 0.0694580078125, 0.1591796875, 0.12170410...
embed
77210688_c1
77210688
julia
1
if I change the parameters B and e to positive numbers the program aborts after a few timesteps and says the solution is unstable. I have not been working with Julia for long so maybe I misunderstand how complex variables should be used in ODEs? I have previously written a similar program for a Van der Pol oscillator ...
if I change the parameters B and e to positive numbers the program aborts after a few timesteps and says the solution is unstable. I have not been working with Julia for long so maybe I misunderstand how complex variables should be used in ODEs? I have previously written a similar program for a Van der Pol oscillator ...
[ -0.00830078125, 0.023193359375, 0.0018157958984375, -0.00054168701171875, -0.005218505859375, 0.03271484375, -0.0023193359375, 0.012451171875, 0.006988525390625, 0.0206298828125, -0.0096435546875, -0.00970458984375, -0.0009918212890625, -0.01336669921875, 0.0087890625, 0.0157470703125,...
[ 2174, 15549, 171859, 335, 136, 28, 47, 24491, 101935, 1528, 64853, 7, 7103, 10846, 1733, 95528, 17378, 29806, 83, 2234, 22819, 20697, 678, 60592, 4989, 1239, 24658, 27140, 77336, 5608, 11814, 34687, 16474, 198395, 59121, 21373, 3000, 122, 9...
[ 0.019805908203125, 0.154052734375, 0.197998046875, 0.0859375, 0.05523681640625, 0.1234130859375, 0.0390625, 0.167236328125, 0.1168212890625, 0.1923828125, 0.2061767578125, 0.0731201171875, 0.045440673828125, 0.09136962890625, 0.04437255859375, 0.168212890625, 0.0211639404296875, 0....
embed
27770689_c0
27770689
julia
0
Title: What functions work with JuMPArrays? Problem title: What functions work with JuMPArrays? Tags: julia-jump, julia Problem: What functions work with JuMPArrays? Is there a way to make certain functions such as isinteger() work with JuMPArrays? I am using Julia/JuMP to solve an optimization problem, and after I get...
What functions work with JuMPArrays? What functions work with JuMPArrays? julia-jump julia What JuMPArrays What functions work with JuMPArrays? Is there a way to make certain functions such as isinteger() work with JuMPArrays? I am using Julia/JuMP to solve an optimization problem, and after I get the solution, I want ...
[ -0.00128936767578125, -0.0079345703125, 0.005889892578125, 0.033447265625, -0.000213623046875, 0.027099609375, 0.0159912109375, -0.0186767578125, -0.004364013671875, 0.01806640625, -0.01202392578125, 0.005279541015625, -0.0120849609375, -0.021240234375, -0.0011138916015625, -0.02148437...
[ 4865, 32354, 7, 4488, 678, 3314, 9088, 7614, 7092, 14801, 11, 461, 2676, 3917, 3249, 24233, 83, 6191, 1505, 132, 17368, 60592, 64, 21718, 86869, 87235, 1363, 2967, 29806, 12765, 2174, 892, 18499, 1556, 110, 55300, 14858, 214 ]
[ 0.05694580078125, 0.20654296875, 0.07763671875, 0.1104736328125, 0.1361083984375, 0.1868896484375, 0.2025146484375, 0.1336669921875, 0.23974609375, 0.1705322265625, 0.1260986328125, 0.1512451171875, 0.16552734375, 0.0290374755859375, 0.010040283203125, 0.024169921875, 0.0918579101562...
embed
37474493_c0
37474493
julia
0
Title: Location of minimum in Julia Problem title: Location of minimum in Julia Tags: julia Problem: Location of minimum in Julia Does Julia have a build in command to find the index of the minimum of a vector? R, for example, has a which.min command (and a which.max , of course). Obviously, I could write the following...
Location of minimum in Julia Location of minimum in Julia julia Location Julia which.min which.max x::Vector min_x Location of minimum in Julia Does Julia have a build in command to find the index of the minimum of a vector? R, for example, has a which.min command (and a which.max , of course). Obviously, I could write...
[ 0.0059814453125, 0.023681640625, 0.00136566162109375, 0.011962890625, 0.0034027099609375, 0, 0.044921875, -0.0223388671875, 0.002899169921875, -0.016845703125, -0.01007080078125, -0.0211181640625, -0.02001953125, -0.003875732421875, 0.011474609375, 0.00665283203125, -0.00653076171875...
[ 90788, 111, 15440, 23, 60592, 14801, 11, 3129, 1249, 24084, 1022, 26455, 18770, 881, 425, 101790, 765, 10, 45367, 75101, 47, 7413, 63262, 70, 173, 627, 27781, 1556, 5, 15411, 5809, 33022, 25632, 35978, 26267, 37170 ]
[ 0.1907958984375, 0.0634765625, 0.263671875, 0.1162109375, 0.3037109375, 0.191162109375, 0.125732421875, 0.118408203125, 0.234619140625, 0.1370849609375, 0.04095458984375, 0.1348876953125, 0.1602783203125, 0.1865234375, 0.056182861328125, 0.029449462890625, 0.049652099609375, 0.0204...
embed
53149008_c0
53149008
julia
0
Title: Setindex for named tuple Problem title: Setindex for named tuple Tags: namedtuple, julia Problem: Setindex for named tuple I am trying to write a non-mutating setindex for named tuple, where given a value type for the name var , it creates a new named tuple where x.var = y . What I have right now is: function se...
Setindex for named tuple Setindex for named tuple namedtuple julia Setindex x.var nt::T v::Val Setindex for named tuple I am trying to write a non-mutating setindex for named tuple, where given a value type for the name var , it creates a new named tuple where x.var = y . What I have right now is: but my main issue is ...
[ -0.014892578125, 0.00634765625, 0.016845703125, 0.0054931640625, 0.005615234375, -0.00799560546875, -0.00147247314453125, -0.006988525390625, -0.0002040863037109375, 0.02294921875, 0.00347900390625, 0.031982421875, -0.0023193359375, -0.0101318359375, 0.008056640625, -0.0120849609375, ...
[ 19943, 4711, 100, 24, 4806, 370, 8705, 458, 14801, 11, 1022, 1961, 660, 618, 81, 42272, 31577, 33022, 351, 68754, 214, 5423, 34475, 34292, 10644, 9351, 285, 28282, 3525, 5, 113, 5201, 31089, 9077, 8560, 2046, 11627, 27494, 80836 ]
[ 0.1827392578125, 0.2744140625, 0.06866455078125, 0.12353515625, 0.1611328125, 0.1187744140625, 0.170654296875, 0.1240234375, 0.16162109375, 0.11083984375, 0.064453125, 0.17822265625, 0.072998046875, 0.06597900390625, 0.1300048828125, 0.142578125, 0.038421630859375, 0.0623779296875,...
embed
75313320_c0
75313320
julia
0
Title: Redirect stio and still printing in the terminal Problem title: Redirect stio and still printing in the terminal Tags: terminal, stdio, http-redirect, julia, output Problem: Redirect stio and still printing in the terminal Thanks to this great answer from @Przemyslaw Szufel , we can easily redirect stdio output ...
Redirect stio and still printing in the terminal Redirect stio and still printing in the terminal terminal stdio http-redirect julia output Redirect Redirect stio and still printing in the terminal Thanks to this great answer from @Przemyslaw Szufel , we can easily redirect stdio output into a file providing its path. ...
[ 0.0167236328125, 0.008056640625, 0.01239013671875, 0.0107421875, -0.00909423828125, -0.016845703125, 0.00518798828125, -0.00775146484375, -0.000728607177734375, -0.0068359375, -0.006378173828125, -0.00168609619140625, 0.0181884765625, -0.0084228515625, 0.0107421875, 0.00543212890625, ...
[ 853, 80581, 13629, 31, 136, 7464, 2448, 1916, 23, 33949, 6138, 5670, 1621, 107, 14801, 11, 140992, 7510, 831, 72546, 456, 3934, 11435, 101904, 6863, 60875, 3714, 7722, 47, 15044, 21342, 28412, 442, 23468, 60213, 69307, 7413, 51042, 18151, ...
[ 0.10089111328125, 0.24072265625, 0.1444091796875, 0.2159423828125, 0.06414794921875, 0.1424560546875, 0.144775390625, 0.088623046875, 0.078125, 0.253662109375, 0.1632080078125, 0.2476806640625, 0.1005859375, 0.0936279296875, 0.193603515625, 0.1490478515625, 0.2113037109375, 0.04336...
embed
62304223_c1
62304223
julia
1
) = pairwise(Euclidean(), x, dims = 2) # define a function that gets the N x N distance matrix for a single 'slice' dist_matrix_tensor = mapslices(dist_function, X, dims = [1,2]) # map your matrix-operating function across the slices of the main tensor X This can of course also be parallelized since each 'slice' of X i...
) = pairwise(Euclidean(), x, dims = 2) # define a function that gets the N x N distance matrix for a single 'slice' dist_matrix_tensor = mapslices(dist_function, X, dims = [1,2]) # map your matrix-operating function across the slices of the main tensor X This can of course also be parallelized since each 'slice' of X i...
[ -0.0009002685546875, 0.02197265625, -0.025146484375, -0.015625, 0.004058837890625, -0.0128173828125, -0.003021240234375, 0.005126953125, 0.010986328125, -0.04931640625, 0.0128173828125, -0.0556640625, 0.01202392578125, -0.0035552978515625, -0.03466796875, 0.002044677734375, 0.0289306...
[ 1388, 2203, 80836, 90825, 52283, 34937, 130265, 1022, 34355, 7, 4958, 468, 61924, 32354, 62163, 541, 62488, 50944, 425, 100, 11001, 13348, 45, 271, 192, 87427, 510, 4970, 22288, 46295, 137175, 1193, 90173, 21473, 1916, 36880, 28756, 5170, 5...
[ 0.0206756591796875, 0.038055419921875, 0.1431884765625, 0.1922607421875, 0.0170440673828125, 0.1072998046875, 0.1822509765625, 0.1134033203125, 0.1732177734375, 0.098876953125, 0.0533447265625, 0.01446533203125, 0.129638671875, 0.2015380859375, 0.09130859375, 0.1207275390625, 0.24914...
embed
63022701_c2
63022701
julia
2
.0,no_pts=10) # finds 0-element Array{Float64,1}, sensitive to value of no_pts I can get find_zeros to work, but it's very sensitive to the no_pts argument and the exact values of the endpoints I pick. Doing a loop over no_pts and taking the first non-empty result might work, but something more Code signals: NLsolve, P...
.0,no_pts=10) # finds 0-element Array{Float64,1}, sensitive to value of no_pts I can get find_zeros to work, but it's very sensitive to the no_pts argument and the exact values of the endpoints I pick. Doing a loop over no_pts and taking the first non-empty result might work, but something more Code signals: NLsolve, P...
[ -0.0242919921875, 0.00994873046875, -0.02001953125, 0.0150146484375, -0.0086669921875, 0.03955078125, 0.0133056640625, -0.001861572265625, 0.01904296875, 0.00193023681640625, -0.0023651123046875, 0.0015106201171875, 0.00726318359375, -0.0050048828125, 0.000926971435546875, -0.011779785...
[ 5, 2389, 157, 6328, 50258, 7413, 757, 62766, 69253, 53, 365, 257, 13307, 191125, 34292, 110, 454, 87, 831, 2046, 80510, 7, 47, 4488, 4552, 10750, 24763, 142424, 3564, 38496, 39580, 40956, 645, 35971, 5117, 351, 33548, 16750, 13648, 1286, ...
[ 0.006683349609375, 0.1180419921875, 0.12158203125, 0.2144775390625, 0.13916015625, 0.1685791015625, 0.1480712890625, 0.194091796875, 0.1278076171875, 0.019134521484375, 0.0819091796875, 0.014892578125, 0.1865234375, 0.2283935546875, 0.110107421875, 0.1531982421875, 0.020416259765625,...
embed
70911329_c0
70911329
julia
0
Title: How to have uniform distribution drop to zero at edges? Problem title: How to have uniform distribution drop to zero at edges? Tags: julia Problem: How to have uniform distribution drop to zero at edges? using Plots using Distributions gr() plot(Uniform(0,1)) xlabel!("velocity") ylabel!("probability density") xl...
How to have uniform distribution drop to zero at edges? How to have uniform distribution drop to zero at edges? julia Plots Distributions How Uniform How to have uniform distribution drop to zero at edges? I am trying to plot a uniform distribution with area under the curve = 1. I would like the edges of the curve to d...
[ 0.017578125, 0.038330078125, 0.0167236328125, -0.030029296875, 0.00433349609375, -0.01324462890625, 0.00469970703125, -0.017822265625, 0.004241943359375, 0.0264892578125, -0.0125732421875, 0.001983642578125, -0.00115966796875, -0.009765625, 0.03515625, 0.01171875, 0.0235595703125, ...
[ 11249, 47, 765, 61514, 113068, 36069, 45234, 99, 121303, 7, 14801, 11, 168763, 75571, 11789, 5037, 31577, 23577, 16128, 1379, 9709, 272, 615, 1884, 33342, 16530, 40715, 80560, 13315, 157666 ]
[ 0.0675048828125, 0.1195068359375, 0.0966796875, 0.2427978515625, 0.2100830078125, 0.19091796875, 0.179931640625, 0.109130859375, 0.2020263671875, 0.104248046875, 0.039459228515625, 0.001220703125, 0.087158203125, 0.1279296875, 0.109619140625, 0.21875, 0.017608642578125, 0.125976562...
embed
22314397_c0
22314397
julia
0
Title: Why doesn&#x27;t Julia&#x27;s Gadfly and draw work inside of Emacs? Problem title: Why doesn&#x27;t Julia&#x27;s Gadfly and draw work inside of Emacs? Tags: julia, emacs, ess Problem: Why doesn't Julia's Gadfly and draw work inside of Emacs? Why does "draw" not work when run inside ESS + emacs (but works fine us...
Why doesn&#x27;t Julia&#x27;s Gadfly and draw work inside of Emacs? Why doesn&#x27;t Julia&#x27;s Gadfly and draw work inside of Emacs? julia emacs ess Gadfly Why Julia Emacs SVG output.svg ERROR Why doesn't Julia's Gadfly and draw work inside of Emacs? Why does "draw" not work when run inside ESS + emacs (but works fi...
[ 0.0106201171875, 0.00360107421875, -0.01397705078125, 0.00225830078125, 0.0087890625, 0.0211181640625, -0.01300048828125, -0.0177001953125, -0.0123291015625, 0.024658203125, -0.004150390625, -0.0203857421875, -0.017333984375, -0.00604248046875, 0.007781982421875, -0.0206298828125, -0...
[ 44084, 22027, 3768, 18, 60592, 99047, 35121, 136, 79442, 4488, 46132, 85269, 4439, 7, 14801, 11, 352, 2263, 198, 159, 79855, 140992, 67756, 177, 151206, 24638, 25, 111, 14602, 86905, 959, 11675, 64397, 997, 43240, 5885, 29481, 56, 101805, ...
[ 0.0841064453125, 0.06005859375, 0.0198822021484375, 0.0780029296875, 0.2763671875, 0.1790771484375, 0.252685546875, 0.12939453125, 0.197998046875, 0.1229248046875, 0.1505126953125, 0.159912109375, 0.1754150390625, 0.04425048828125, 0.148681640625, 0.1016845703125, 0.05657958984375, ...
embed
57364900_c0
57364900
julia
0
Title: How can I conditionally select and then mutate columns of a DataFrame? Problem title: How can I conditionally select and then mutate columns of a DataFrame? Tags: julia Problem: How can I conditionally select and then mutate columns of a DataFrame? I'm looking for mutate_if() from R's dplyr. For example, how cou...
How can I conditionally select and then mutate columns of a DataFrame? How can I conditionally select and then mutate columns of a DataFrame? julia DataFrames How DataFrame mutate_if Int64 How can I conditionally select and then mutate columns of a DataFrame? I'm looking for mutate_if() from R's dplyr. For example, how...
[ 0.005706787109375, -0.005096435546875, 0.01397705078125, 0.031494140625, 0.004241943359375, -0.0048828125, 0.01153564453125, -0.0034942626953125, -0.0081787109375, 0.041259765625, -0.00897216796875, 0.0017852783203125, -0.00848388671875, 0.01239013671875, 0.01385498046875, 0.0064697265...
[ 11249, 831, 87, 35431, 25958, 36849, 136, 7068, 31158, 13, 3365, 316, 1779, 11809, 108386, 282, 111, 14801, 11, 3190, 360, 18, 13307, 16487, 627, 104, 62479, 42, 3642, 5809, 96760, 47, 38699, 257 ]
[ 0.0811767578125, 0.10333251953125, 0.04364013671875, 0.176025390625, 0.1435546875, 0.1888427734375, 0.0570068359375, 0.0802001953125, 0.20263671875, 0.1593017578125, 0.1470947265625, 0.179443359375, 0.09002685546875, 0.10498046875, 0.20849609375, 0.118896484375, 0.00958251953125, 0...
embed
60138482_c0
60138482
julia
0
Title: What problem does Julia solve for data science? Problem title: What problem does Julia solve for data science? Tags: data-science, julia Problem: What problem does Julia solve for data science? I am not able to find any definitive answer to what problem Julia solves compared to the two languages, I was told are ...
What problem does Julia solve for data science? What problem does Julia solve for data science? data-science julia What Julia What problem does Julia solve for data science? I am not able to find any definitive answer to what problem Julia solves compared to the two languages, I was told are most commonly used in worki...
[ 0.03125, 0.0272216796875, 0.0029449462890625, 0.0283203125, 0.01019287109375, 0.002899169921875, 0.006072998046875, -0.0093994140625, 0.0030975341796875, 0.01348876953125, 0.0019989013671875, -0.0103759765625, -0.01544189453125, 0.0172119140625, -0.009521484375, 0.0093994140625, -0.0...
[ 4865, 2967, 14602, 60592, 86869, 100, 2053, 41664, 32, 9, 175201, 14801, 11, 959, 19048, 7413, 44836, 35166, 47, 2367, 7, 154186, 70, 6626, 46876, 87, 30745, 621, 2684, 39210, 538, 11814, 23, 20697, 15, 10135, 247, 627, 136, 145581, 113...
[ 0.1378173828125, 0.2288818359375, 0.14501953125, 0.34765625, 0.2215576171875, 0.1583251953125, 0.1790771484375, 0.236328125, 0.0750732421875, 0.069580078125, 0.203125, 0.2646484375, 0.2078857421875, 0.05029296875, 0.057373046875, 0.01239013671875, 0.0838623046875, 0.1134033203125, ...
embed
67707751_c0
67707751
julia
0
Title: ERROR: LoadError: PyError ($(Expr(:escape, :(ccall(#= C:\Users\user\.julia\packages\PyCall\BD546\src\pyfncall.jl:43 =# @pysym(:PyObject_Call) Problem title: ERROR: LoadError: PyError ($(Expr(:escape, :(ccall(#= C:\Users\user\.julia\packages\PyCall\BD546\src\pyfncall.jl:43 =# @pysym(:PyObject_Call) Tags: plot, ex...
ERROR: LoadError: PyError ($(Expr(:escape, :(ccall(#= C:\Users\user\.julia\packages\PyCall\BD546\src\pyfncall.jl:43 =# @pysym(:PyObject_Call) ERROR: LoadError: PyError ($(Expr(:escape, :(ccall(#= C:\Users\user\.julia\packages\PyCall\BD546\src\pyfncall.jl:43 =# @pysym(:PyObject_Call) plot excel julia LoadError PyError x...
[ 0.0400390625, 0.02685546875, -0.024658203125, 0.01806640625, -0.0001506805419921875, 0.0024566650390625, 0.0283203125, -0.03662109375, -0.0022735595703125, -0.002899169921875, -0.001068115234375, -0.026123046875, -0.01336669921875, -0.0087890625, 0.020751953125, -0.013916015625, -0.0...
[ 151206, 24638, 2091, 712, 18468, 31611, 27512, 4369, 19279, 10287, 13, 98224, 11210, 1181, 313, 1062, 7, 65918, 461, 7884, 29102, 683, 53, 441, 5584, 48969, 155670, 19437, 6493, 14783, 85763, 51349, 33210, 4650, 46471, 75161, 23577, 64152, ...
[ 0.182373046875, 0.1151123046875, 0.1646728515625, 0.10595703125, 0.21337890625, 0.210693359375, 0.218017578125, 0.0338134765625, 0.07098388671875, 0.1539306640625, 0.036895751953125, 0.228759765625, 0.0256805419921875, 0.128173828125, 0.042510986328125, 0.04583740234375, 0.0582885742...
embed
45967111_c0
45967111
julia
0
Title: How to @everywhere include(iter) from a for loop Problem title: How to @everywhere include(iter) from a for loop Tags: julia Problem: How to @everywhere include(iter) from a for loop Code signals: UndefVarError, a, How, end-1, s1.jl, s2.jl, s3.jl, ERROR, Module, Any, boot.jl:235, eval_ew_expr, macros.jl:116, Bas...
How to @everywhere include(iter) from a for loop How to @everywhere include(iter) from a for loop julia UndefVarError a How end-1 s1.jl s2.jl s3.jl ERROR Module Any boot.jl:235 eval_ew_expr macros.jl:116 Base.Distributed Tuple Expr Array remotecall.jl:314 run_work_thunk Bool process_messages.jl:56 remotecall_fetch Base...
[ 0.0233154296875, 0.002532958984375, -0.031494140625, 0.00064849853515625, -0.01165771484375, 0.0034942626953125, 0.0301513671875, 0.00531005859375, -0.00830078125, -0.042724609375, 0.0133056640625, -0.001617431640625, 0.006622314453125, -0.016845703125, 0.016845703125, -0.0092163085937...
[ 11249, 47, 1374, 13, 104643, 136913, 26698, 16840, 1295, 100, 40956, 14801, 11, 5533, 4240, 81827, 18468, 31611, 3564, 5759, 51349, 5442, 363, 151206, 24638, 63014, 49935, 149265, 1405, 36550, 42, 111789, 120620, 44978, 191145, 8705, 148814, ...
[ 0.06268310546875, 0.00775146484375, 0.1290283203125, 0.014892578125, 0.122314453125, 0.205810546875, 0.2244873046875, 0.2822265625, 0.1221923828125, 0.1163330078125, 0.2109375, 0.1893310546875, 0.1414794921875, 0.036407470703125, 0.1239013671875, 0.1292724609375, 0.0760498046875, 0...
embed
61055126_c0
61055126
julia
0
Title: Running a script in julia VSCode Problem title: Running a script in julia VSCode Tags: julia, visual-studio-code Problem: Running a script in julia VSCode this might sound like a very stupid question, but what is the difference between F5 command in julia vscode and Ctrl + Enter? I know, that F5 means start debb...
Running a script in julia VSCode Running a script in julia VSCode julia visual-studio-code Running VSCode Running a script in julia VSCode this might sound like a very stupid question, but what is the difference between F5 command in julia vscode and Ctrl + Enter? I know, that F5 means start debbuging, but I just don't...
[ 0.0169677734375, -0.0133056640625, -0.0024261474609375, 0.02978515625, 0.01470947265625, 0.00518798828125, 0.01513671875, 0.005889892578125, -0.01214599609375, 0.01348876953125, 0.007659912109375, 0.004058837890625, -0.00182342529296875, 0.01324462890625, -0.0029449462890625, -0.007171...
[ 28398, 592, 26499, 23, 14801, 11, 44160, 114211, 21176, 52629, 40899, 45730, 4552, 110833, 9655, 2367, 60212, 17721, 563, 758, 75101, 20209, 136, 68847, 997, 60816, 26950, 4034, 19372, 978, 9966, 18, 28219, 15400, 59121, 390, 22008, 37076, ...
[ 0.146728515625, 0.03546142578125, 0.256103515625, 0.06494140625, 0.18310546875, 0.1905517578125, 0.1959228515625, 0.26708984375, 0.1717529296875, 0.1475830078125, 0.279541015625, 0.0589599609375, 0.000579833984375, 0.09283447265625, 0.02447509765625, 0.0162353515625, 0.1859130859375,...
embed
59023170_c0
59023170
julia
0
Title: How can I export multiple methods of the same function from submodules within my module? Problem title: How can I export multiple methods of the same function from submodules within my module? Tags: julia Problem: How can I export multiple methods of the same function from submodules within my module? What’s the...
How can I export multiple methods of the same function from submodules within my module? How can I export multiple methods of the same function from submodules within my module? julia submodules Bar Baz How Foo x::String x::Int How can I export multiple methods of the same function from submodules within my module? Wha...
[ 0.026611328125, 0.0045166015625, -0.0098876953125, 0.0172119140625, 0.00885009765625, 0.00482177734375, 0.0185546875, -0.0032196044921875, -0.001800537109375, -0.0002918243408203125, -0.01275634765625, -0.018798828125, 0.00732421875, 0.0196533203125, -0.00567626953125, -0.019287109375,...
[ 11249, 831, 31255, 48716, 150624, 111, 5701, 32354, 1295, 1614, 83279, 90, 28032, 88996, 87, 759, 14801, 11, 3253, 36490, 9572, 31, 1022, 71713, 214, 4153, 18, 7108, 3917, 47, 756, 13580, 3688, 4488 ]
[ 0.06536865234375, 0.08050537109375, 0.2724609375, 0.23095703125, 0.23486328125, 0.065185546875, 0.125732421875, 0.173095703125, 0.115234375, 0.2021484375, 0.1993408203125, 0.09716796875, 0.13134765625, 0.2073974609375, 0.011566162109375, 0.028961181640625, 0.14697265625, 0.11157226...
embed
29411110_c0
29411110
julia
0
Title: Execute a block of code but show all results in Julia/Juno Problem title: Execute a block of code but show all results in Julia/Juno Tags: julia Problem: Execute a block of code but show all results in Julia/Juno I have Julia code edited in Juno, which contains a very simple code block with a calculation at each...
Execute a block of code but show all results in Julia/Juno Execute a block of code but show all results in Julia/Juno julia Execute Julia Juno Execute a block of code but show all results in Julia/Juno I have Julia code edited in Juno, which contains a very simple code block with a calculation at each line. When I sele...
[ 0.01416015625, -0.000766754150390625, -0.01611328125, 0.031005859375, 0.0169677734375, -0.00872802734375, 0.02880859375, -0.0274658203125, 0.00119781494140625, 0.0211181640625, -0.019775390625, 0.013427734375, -0.005889892578125, 0.00921630859375, -0.020263671875, 0.00970458984375, 0...
[ 211603, 13, 46389, 111, 18151, 1284, 7639, 756, 50339, 23, 60592, 97866, 31, 64, 14801, 11, 13328, 27211, 70541, 4552, 8781, 74481, 12638, 13315, 36849, 71924, 4734, 16750, 100, 4568, 44116, 71, 1884, 765, 903, 37926, 113054, 390, 2071, 7...
[ 0.219482421875, 0.04931640625, 0.2020263671875, 0.1220703125, 0.1922607421875, 0.1265869140625, 0.1602783203125, 0.14111328125, 0.2158203125, 0.07171630859375, 0.27587890625, 0.185302734375, 0.1873779296875, 0.0211334228515625, 0.1885986328125, 0.130126953125, 0.2061767578125, 0.11...
embed
35775845_c0
35775845
julia
0
Title: Inverse matrix error Problem title: Inverse matrix error Tags: julia Problem: Inverse matrix error I would like to do the inverse of matrix or number by multiplyig a vector with its trasposed but it gives me an error. v=[1,2,3] inv(v'*v) `inv` has no method matching inv(::Array{Int64,1}) while loading In[45], in...
Inverse matrix error Inverse matrix error julia Inverse Array Int64 Inverse matrix error I would like to do the inverse of matrix or number by multiplyig a vector with its trasposed but it gives me an error. I would like to obtain a number or a square matrix at the end. I do not want to use pinv function because i need...
[ -0.01171875, 0.0263671875, 0.01068115234375, 0.0162353515625, 0.0037689208984375, -0.006378173828125, -0.015869140625, 0.006622314453125, -0.0177001953125, -0.00677490234375, -0.00494384765625, -0.01275634765625, 0.00193023681640625, 0.00555419921875, -0.028076171875, 0.00830078125, ...
[ 360, 37676, 50944, 425, 18499, 14801, 11, 69253, 53, 18, 13307, 2806, 1884, 54, 23, 111, 14012, 390, 6024, 62479, 872, 173, 18770, 678, 6863, 5848, 144429, 76199, 163, 113054, 707, 108047, 3564, 3444, 6520, 334, 32354, 45258, 3871, 66161,...
[ 0.1185302734375, 0.27392578125, 0.1904296875, 0.0953369140625, 0.204833984375, 0.178466796875, 0.1307373046875, 0.132568359375, 0.07861328125, 0.037078857421875, 0.20703125, 0.0204010009765625, 0.0823974609375, 0.0367431640625, 0.1392822265625, 0.0270233154296875, 0.112548828125, 0...
embed
26200771_c0
26200771
julia
0
Title: julia double for loops, looping over dictionaries Problem title: julia double for loops, looping over dictionaries Tags: julia, dictionary Problem: julia double for loops, looping over dictionaries I have just started using Julia. To my understanding Julia allows you to declare multiple for loops on a single lin...
julia double for loops, looping over dictionaries julia double for loops, looping over dictionaries julia dictionary players1 players2 julia double for loops, looping over dictionaries I have just started using Julia. To my understanding Julia allows you to declare multiple for loops on a single line. For example, this...
[ 0.0211181640625, -0.005523681640625, -0.0133056640625, 0.016357421875, 0.0230712890625, 0.0123291015625, 0.0026092529296875, 0.00109100341796875, 0.01104736328125, 0.0281982421875, 0.0029144287109375, -0.0025634765625, 0.00970458984375, -0.0146484375, -0.0034027099609375, -0.0130615234...
[ 14801, 11, 41929, 100, 40956, 7, 214, 645, 45, 10763, 10484, 6635, 92865, 418, 304, 26859, 17368, 60592, 100094, 114864, 47, 159978, 48716, 98, 11001, 13315, 903, 20255, 16750, 87, 444, 5036, 20594, 9844, 21373, 1284, 12960, 25632, 67948, ...
[ 0.208251953125, 0.18505859375, 0.20556640625, 0.1314697265625, 0.213134765625, 0.078125, 0.0380859375, 0.1263427734375, 0.06982421875, 0.12353515625, 0.079833984375, 0.02490234375, 0.1356201171875, 0.00408935546875, 0.043731689453125, 0.013763427734375, 0.0938720703125, 0.308837890...
embed
36930700_c0
36930700
julia
0
Title: Creating a dictionary for tabular data in Julia Problem title: Creating a dictionary for tabular data in Julia Tags: julia, dictionary Problem: Creating a dictionary for tabular data in Julia I have a tabular data like: +---+----+----+ | | a | b | +---+----+----+ | P | 1 | 2 | | Q | 10 | 20 | +---+----+----+ and...
Creating a dictionary for tabular data in Julia Creating a dictionary for tabular data in Julia julia dictionary Creating Julia Dict Creating a dictionary for tabular data in Julia I have a tabular data like: and I want to represent this using a Dict . With the column and row names: and data how may I create a dictiona...
[ 0.047119140625, -0.000518798828125, -0.0177001953125, 0.00482177734375, 0.00799560546875, -0.01507568359375, 0.01177978515625, 0.00058746337890625, -0.01141357421875, 0.0125732421875, 0.0140380859375, -0.01556396484375, -0.006591796875, 0.00188446044921875, -0.00799560546875, 0.0054321...
[ 56781, 45, 10763, 6635, 100, 169196, 42, 2053, 23, 60592, 14801, 11, 60897, 18, 1884, 3444, 33636, 903, 17368, 17106, 3365, 316, 15555, 123055, 3642, 1543, 28282, 36746, 104, 1065, 683, 2203, 106, 3917 ]
[ 0.097412109375, 0.08734130859375, 0.1529541015625, 0.128662109375, 0.03887939453125, 0.1961669921875, 0.0877685546875, 0.1546630859375, 0.0523681640625, 0.27197265625, 0.1446533203125, 0.0841064453125, 0.176025390625, 0.154541015625, 0.04541015625, 0.05548095703125, 0.1722412109375, ...
embed
61264545_c0
61264545
julia
0
Title: read null terminated string from byte vector in julia Problem title: read null terminated string from byte vector in julia Tags: julia, null-terminated, c-strings Problem: read null terminated string from byte vector in julia I have a vector of type UInt8 and fixed length 10. I think it contains a null-terminate...
read null terminated string from byte vector in julia read null terminated string from byte vector in julia julia null-terminated c-strings byte UInt8 Vector read null terminated string from byte vector in julia I have a vector of type UInt8 and fixed length 10. I think it contains a null-terminated string but when I d...
[ 0.0172119140625, 0.01080322265625, -0.004669189453125, 0.03466796875, -0.006866455078125, 0.01129150390625, 0.0260009765625, -0.0218505859375, -0.015380859375, 0.01165771484375, -0.003082275390625, -0.01519775390625, -0.016357421875, 0.0269775390625, -0.0159912109375, -0.028076171875, ...
[ 12301, 56574, 121011, 297, 79315, 1295, 390, 67, 173, 18770, 14801, 11, 30524, 27686, 501, 91693, 111481, 660, 1019, 2609, 23, 10644, 188347, 140909, 4068, 5351, 70541, 7, 1284, 23351, 214, 132, 334, 45831, 997, 756, 45234, 10588, 111, 70...
[ 0.140625, 0.2198486328125, 0.1796875, 0.0428466796875, 0.2064208984375, 0.049163818359375, 0.065673828125, 0.07012939453125, 0.18798828125, 0.1944580078125, 0.1968994140625, 0.1629638671875, 0.1695556640625, 0.0543212890625, 0.06866455078125, 0.160888671875, 0.032806396484375, 0.08...
embed
67177457_c0
67177457
julia
0
Title: Order of @animate and @layout in Julia Problem title: Order of @animate and @layout in Julia Tags: layout, jquery-animate, julia Problem: Order of @animate and @layout in Julia I want to ask about the mechanism of the following errors. The code lay = @layout [a{0.4h}; grid(2,2)] @animate for... plot(..., layout ...
Order of @animate and @layout in Julia Order of @animate and @layout in Julia layout jquery-animate julia Order Julia Order of @animate and @layout in Julia I want to ask about the mechanism of the following errors. The code in Jupyter produces an animation with only one frame (the rest of frames are blank). There are ...
[ 0.031494140625, 0.0233154296875, -0.0167236328125, 0.00872802734375, 0.01458740234375, 0.0021514892578125, 0.023193359375, -0.00323486328125, 0.024658203125, -0.0218505859375, -0.01043701171875, -0.00994873046875, 0.0035400390625, -0.00994873046875, 0, 0.00714111328125, 0.01403808593...
[ 81206, 111, 1374, 52097, 67, 136, 5259, 6056, 23, 60592, 108802, 1647, 944, 1294, 14801, 11, 26458, 191619, 25632, 18499, 18151, 3314, 6493, 720, 27489, 114205, 4734, 1632, 123789, 10588, 2674, 44237, 110, 89914, 43240, 5885, 44084 ]
[ 0.189208984375, 0.1324462890625, 0.116455078125, 0.1522216796875, 0.0887451171875, 0.08160400390625, 0.1082763671875, 0.08831787109375, 0.060455322265625, 0.287841796875, 0.1893310546875, 0.03460693359375, 0.05242919921875, 0.02410888671875, 0.164306640625, 0.115234375, 0.01986694335...
embed
70946668_c0
70946668
julia
0
Title: Extracting values from a specific key in a json Problem title: Extracting values from a specific key in a json Tags: julia Problem: Extracting values from a specific key in a json I have this JSON : {"eletrics":{"USA":['trcd', 'moty', 'pily'], "EUROPE" :['bny','ury','try']}, "fuel":{"USA":['tre', 'motr', 'pilow'...
Extracting values from a specific key in a json Extracting values from a specific key in a json julia a Extracting JSON USA EUROPE df.loc Extracting values from a specific key in a json I have this JSON : How can I extract all strings in the key==EUROPE The outuput should be: in python I would do: How can I do this in ...
[ 0.021484375, -0.0023956298828125, -0.00604248046875, 0.017333984375, -0.00194549560546875, -0.00823974609375, 0.0126953125, -0.007476806640625, 0.00958251953125, 0.024169921875, -0.00860595703125, -0.010498046875, 0.002838134765625, -0.0198974609375, 0.0010986328125, 0.00982666015625, ...
[ 31501, 238, 1916, 142424, 1295, 29458, 22799, 23, 1647, 1681, 14801, 11, 10, 821, 58627, 4602, 206713, 104, 420, 55043, 11249, 831, 125663, 756, 79315, 69112, 75063, 106863, 1810, 7077, 5608, 17198, 50828, 2806, 54, 903, 60592 ]
[ 0.1781005859375, 0.08770751953125, 0.047576904296875, 0.17041015625, 0.100341796875, 0.172119140625, 0.1826171875, 0.08709716796875, 0.1236572265625, 0.190185546875, 0.17529296875, 0.1451416015625, 0.01129150390625, 0.126953125, 0.197265625, 0.16357421875, 0.212646484375, 0.0085449...
embed
53546762_c0
53546762
julia
0
Title: fieldnames(x::DataType) does not work in Julia 1.0.1 Problem title: fieldnames(x::DataType) does not work in Julia 1.0.1 Tags: julia Problem: fieldnames(x::DataType) does not work in Julia 1.0.1 I have a composite type, MyType , struct MyType a::Float64 b::Float64 end When I do a = MyType(1,2) fieldnames(a) I ge...
fieldnames(x::DataType) does not work in Julia 1.0.1 fieldnames(x::DataType) does not work in Julia 1.0.1 julia MethodError x::DataType Julia MyType a::Float64 b::Float64 fieldnames(x::DataType) does not work in Julia 1.0.1 I have a composite type, MyType , When I do I get an error When I do it returns as expected. It ...
[ 0.00677490234375, 0.0084228515625, 0.0123291015625, 0.03662109375, 0.01324462890625, 0.01611328125, 0.0341796875, -0.0016632080078125, -0.00958251953125, -0.01300048828125, -0.01416015625, -0.004730224609375, 0.006134033203125, -0.024658203125, 0.01275634765625, -0.030517578125, 0.00...
[ 44457, 11627, 7, 425, 12, 137989, 196707, 16, 14602, 959, 4488, 23, 60592, 615, 102014, 14801, 11, 74644, 18468, 31611, 1022, 2646, 10, 365, 257, 13307, 876, 765, 375, 77087, 10644, 14847, 18499, 30646, 237, 84751, 100094, 36770, 20594, 4...
[ 0.221435546875, 0.223388671875, 0.04833984375, 0.1163330078125, 0.077392578125, 0.13671875, 0.297607421875, 0.014434814453125, 0.007568359375, 0.119873046875, 0.14111328125, 0.0787353515625, 0.293212890625, 0.1162109375, 0.2216796875, 0.1806640625, 0.13720703125, 0.092529296875, ...
embed
59675357_c0
59675357
julia
0
Title: How to determine if a dictionary has some key? Problem title: How to determine if a dictionary has some key? Tags: julia Problem: How to determine if a dictionary has some key? I want to key into a dictionary, but Julia throws an exception if the key does not exist. To avoid the exception, I first have to check ...
How to determine if a dictionary has some key? How to determine if a dictionary has some key? julia How has_some_key How to determine if a dictionary has some key? I want to key into a dictionary, but Julia throws an exception if the key does not exist. To avoid the exception, I first have to check if they key exists i...
[ 0.0162353515625, -0.00787353515625, 0.00180816650390625, -0.0106201171875, -0.00531005859375, -0.01263427734375, 0.0296630859375, -0.00518798828125, 0, 0.0169677734375, 0.00897216796875, 0.000301361083984375, -0.01446533203125, 0.0004425048828125, 0.01025390625, 0.004364013671875, -0...
[ 11249, 47, 83324, 2174, 10, 45, 10763, 6635, 1556, 3060, 22799, 14801, 11, 43452, 19770, 3444, 3934, 60592, 104250, 131527, 70, 959, 32316, 71864, 5117, 12765, 23, 17368, 114122, 32354, 5036, 11522, 3917, 291, 26783, 34475 ]
[ 0.0701904296875, 0.08935546875, 0.1702880859375, 0.1376953125, 0.04296875, 0.1112060546875, 0.1890869140625, 0.1812744140625, 0.1556396484375, 0.1309814453125, 0.266845703125, 0.138916015625, 0.09185791015625, 0.1326904296875, 0.2470703125, 0.033935546875, 0.1182861328125, 0.232910...
embed
54792222_c0
54792222
julia
0
Title: Giving a custom name for a column in dataframe, Julia Problem title: Giving a custom name for a column in dataframe, Julia Tags: dataframe, julia Problem: Giving a custom name for a column in dataframe, Julia Defining a custom name joining certain previously defined strings like so: df[:join([Str1,Str2,"_",Str3]...
Giving a custom name for a column in dataframe, Julia Giving a custom name for a column in dataframe, Julia dataframe julia MethodError Giving Julia Str1 Str2 Str3 Symbol Giving a custom name for a column in dataframe, Julia Defining a custom name joining certain previously defined strings like so: Returns the followin...
[ 0.0198974609375, -0.01165771484375, 0.0028228759765625, 0.0260009765625, -0.00201416015625, 0.006134033203125, -0.0020599365234375, 0.0106201171875, 0.000858306884765625, 0.021484375, -0.005767822265625, -0.037841796875, 0.00640869140625, -0.0135498046875, -0.0322265625, 0.002044677734...
[ 5174, 6496, 114122, 9351, 100, 3365, 316, 19, 2053, 160328, 60592, 14801, 11, 74644, 18468, 31611, 23351, 418, 304, 363, 131899, 23, 88606, 33284, 214, 24233, 198395, 61924, 79315, 1884, 221, 173340, 25632, 18499, 28219, 450, 22027, 18, 448...
[ 0.0743408203125, 0.00799560546875, 0.228759765625, 0.1881103515625, 0.04254150390625, 0.1676025390625, 0.1983642578125, 0.08221435546875, 0.1092529296875, 0.2161865234375, 0.278076171875, 0.1700439453125, 0.117919921875, 0.0872802734375, 0.07049560546875, 0.016387939453125, 0.1071777...
embed
54521345_c0
54521345
julia
0
Title: Julia cannot be launched in Juno IDE Problem title: Julia cannot be launched in Juno IDE Tags: juno-ide, julia Problem: Julia cannot be launched in Juno IDE I'm trying to launch Julia in the Juno IDE but it returns We tried to launch Julia from: julia This path can be changed in the settings. Details: /bin/sh: j...
Julia cannot be launched in Juno IDE Julia cannot be launched in Juno IDE juno-ide julia Julia Juno IDE Details Julia-1.0.3 Julia cannot be launched in Juno IDE I'm trying to launch Julia in the Juno IDE but it returns Ive searched around the forums, tried setting the julia path to and reinstalling the julia-client pac...
[ 0.02880859375, 0.021728515625, -0.0033416748046875, 0.0223388671875, 0.014892578125, -0.004425048828125, 0.0155029296875, -0.032958984375, -0.0205078125, 0.01348876953125, -0.00909423828125, -0.007293701171875, -0.0179443359375, 0.00567626953125, 0.0078125, -0.0157470703125, 0.004821...
[ 60592, 53418, 186, 83184, 297, 23, 13328, 31, 36497, 1129, 157, 2506, 14801, 11, 77658, 5759, 5, 170179, 31577, 47, 30646, 33938, 4738, 60875, 80383, 222978, 98169, 33720, 4488, 19048, 4034, 8305, 75101, 13315 ]
[ 0.339599609375, 0.1866455078125, 0.04205322265625, 0.219482421875, 0.0977783203125, 0.1019287109375, 0.21044921875, 0.2119140625, 0.2332763671875, 0.1229248046875, 0.1370849609375, 0.15087890625, 0.22265625, 0.1971435546875, 0.037078857421875, 0.0284881591796875, 0.00494384765625, ...
embed
50822442_c0
50822442
julia
0
Title: How to sort a matrix in Julia Problem title: How to sort a matrix in Julia Tags: r, julia Problem: How to sort a matrix in Julia I am working with a matrix that looks like this in Julia: 1-element Array{Array{Array{Int64,2},1},1}: Array{Int64,2}[[14 32; 32 77]] I want to sort the matrix in decreasing order just ...
How to sort a matrix in Julia How to sort a matrix in Julia r julia How Julia Array Int64 How to sort a matrix in Julia I am working with a matrix that looks like this in Julia: I want to sort the matrix in decreasing order just as I did in R with an output that looks like this: I tried using this function in Julia: bu...
[ 0.00634765625, 0.025634765625, -0.004608154296875, 0.01300048828125, -0.00311279296875, -0.0147705078125, 0.01092529296875, -0.00555419921875, -0.01007080078125, 0.01806640625, -0.0068359375, 0.0108642578125, -0.0079345703125, -0.0167236328125, -0.00909423828125, -0.01324462890625, 0...
[ 11249, 47, 12096, 10, 50944, 425, 23, 60592, 1690, 14801, 11, 69253, 53, 18, 13307, 20697, 33342, 1884, 3444, 8, 7612, 162, 214, 12989, 627, 140992, 37842, 32354, 5701, 51, 62351, 7722, 397 ]
[ 0.0775146484375, 0.053924560546875, 0.2098388671875, 0.04541015625, 0.1630859375, 0.1480712890625, 0.111328125, 0.269287109375, 0.1107177734375, 0.1661376953125, 0.1114501953125, 0.093994140625, 0.0972900390625, 0.019500732421875, 0.16943359375, 0.02490234375, 0.0859375, 0.02299499...
embed