Skip to content

Partition matrix by rows #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 28, 2019
Merged

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants