Extensor v1.14.0 Extensor.Matrex
Optional Matrex integration
Link to this section Summary
Link to this section Functions
Link to this function
from_tensor(tensor)
from_tensor(tensor)
from_tensor(tensor :: Extensor.Tensor.t()) :: Matrex.t()
from_tensor(tensor :: Extensor.Tensor.t()) :: Matrex.t()
Convert from an Tensor struct to a Matrex matrix
Currently, this only works for two dimensional tensors and the type must be
:float.
Link to this function
to_tensor(matrex)
to_tensor(matrex)
to_tensor(matrix :: Matrex.t()) :: Extensor.Tensor.t()
to_tensor(matrix :: Matrex.t()) :: Extensor.Tensor.t()
Convert a Matrex matrix to a tensor struct