Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Conversation

pkj-m
Copy link
Contributor

@pkj-m pkj-m commented Jun 28, 2019

Added bool kwarg partition_by_rows which decides whether the partitioning of the matrix is done on the basis of rows or columns. Default value is false.
The color vector returned will be used for reverse-mode AD.

ref #24

pkj-m added 4 commits June 28, 2019 05:50
Added bool variabele argument `partition_by_rows` which controls
whether the partitioning of matrix to graph is done on the basis
of orthogonal columns or rows. Default value is false.
```

The first argument is the abstract matrix which represents the sparsity pattern
of the Jacobian. The second argument is the optional choice of coloring algorithm.
It will default to a greedy distance 1 coloring, though if your special matrix
type has more information, like is a `Tridiagonal` or `BlockBandedMatrix`, the
color vector will be analytically calculated instead.
color vector will be analytically calculated instead. The variable argument
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
color vector will be analytically calculated instead. The variable argument
color vector will be analytically calculated instead. The keyword argument

@ChrisRackauckas ChrisRackauckas merged commit 507177a into JuliaDiff:master Jun 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants