ascl_id stringclasses 752
values | repo_url stringclasses 737
values | file_path stringlengths 4 194 | content large_stringlengths 1 1M | language stringclasses 29
values | license_type stringclasses 24
values | size int64 1 1M |
|---|---|---|---|---|---|---|
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/tracked.jl | #########
# Types #
#########
const NULL_INDEX = typemin(Int)
const NULL_TAPE = InstructionTape()
# TrackedReal #
#-------------#
#=
A `TrackedReal` stores a value and a reference back to the original `TrackedArray` which
provided the value.
When performing a forward pass through a previously-recorded `InstructionT... | Julia | MIT | 19,490 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/tape.jl | #######################
# AbstractInstruction #
#######################
abstract type AbstractInstruction end
const InstructionTape = Vector{AbstractInstruction}
function record!(tp::InstructionTape, ::Type{InstructionType}, args...) where InstructionType
tp !== NULL_TAPE && push!(tp, InstructionType(args...))
... | Julia | MIT | 3,840 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/macros.jl | #=
works for the following formats:
- `@forward(f)(args...)`
- `@forward f(args...) = ...`
- `@forward f = (args...) -> ...`
=#
function annotate_func_expr(typesym, _module_, expr)
if isa(expr, Expr) && (expr.head == :(=) || expr.head == :function)
lhs = expr.args[1]
if isa(lhs, Expr) && (lhs.head =... | Julia | MIT | 16,017 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/broadcast.jl | ##################
## Broadcasting ##
##################
using Base.Broadcast: BroadcastStyle, ArrayStyle, Broadcasted, broadcasted
using ForwardDiff: ForwardDiff, Dual
import Base.Broadcast: materialize
const RDBroadcasted{F, T} = Broadcasted{<:Any, <:Any, F, T}
"""
NotTracked(f::Function)
A struct that can be ... | Julia | MIT | 12,172 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/elementwise.jl | ###############################
# SkipOptimized map/broadcast #
###############################
# dispatch #
#----------#
for g in (:map, :broadcast), f in SKIPPED_UNARY_SCALAR_FUNCS
@eval @inline Base.$(g)(f::typeof($f), t::TrackedArray) = $(g)(SkipOptimize(f), t)
end
for g in (:map, :broadcast), f in SKIPPED_B... | Julia | MIT | 28,993 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/propagation.jl |
#=
The code here is mainly deals with propagating derivative information between input and
output values. Usually, this means incrementing/decrementing the input's derivative(s) by an
amount scaled by the output's derivative(s). Sometimes, extra partial information (in the
form of normal scalars/arrays, or `Dual` numb... | Julia | MIT | 7,519 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/scalars.jl | ###################
# ForwardOptimize #
###################
for (M, f, arity) in DiffRules.diffrules(; filter_modules=nothing)
if !(isdefined(@__MODULE__, M) && isdefined(getfield(@__MODULE__, M), f))
@warn "$M.$f is not available and hence rule for it can not be defined"
continue # Skip rules for... | Julia | MIT | 4,097 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/arrays.jl | ##########
## fill ##
##########
function Base.fill(
value::TrackedReal,
dims::Vararg{Union{Integer, AbstractUnitRange}},
)
return track(fill, value, dims...)
end
@grad function fill(v::Real, dims...)
return fill(value(v), dims...), function(Δ)
size(Δ) ≢ dims && error("Dimension mismatch")
... | Julia | MIT | 4,160 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/linalg/arithmetic.jl | ################
# addition (+) #
################
# in-place version (necessary for nested differentiation to work)
function plus!(out, x, y)
for i in eachindex(out)
out[i] = x[i] + y[i]
end
return out
end
@inline plus!(out::TrackedArray, x::TrackedArray, y::TrackedArray) = record_plus!(out, x, ... | Julia | MIT | 13,489 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/linalg/special.jl | ########
# copy #
########
for (T, f) in [(:Adjoint, :adjoint), (:Transpose, :transpose)]
_f = Symbol(:_copy, f)
@eval begin
Base.copy(A::$T{<:TrackedReal, <:TrackedVecOrMat}) = $_f(parent(A))
$_f(A) = copy($f(A))
$_f(A::TrackedVecOrMat) = track($_f, A)
@grad function $_f(A::Abs... | Julia | MIT | 2,313 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/derivatives/linalg/reductions.jl | #######
# sum #
#######
# basic sum #
#-----------#
function Base.sum(x::TrackedArray{V,D}) where {V,D}
tp = tape(x)
out = track(sum(value(x)), D, tp)
record!(tp, SpecialInstruction, sum, x, out)
return out
end
@noinline function special_reverse_exec!(instruction::SpecialInstruction{typeof(sum)})
... | Julia | MIT | 3,717 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/api/hessians.jl | ##################################################
# Hessian of `f(::AbstractArray)::AbstractArray` #
##################################################
# hessian #
#---------#
"""
ReverseDiff.hessian(f, input::AbstractArray, cfg::HessianConfig = HessianConfig(input))
Given `f(input::AbstractArray{<:Real})::Real... | Julia | MIT | 4,225 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/api/Config.jl | ##################
# AbstractConfig #
##################
abstract type AbstractConfig end
Base.show(io::IO, cfg::AbstractConfig) = print(io, typeof(cfg).name)
##################
# GradientConfig #
##################
struct GradientConfig{I} <: AbstractConfig
input::I
tape::InstructionTape
# disable defa... | Julia | MIT | 7,050 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/api/jacobians.jl | ######################################################
# Jacobian of `f(::AbstractArray...)::AbstractArray` #
######################################################
"""
ReverseDiff.jacobian(f, input, cfg::JacobianConfig = JacobianConfig(input))
If `input` is an `AbstractArray`, assume `f` has the form
`f(::Abstra... | Julia | MIT | 7,115 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/api/gradients.jl | #############################################
# Gradient of `f(::AbstractArray...)::Real` #
#############################################
"""
ReverseDiff.gradient(f, input, cfg::GradientConfig = GradientConfig(input))
If `input` is an `AbstractArray`, assume `f` has the form `f(::AbstractArray{<:Real})::Real`
and... | Julia | MIT | 3,276 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/api/utils.jl | #######################
# seeded reverse pass #
#######################
# derivative (input is an scalar, output is an array/scalar) #
#------------------------------------------------------------#
function seeded_reverse_pass!(result::AbstractArray, output::AbstractArray, input::TrackedReal, tape)
result_vector ... | Julia | MIT | 4,451 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | src/api/tape.jl | ################
# AbstractTape #
################
abstract type AbstractTape end
Base.show(io::IO, t::AbstractTape) = print(io, typeof(t).name, "(", t.func, ")")
# Define a few different T<:AbstractTape types. All these types share the same structure,
# but feature different constructors and dispatch restrictions i... | Julia | MIT | 10,498 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/utils.jl | using ReverseDiff: InstructionTape, GradientConfig, JacobianConfig, HessianConfig,
value, deriv, tape, valtype,
derivtype, track, track!
using Random
const COMPILED_TAPE_LIMIT = 5000
# These functions would require special arguments (e.g., integers)
const SKIPPED_BINARY_SCALAR_T... | Julia | MIT | 1,302 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/MacrosTests.jl | module MacrosTests
using ReverseDiff, ForwardDiff, Test, StaticArrays
using ForwardDiff: Dual, Partials, partials
include(joinpath(dirname(@__FILE__), "utils.jl"))
tp = InstructionTape()
x, a, b = rand(3)
############
# @forward #
############
f0(x) = 1. / (1. + exp(-x))
f0(a, b) = sqrt(a^2 + b^2)
ReverseDiff.@fo... | Julia | MIT | 9,925 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/TapeTests.jl | module TapeTests
using ReverseDiff, Test
using ReverseDiff: SpecialInstruction, ScalarInstruction, NULL_TAPE
include(joinpath(dirname(@__FILE__), "utils.jl"))
for Instr in (SpecialInstruction, ScalarInstruction)
x, y, k = rand(3), rand(2, 1), rand()
z = rand()
c = rand(1)
instr = Instr(+, (x, y, k), ... | Julia | MIT | 1,120 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/TrackedTests.jl | module TrackedTests
using ReverseDiff, Test
using ReverseDiff: TrackedReal, TrackedArray
import ForwardDiff
import IrrationalConstants: log2π
include(joinpath(dirname(@__FILE__), "utils.jl"))
samefields(a, b) = a === b
function samefields(a::TrackedReal, b::TrackedReal)
same_origin = false
if isdefined(a, ... | Julia | MIT | 26,526 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/runtests.jl | using Test
const TESTDIR = dirname(@__FILE__)
test_println(kind, f, pad=" ") = println(pad, "testing $(kind): `$(f)`...")
@testset "ReverseDiff" begin
@testset "TapeTests" begin
println("running TapeTests...")
t = @elapsed include(joinpath(TESTDIR, "TapeTests.jl"))
println("done (took $... | Julia | MIT | 2,799 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/ChainRulesTests.jl | module ChainRulesTest
using LinearAlgebra
using ChainRulesCore
using DiffResults
using ReverseDiff
using Test
struct MyStruct end
f(::MyStruct, x) = sum(4x .+ 1)
f(x, y::MyStruct) = sum(4x .+ 1)
f(x) = sum(4x .+ 1)
function ChainRulesCore.rrule(::typeof(f), x)
r = f(x)
function back(d)
#=
The... | Julia | MIT | 7,010 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/derivatives/ElementwiseTests.jl | module ElementwiseTests
using ReverseDiff
using DiffRules
using DiffTests
using ForwardDiff
using LogExpFunctions
using NaNMath
using SpecialFunctions
using Test
include(joinpath(dirname(@__FILE__), "../utils.jl"))
x, y = rand(3, 3), rand(3, 3)
a, b = rand(3), rand(3)
n = rand()
tp = InstructionTape()
offset = 0.0... | Julia | MIT | 11,352 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/derivatives/ArrayFunctionTests.jl | using ForwardDiff
using ReverseDiff: track, value, gradient, TrackedVector, TrackedMatrix, TrackedArray
using Test
@testset "fill" begin
v = fill(track(1), 3)
@test v isa TrackedArray
@test value(v) == fill(1, 3)
@test gradient(x -> sum(fill(x[1], 3)), rand(1)) == [3.0]
end
@testset "any & all" begin
... | Julia | MIT | 3,890 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/derivatives/ScalarTests.jl | module ScalarTests
using ReverseDiff
using DiffRules
using ForwardDiff
using LogExpFunctions
using NaNMath
using SpecialFunctions
using Test
include(joinpath(dirname(@__FILE__), "../utils.jl"))
x, a, b = rand(3)
tp = InstructionTape()
int_range = 1:10
function test_forward(f, x, tp::InstructionTape, fsym::Symbol)... | Julia | MIT | 4,139 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/derivatives/LinAlgTests.jl | module LinAlgTests
using ReverseDiff, ForwardDiff, Test, LinearAlgebra, Statistics
include(joinpath(dirname(@__FILE__), "../utils.jl"))
x, a, b = rand(3, 3), rand(3, 3), rand(3, 3)
tp = InstructionTape()
function test_arr2num(f, x, tp; ignore_tape_length = false)
xt = track(copy(x), tp)
y = f(x)
# reco... | Julia | MIT | 7,325 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/compat/CompatTests.jl | module CompatTests
using FillArrays, ReverseDiff, Test
@test ReverseDiff.gradient(fill(2.0, 3)) do x
sum(abs2.(x .- Zeros(3)))
end == fill(4.0, 3)
@test ReverseDiff.gradient(fill(2.0, 3)) do x
sum(abs2.(x .- (1:3)))
end == [2, 0, -2]
end | Julia | MIT | 245 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/api/HessianTests.jl | module HessianTests
using DiffTests, ForwardDiff, ReverseDiff, Test
include(joinpath(dirname(@__FILE__), "../utils.jl"))
# Circumvent type inference bug where an erroneous `Any` eltype derails the computation
# during tests, but not outside of the tests. This is really hacky, but I couldn't figure
# out enough of an... | Julia | MIT | 3,455 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/api/JacobianTests.jl | module JacobianTests
using DiffTests, ForwardDiff, ReverseDiff, Test
include(joinpath(dirname(@__FILE__), "../utils.jl"))
function test_unary_jacobian(f, x)
test_val = f(x)
test = ForwardDiff.jacobian!(DiffResults.JacobianResult(test_val, x), f, x, ForwardDiff.JacobianConfig(f, x))
# without JacobianCon... | Julia | MIT | 10,771 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/api/ConfigTests.jl | module ConfigTests
using ReverseDiff, Test
include(joinpath(dirname(@__FILE__), "../utils.jl"))
issimilar(x::Nothing, y::Nothing) = true
issimilar(x::AbstractArray, y::AbstractArray) = typeof(x) === typeof(y) && size(x) === size(y)
issimilar(x::GradientConfig, y::GradientConfig) = issimilar(x.input, y.input) && x.ta... | Julia | MIT | 2,655 |
[ascl:2411.010] | https://github.com/JuliaDiff/ReverseDiff.jl | test/api/GradientTests.jl | module GradientTests
using DiffTests, ForwardDiff, ReverseDiff, Test, LinearAlgebra
include(joinpath(dirname(@__FILE__), "../utils.jl"))
function test_unary_gradient(f, x)
test = ForwardDiff.gradient!(DiffResults.GradientResult(x), f, x)
# without GradientConfig
test_approx(ReverseDiff.gradient(f, x), ... | Julia | MIT | 7,493 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | revolver.py | import argparse
import os
import sys
import time
import numpy as np
from python_tools.zobov import ZobovVoids
from python_tools.voxelvoids import VoxelVoids
from python_tools.galaxycat import GalaxyCatalogue
from python_tools.recon import Recon
from python_tools.fastmodules import survey_cuts_logical
# ==== Read in se... | Python | Unknown | 7,051 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | README.md | # REVOLVER
### REal-space VOid Locations from surVEy Reconstruction
Repository containing code to:
- reconstruct real space positions from redshift-space tracer data, by subtracting RSD through FFT-based
reconstruction (optional)
- apply a void-finding algorithm to create catalogue of voids in these tracers... | Markdown | Unknown | 6,150 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | __init__.py | __all__ = ["python_tools"]
| Python | Unknown | 27 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/COPYING.txt | Qhull, Copyright (c) 1993-2010
C.B. Barber
Arlington, MA
and
The National Science and Technology Research Center for
Computation and Visualization of... | Text | Unknown | 1,635 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/Announce.txt |
Qhull 2010.1 2010/01/14
http://www.qhull.org
git@gitorious.org:qhull/qhull.git
http://packages.debian.org/sid/libqhull5
http://www6.uniovi.es/ftp/pub/mirrors/geom.umn.edu/software/ghindex.html
http://www.geomview.org
http://www.geom.uiuc.edu
Qhull computes co... | Text | Unknown | 2,434 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/REGISTER.txt | Dear Qhull User
We would like to find out how you are using our software. Think of
Qhull as a new kind of shareware: you share your science and successes
with us, and we share our software and support with you.
If you use Qhull, please send us a note telling
us what you are doing with it.
We need to know:
(1) ... | Text | Unknown | 958 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/README.txt | Name
qhull, rbox 2010.1 2010/01/14
Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
Documentation:
html/index.htm
http://www.qhull.org/html
Available from:
<http://www.qhull.org>
<git@gitorious.org:qhull/qhull.git>
... | Text | Unknown | 17,595 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/CMakeLists.txt | project(qhull)
cmake_minimum_required(VERSION 2.4)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
add_subdirectory(src)
| Text | Unknown | 160 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/html/rbox.txt |
rbox(1) rbox(1)
NAME
rbox - generate point distributions for qhull
SYNOPSIS
Command "rbox" (w/o arguments) lists the options.
DESCRIPTION
rbox generates random or regular points according to the
options given, and outputs the point... | Text | Unknown | 5,139 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/html/qhull.txt |
qhull(1) qhull(1)
NAME
qhull - convex hull, Delaunay triangulation, Voronoi dia-
gram, halfspace intersection about a point, hull volume, facet area
SYNOPSIS
qhull- compute convex hulls and related structures
input (stdin): dimension... | Text | Unknown | 49,231 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/html/qhull-cpp.xml | <?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/road/road-faq/xsl/road-faq.xsl"?>
<rf:topic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.roadintranet.org/road-faq-1 /road/road-faq/xsl/road-faq.xsd"
xmlns:rf="http://schemas.roadintran... | XML | Unknown | 11,036 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/eg/q_test-ok.txt | echo === errors if 'user_eg' and 'user_eg2' not found ===
=== errors if user_eg and user_eg2 not found ===
echo === check user_eg ${d:-`date`} =====================
date
=== check user_eg Thu Jan 14 07:41:12 EST 2010 =====================
user_eg "QR1 p n Qt" "v p" Fp
This is the output from user_eg.c
It shows how qhu... | Text | Unknown | 360,320 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/eg/qhull-zip.sh | #!/bin/sh
#
# qhull-zip.sh version -- Make zip and tgz files for Qhull release
#
# wzzip from http://www.winzip.com/wzcline.htm
# can not use path with $zip_file
# odd error messages if can't locate directory
#
# $Id: //main/2005/road/road-bash/local/bin/qhull-zip.sh#18 $$Change: 1141 $
# $DateTime: 2010/01/03 12:... | Shell | Unknown | 7,945 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/eg/qhulltest-ok.txt | ********* Start testing of orgQhull::PointCoordinates_test *********
Config: Using QTest library 4.6.0, Qt 4.6.0
PASS : orgQhull::PointCoordinates_test::initTestCase()
PASS : orgQhull::PointCoordinates_test::t_construct()
PASS : orgQhull::PointCoordinates_test::t_convert()
INFO : Caught QH10063 Qhull error: can... | Text | Unknown | 34,980 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullHyperplane.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullHyperplane.h#13 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
**********************************************... | C/C++ Header | Unknown | 5,831 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullError.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullError.h#33 $$Change: 1139 $
** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
**
***************************************************... | C/C++ Header | Unknown | 2,171 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/UsingLibQhull.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/UsingLibQhull.cpp#8 $$Change: 1180 $
** $DateTime: 2010/01/12 21:45:49 $$Author: bbarber $
**
***********************************************... | C++ | Unknown | 11,738 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/Qhull.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/Qhull.h#38 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
********************************************************... | C/C++ Header | Unknown | 5,770 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullFacetSet.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullFacetSet.h#23 $$Change: 1172 $
** $DateTime: 2010/01/09 21:42:16 $$Author: bbarber $
**
************************************************... | C/C++ Header | Unknown | 3,564 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullStat.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullStat.h#11 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
****************************************************... | C/C++ Header | Unknown | 1,303 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/PointCoordinates.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/PointCoordinates.cpp#23 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
*******************************************... | C++ | Unknown | 8,106 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullPoint.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullPoint.cpp#29 $$Change: 1180 $
** $DateTime: 2010/01/12 21:45:49 $$Author: bbarber $
**
*************************************************... | C++ | Unknown | 4,959 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullRidge.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullRidge.cpp#18 $$Change: 1180 $
** $DateTime: 2010/01/12 21:45:49 $$Author: bbarber $
**
*************************************************... | C++ | Unknown | 2,704 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullHyperplane.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullHyperplane.cpp#11 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
********************************************... | C++ | Unknown | 4,367 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullFacetList.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullFacetList.h#25 $$Change: 1172 $
** $DateTime: 2010/01/09 21:42:16 $$Author: bbarber $
**
***********************************************... | C/C++ Header | Unknown | 4,053 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/UsingLibQhull.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/UsingLibQhull.h#6 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
*************************************************... | C/C++ Header | Unknown | 5,901 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/functionObjects.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/functionObjects.h#8 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
***********************************************... | C/C++ Header | Unknown | 1,519 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qt-qhull.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qt-qhull.cpp#1 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
****************************************************... | C++ | Unknown | 2,691 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullFacetList.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullFacetList.cpp#24 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
*********************************************... | C++ | Unknown | 4,281 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullPoint.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullPoint.h#34 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
***************************************************... | C/C++ Header | Unknown | 6,098 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/user_eg3.cpp | #//! user_eg3.cpp -- Invoke rbox and qhull from C++
#include "RboxPoints.h"
#include "QhullError.h"
#include "QhullQh.h"
#include "QhullFacet.h"
#include "QhullFacetList.h"
#include "QhullLinkedList.h"
#include "QhullVertex.h"
#include "Qhull.h"
#include <cstdio> /* for printf() of help message */
#include <ostream... | C++ | Unknown | 4,299 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullPoints.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullPoints.cpp#21 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
************************************************... | C++ | Unknown | 4,980 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullPoints.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullPoints.h#31 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
**************************************************... | C/C++ Header | Unknown | 15,943 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/PointCoordinates.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/PointCoordinates.h#16 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
*********************************************... | C/C++ Header | Unknown | 6,729 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/Coordinates.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/Coordinates.cpp#19 $$Change: 1150 $
** $DateTime: 2010/01/04 22:43:14 $$Author: bbarber $
**
************************************************... | C++ | Unknown | 3,765 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullSets.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullSets.h#6 $$Change: 1139 $
** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
**
*****************************************************... | C/C++ Header | Unknown | 778 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullVertexSet.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullVertexSet.h#9 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
************************************************... | C/C++ Header | Unknown | 3,240 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullQh.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullQh.h#20 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
******************************************************... | C/C++ Header | Unknown | 1,309 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullLog.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullLog.h#12 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
*****************************************************... | C/C++ Header | Unknown | 2,932 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullPointSet.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullPointSet.cpp#11 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
**********************************************... | C++ | Unknown | 4,663 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullSet.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullSet.h#38 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
*****************************************************... | C/C++ Header | Unknown | 11,659 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullStat.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullStat.cpp#9 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
***************************************************... | C++ | Unknown | 876 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullFacet.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullFacet.cpp#37 $$Change: 1184 $
** $DateTime: 2010/01/13 22:44:48 $$Author: bbarber $
**
*************************************************... | C++ | Unknown | 15,290 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullEvent.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullEvent.h#9 $$Change: 1139 $
** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
**
****************************************************... | C/C++ Header | Unknown | 1,928 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullLinkedList.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullLinkedList.h#33 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
**********************************************... | C/C++ Header | Unknown | 11,825 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullVertexSet.cpp | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullVertexSet.cpp#8 $$Change: 1139 $
** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
**
**********************************************... | C++ | Unknown | 3,281 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullPointSet.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullPointSet.h#20 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
************************************************... | C/C++ Header | Unknown | 12,475 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullVertex.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullVertex.cpp#25 $$Change: 1180 $
** $DateTime: 2010/01/12 21:45:49 $$Author: bbarber $
**
************************************************... | C++ | Unknown | 2,497 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullVertex.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullVertex.h#26 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
**************************************************... | C/C++ Header | Unknown | 3,441 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullFacet.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullFacet.h#37 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
***************************************************... | C/C++ Header | Unknown | 6,351 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/Coordinates.h | /****************************************************************************
**
** Copyright (C) 2009-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/Coordinates.h#35 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
**************************************************... | C/C++ Header | Unknown | 15,506 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullFacetSet.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullFacetSet.cpp#20 $$Change: 1176 $
** $DateTime: 2010/01/11 19:40:05 $$Author: bbarber $
**
**********************************************... | C++ | Unknown | 3,629 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullEvent.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
**
****************************************************************************/
#//! QhullEvent -- A recorded event in a circular buffer
#include "QhullEvent.h"
#ifdef _MSC_V... | C++ | Unknown | 421 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullIterator.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullIterator.h#19 $$Change: 1139 $
** $DateTime: 2010/01/03 11:20:29 $$Author: bbarber $
**
************************************************... | C/C++ Header | Unknown | 7,877 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhull_interface.cpp | /*<html><pre> -<a href="qh-user.htm"
>-------------------------------</a><a name="TOP">-</a>
*/
#include <iostream.h>
#include <conio.h>
//--- Include qhull, so it works from with in a C++ source file
//---
//--- In MVC one cannot just do:
//---
//--- extern "C"
//--- {
//--- ... | C++ | Unknown | 3,529 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/RboxPoints.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/RboxPoints.cpp#34 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
*************************************************... | C++ | Unknown | 5,779 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullQh.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullQh.cpp#26 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
****************************************************... | C++ | Unknown | 3,372 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullLog.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullLog.cpp#11 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
***************************************************... | C++ | Unknown | 3,736 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullRidge.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullRidge.h#24 $$Change: 1167 $
** $DateTime: 2010/01/08 19:03:17 $$Author: bbarber $
**
***************************************************... | C/C++ Header | Unknown | 3,862 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullSet.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/QhullSet.cpp#20 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
***************************************************... | C++ | Unknown | 1,244 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/RboxPoints.h | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/RboxPoints.h#28 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
***************************************************... | C/C++ Header | Unknown | 2,104 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/Qhull.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/Qhull.cpp#44 $$Change: 1180 $
** $DateTime: 2010/01/12 21:45:49 $$Author: bbarber $
**
******************************************************... | C++ | Unknown | 14,218 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/QhullError.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
**
****************************************************************************/
#//! QhullError -- All exceptions thrown by Qhull are QhullErrors
#include "QhullError.h"
#inc... | C++ | Unknown | 683 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/RboxPoints_test.cpp | /****************************************************************************
**
** Copyright (C) 2006-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/RboxPoints_test.cpp#20 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
**********************************... | C++ | Unknown | 6,068 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullVertex_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullVertex_test.cpp#12 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
*********************************... | C++ | Unknown | 4,266 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullFacet_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacet_test.cpp#32 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
**********************************... | C++ | Unknown | 8,471 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullFacetSet_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullFacetSet_test.cpp#15 $$Change: 1179 $
** $DateTime: 2010/01/12 19:53:15 $$Author: bbarber $
**
*******************************... | C++ | Unknown | 4,026 |
[ascl:1907.023] | https://github.com/seshnadathur/Revolver | qhull/cpp/qhulltest/QhullVertexSet_test.cpp | /****************************************************************************
**
** Copyright (C) 2008-2010 C.B. Barber. All rights reserved.
** $Id: //product/qhull/main/rel/cpp/qhulltest/QhullVertexSet_test.cpp#4 $$Change: 1164 $
** $DateTime: 2010/01/07 21:52:00 $$Author: bbarber $
**
*******************************... | C++ | Unknown | 4,784 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.