package
0.0.0-20240510204454-f88f4562727c
Repository: https://github.com/pdevine/tensor.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
MatrixB converts a *Dense into a [][]bool If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixC128 converts a *Dense into a [][]complex128 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixC64 converts a *Dense into a [][]complex64 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixF32 converts a *Dense into a [][]float32 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixF64 converts a *Dense into a [][]float64 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixI converts a *Dense into a [][]int If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixI16 converts a *Dense into a [][]int16 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixI32 converts a *Dense into a [][]int32 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixI64 converts a *Dense into a [][]int64 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixI8 converts a *Dense into a [][]int8 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixStr converts a *Dense into a [][]string If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixU converts a *Dense into a [][]uint If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixU16 converts a *Dense into a [][]uint16 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixU32 converts a *Dense into a [][]uint32 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixU64 converts a *Dense into a [][]uint64 If the *Dense does not represent a matrix of the wanted type, it will return an error.
MatrixU8 converts a *Dense into a [][]uint8 If the *Dense does not represent a matrix of the wanted type, it will return an error.
SelectB creates a slice of flat data types.
SelectC128 creates a slice of flat data types.
SelectC64 creates a slice of flat data types.
SelectF32 creates a slice of flat data types.
SelectF64 creates a slice of flat data types.
SelectI creates a slice of flat data types.
SelectI16 creates a slice of flat data types.
SelectI32 creates a slice of flat data types.
SelectI64 creates a slice of flat data types.
SelectI8 creates a slice of flat data types.
SelectStr creates a slice of flat data types.
SelectU creates a slice of flat data types.
SelectU16 creates a slice of flat data types.
SelectU32 creates a slice of flat data types.
SelectU64 creates a slice of flat data types.
SelectU8 creates a slice of flat data types.
No description provided by the author
Tensor3B converts a *Dense into a [][][]bool.
Tensor3C128 converts a *Dense into a [][][]complex128.
Tensor3C64 converts a *Dense into a [][][]complex64.
Tensor3F32 converts a *Dense into a [][][]float32.
Tensor3F64 converts a *Dense into a [][][]float64.
Tensor3I converts a *Dense into a [][][]int.
Tensor3I16 converts a *Dense into a [][][]int16.
Tensor3I32 converts a *Dense into a [][][]int32.
Tensor3I64 converts a *Dense into a [][][]int64.
Tensor3I8 converts a *Dense into a [][][]int8.
Tensor3Str converts a *Dense into a [][][]string.
Tensor3U converts a *Dense into a [][][]uint.
Tensor3U16 converts a *Dense into a [][][]uint16.
Tensor3U32 converts a *Dense into a [][][]uint32.
Tensor3U64 converts a *Dense into a [][][]uint64.
Tensor3U8 converts a *Dense into a [][][]uint8.
No description provided by the author
VectorB converts a *Dense into a []bool If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorC128 converts a *Dense into a []complex128 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorC64 converts a *Dense into a []complex64 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorF32 converts a *Dense into a []float32 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorF64 converts a *Dense into a []float64 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorI converts a *Dense into a []int If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorI16 converts a *Dense into a []int16 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorI32 converts a *Dense into a []int32 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorI64 converts a *Dense into a []int64 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorI8 converts a *Dense into a []int8 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorStr converts a *Dense into a []string If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorU converts a *Dense into a []uint If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorU16 converts a *Dense into a []uint16 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorU32 converts a *Dense into a []uint32 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorU64 converts a *Dense into a []uint64 If the *Dense does not represent a vector of the wanted type, it will return an error.
VectorU8 converts a *Dense into a []uint8 If the *Dense does not represent a vector of the wanted type, it will return an error.