Skip to content

Commit

Permalink
update org
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jan 4, 2020
1 parent 5e882e7 commit c7ae55d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2019 JuliaDiffEq
Copyright (c) 2019 JuliaDiff

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SparseDiffTools.jl

[![Join the chat at https://gitter.im/JuliaDiffEq/Lobby](https://badges.gitter.im/JuliaDiffEq/Lobby.svg)](https://gitter.im/JuliaDiffEq/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/JuliaDiffEq/SparseDiffTools.jl.svg?branch=master)](https://travis-ci.org/JuliaDiffEq/SparseDiffTools.jl)
[![GitlabCI](https://gitlab.com/juliadiffeq/SparseDiffTools-jl/badges/master/pipeline.svg)](https://gitlab.com/juliadiffeq/SparseDiffTools-jl/pipelines)
[![Join the chat at https://gitter.im/JuliaDiff/Lobby](https://badges.gitter.im/JuliaDiff/Lobby.svg)](https://gitter.im/JuliaDiff/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/JuliaDiff/SparseDiffTools.jl.svg?branch=master)](https://travis-ci.org/JuliaDiff/SparseDiffTools.jl)
[![GitlabCI](https://gitlab.com/JuliaDiff/SparseDiffTools-jl/badges/master/pipeline.svg)](https://gitlab.com/JuliaDiff/SparseDiffTools-jl/pipelines)

This package is for exploiting sparsity in Jacobians and Hessians to accelerate
computations. Matrix-free Jacobian-vector product and Hessian-vector product
Expand Down Expand Up @@ -145,8 +145,8 @@ DiffEqDiffTools.jl and for automatic differentiation is provided by
ForwardDiff.jl.

For DiffEqDiffTools.jl, one simply has to use the provided `colorvec` keyword
argument. See
[the DiffEqDiffTools Jacobian documentation](https://github.com/JuliaDiffEq/DiffEqDiffTools.jl#jacobians)
argument. See
[the DiffEqDiffTools Jacobian documentation](https://github.com/JuliaDiff/DiffEqDiffTools.jl#jacobians)
for more details.

For forward-mode automatic differentiation, use of a colorvec vector is provided
Expand All @@ -163,7 +163,7 @@ forwarddiff_color_jacobian!(J::AbstractMatrix{<:Number},

Notice that if a sparsity pattern is not supplied then the built Jacobian will
be the compressed Jacobian: `sparsity` must be a sparse matrix or a structured matrix
(`Tridiagonal`, `Banded`, etc. conforming to the ArrayInterface.jl specs) with the
(`Tridiagonal`, `Banded`, etc. conforming to the ArrayInterface.jl specs) with the
appropriate sparsity pattern to allow for decompression.

This call will allocate the cache variables each time. To avoid allocating the
Expand Down
2 changes: 1 addition & 1 deletion test/test_ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ _Jt = similar(Tridiagonal(J))
forwarddiff_color_jacobian!(_Jt, f, x, colorvec = repeat(1:3,10), sparsity = _Jt)
@test _Jt J

#https://github.com/JuliaDiffEq/DiffEqDiffTools.jl/issues/67#issuecomment-516871956
#https://github.com/JuliaDiff/DiffEqDiffTools.jl/issues/67#issuecomment-516871956
function f(out, x)
x = reshape(x, 100, 100)
out = reshape(out, 100, 100)
Expand Down

0 comments on commit c7ae55d

Please sign in to comment.