Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@davidscn
Copy link
Member

Follow-up to #166

@davidscn davidscn requested a review from uekerman May 10, 2022 14:28
@boris-martin
Copy link
Contributor

"There are three main variants of mapping" should become four I think.

Comment on lines 61 to 66
When using the `rowsFirst` parameter, the following format is required:

```cpp
( v0x_dx, v0y_dx, v1x_dx, v1y_dx, ... , vnx_dx, vny_dx,
v0x_dy, v0y_dy, v1x_dy, v1y_dy, ... , vnx_dy, vny_dy )
```
Copy link
Member Author

Choose a reason for hiding this comment

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

This goes beyond the documentation part, but considering that the 'gradient matrix' is a Jacobian, I think the rowFirst argument should be a column first, as the Jacobian contains the derivative in a particular direction in a column, right?

Copy link
Member

Choose a reason for hiding this comment

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

Jacobian contains the derivative in a particular direction in a column, right?

image

yes.
But here, we have a 3D tensor, right? So "rowFirst" or "columnFirst" will never tell the full story, right?

@boris-martin boris-martin self-requested a review May 11, 2022 16:02
Copy link
Member

@uekerman uekerman left a comment

Choose a reason for hiding this comment

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

Good to go except minor tweaks.

"There are three main variants of mapping" should become four I think.

yes 👍

Comment on lines 61 to 66
When using the `rowsFirst` parameter, the following format is required:

```cpp
( v0x_dx, v0y_dx, v1x_dx, v1y_dx, ... , vnx_dx, vny_dx,
v0x_dy, v0y_dy, v1x_dy, v1y_dy, ... , vnx_dy, vny_dy )
```
Copy link
Member

Choose a reason for hiding this comment

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

Jacobian contains the derivative in a particular direction in a column, right?

image

yes.
But here, we have a 3D tensor, right? So "rowFirst" or "columnFirst" will never tell the full story, right?

@davidscn
Copy link
Member Author

This is now ready to merge once #169 will be merged.

@davidscn davidscn merged commit 32a9aa8 into master Jun 24, 2022
@davidscn davidscn deleted the nng-docs branch June 24, 2022 15:26
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.

4 participants