Skip to content

Commit

Permalink
Update astensor.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Jan 3, 2024
1 parent 0237a49 commit aac7e06
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/api/functions/astensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ grand_parent: API Reference

Converts a `Tensor2s` or `Tensor4s` data type to a full tensor storage `Tensor2` or `Tensor4`.

$$
\begin{align}
\boldsymbol{C} = \begin{bmatrix}
C_{11} & C_{22} & C_{33} & C_{12} & C_{23} & C_{13}
\end{bmatrix}^T \longrightarrow
Expand All @@ -19,8 +19,9 @@ $$
C_{12} & C_{22} & C_{23} \\
C_{13} & C_{23} & C_{33}
\end{bmatrix}
$$
\end{align}

\begin{align}
\mathbb{A} = \begin{bmatrix}
A_{1111} & A_{1122} & A_{1133} & A_{1112} & A_{1123} & A_{1113} \\
A_{2211} & A_{2222} & A_{2233} & A_{2212} & A_{2223} & A_{2213} \\
Expand All @@ -38,7 +39,8 @@ $$
A_{3111} & A_{3112} & A_{3113} &
A_{3121} & A_{3122} & A_{3123} &
A_{3131} & A_{3132} & A_{3133}
\end{bmatrix} \qquad
\end{bmatrix}
\end{align}

Alias:
- `tensorstore(T)`
Expand Down

0 comments on commit aac7e06

Please sign in to comment.