Skip to content

Commit

Permalink
Add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jan 30, 2024
1 parent 86ca566 commit 1aaa2d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ ak.Array(

All of the keyword arguments and rules that apply to `vector.obj` construction apply to `vector.awk` field names.

Finally, the `VectorAwkward` mixins can be subclassed to create custom vector classes. The awkward behavior classes and projections must be named as `*Array`. For example, `coffea` uses the following names - `TwoVectorArray`, `ThreeVectorArray`, `PolarTwoVectorArray`, `SphericalThreeVectorArray`, ...

## Vector properties

Any geometrical coordinate can be computed from vectors in any coordinate system; they'll be provided or computed as needed.
Expand Down
4 changes: 3 additions & 1 deletion docs/usage/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,9 @@
"id": "beginning-expert",
"metadata": {},
"source": [
"All of the keyword arguments and rules that apply to `vector.obj` construction apply to `vector.Array` field names."
"All of the keyword arguments and rules that apply to `vector.obj` construction apply to `vector.Array` field names.\n",
"\n",
"Finally, the `VectorAwkward` mixins can be subclassed to create custom vector classes. The awkward behavior classes and projections must be named as `*Array`. For example, `coffea` uses the following names - `TwoVectorArray`, `ThreeVectorArray`, `PolarTwoVectorArray`, `SphericalThreeVectorArray`, ..."
]
},
{
Expand Down

0 comments on commit 1aaa2d1

Please sign in to comment.