Skip to content

Instantly share code, notes, and snippets.

View dpo's full-sized avatar
💭
Hacking

Dominique dpo

💭
Hacking
View GitHub Profile
using BinDeps
@BinDeps.setup
libgsl = library_dependency("libgsl", aliases=["libgsl-0"])
if is_apple()
using Homebrew
provides(Homebrew.HB, "gsl@1", libgsl, os = :Darwin)
end
C ( Last modified on 2 Jan 2013 at 13:40:00 )
PROGRAM TRNMA
C
C TRON test driver for problems derived from SIF files.
C
C Nick Gould, for CGT Productions.
C September 2004.
C Revised for CUTEst, January 2013
C
C Dominique Orban, revised for the factorization-free version of TRON.
include("symmetric_matvec_v1.jl")
include("test.jl")
@dpo
dpo / SVN_Git_Mirror.md
Last active April 14, 2017 15:56 — forked from ticean/SVN_Git_Mirror.md
SVN Git Mirror

Create Git Mirror from SVN Repository

This guide will demonstrate how to mirror an SVN into a Git repo. You're the target audience if you're an SVN user, just getting started with Git and need to coax your project team over to Git.

The branching scenario has been simplified for clarity.

References

using BenchmarkTools, Plots
function bench_dot(N :: Int)
T1 = zeros(N, 3)
T2 = zeros(N, 3)
T3 = zeros(N, 3)
for i = 1:N
n = 2^i
println("Running for $n")
diff --git a/internal/ceres/gradient_checker_test.cc b/internal/ceres/gradient_checker_test.cc
index 3d40a4d..85d58b9 100644
--- a/internal/ceres/gradient_checker_test.cc
+++ b/internal/ceres/gradient_checker_test.cc
@@ -1,5 +1,5 @@
// Ceres Solver - A fast non-linear least squares minimizer
-// Copyright 2015 Google Inc. All rights reserved.
+// Copyright 2016 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
Start testing: Oct 31 20:14 EDT
----------------------------------------------------------
1/67 Testing: array_utils_test
1/67 Test: array_utils_test
Command: "/tmp/ceres-solver-20161031-508-s30ew5/ceres-solver-1.11.0/bin/array_utils_test" "--test_srcdir" "/tmp/ceres-solver-20161031-508-s30ew5/ceres-solver-1.11.0/data"
Directory: /tmp/ceres-solver-20161031-508-s30ew5/ceres-solver-1.11.0/internal/ceres
"array_utils_test" start time: Oct 31 20:14 EDT
Output:
----------------------------------------------------------
[==========] Running 5 tests from 2 test cases.
2016-10-29 12:42:54 -0400
make
install
Makefile:165: warning: overriding commands for target `clean'
Makefile:137: warning: ignoring old commands for target `clean'
/usr/local/Cellar/cmake/3.6.2/bin/cmake -H/tmp/openmeeg-20161029-25881-fkki66 -B/tmp/openmeeg-20161029-25881-fkki66 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_progress_start /tmp/openmeeg-20161029-25881-fkki66/CMakeFiles /tmp/openmeeg-20161029-25881-fkki66/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
nlp INFO name nvar iter f ‖P∇f‖ #f #∇f stat time
nlp INFO 3pk 30 9 1.7e-02 4.0e-05 10 11 gtol 0.053
nlp INFO allinit 3 7 1.7e+01 1.1e-09 8 9 gtol 0.011
nlp INFO bearing.par1 2500 12 -1.5e-01 8.5e-09 13 14 gtol 1.976
nlp INFO bearing.par2 3750 12 -1.5e-01 9.1e-09 13 14 gtol 3.420
nlp INFO bearing.par3 5000 15 -1.6e-01 9.9e-09 16 17 gtol 6.866
nlp INFO bqp1var 1 1 0.0e+00 0.0e+00 2 3 gtol 0.000
nlp INFO bqpgabim 46 2 -3.8e-05 2.3e-09 3 4 gtol 0.008
nlp INFO bqpgasim 50 2 -5.5e-05 3.3e-09 3 4 gtol 0.009
nlp INFO camel6 2 4 -1.0e+00 3.3e-07 5 6 gtol 0.007
nlp INFO name nvar iter f ‖P∇f‖ #f #∇f stat time
nlp INFO allinitu 4 6 5.7e+00 5.6e-07 9 8 gtol 0.011
nlp INFO arglina 100 2 1.0e+02 4.0e-14 3 4 gtol 0.005
nlp INFO arglinb 10 1 1.5e-04 2.0e-15 2 3 gtol 0.001
nlp INFO arglinc 8 1 3.7e-04 1.3e-14 2 3 gtol 0.001
nlp INFO arwhead 5000 5 -3.3e-12 2.9e-07 6 7 gtol 0.090
nlp INFO bard 3 7 8.2e-03 3.6e-07 8 9 gtol 0.011
nlp INFO bdqrtic 1000 7 1.3e+00 4.5e-05 8 9 gtol 0.084
nlp INFO beale 2 7 1.8e-11 9.2e-06 9 9 gtol 0.011
nlp INFO biggs6 6 22 1.4e-06 7.3e-04 26 24 fatol 0.044